@charset "UTF-8";
@import url("root.css");
/*-----*ブレイクポイントルール*-----*/
/* スマートフォン：max-width:767px */
/* タブレット：min-width:768px */
/* PC：min-width:1025px */
/***************************************
---------------- SHOP ----------------
***************************************/
body { font-size: min(4.2vw,18px);}
@media (max-width: 767px) {
  body { font-size: min(4.2vw,16px);}
  p,li,dt,dd,h1,h2,h3,h4 {
    margin-block: calc((1em - 1lh) / 2);
    line-height:1.7;
  }
}

span.red {
  font-size: inherit;
  font-weight: inherit;
  color: #c42121;
}
.page_wrap {
  padding: 0;
}
.page_wrap section + section {
  margin-top: 0;
}
section {
  padding: min(calc(100 / 1920 * 100vw * 4.5 / 3), 100px) 0;
}
section[class^="sec"] h3 {
  color: #000;
  font-size: clamp(1.5em, 6.3vw, 2em);
}
.bg_gray {
  background: var(--base-color02);
}
.attention {
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  margin: .5em auto;
}

.container > *:last-child {
  padding-bottom: 0!important;
  margin-bottom: 0!important;
}

.col-6 figure,
.works_img {
  width: min(100%, 480px)!important;
  margin-right: auto;
  margin-left: auto;
}


/***********************************************************************
ONAYAMI
***********************************************************************/
.sec_onayami {
  padding-top: clamp(30px, 7.5vw, 75px);
  background: var(--base-color01);
  padding-bottom: clamp(25px, 4.5vw, 45px);
}
.sec_onayami h3 {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: bold;
  color: #fff!important;
  text-align: center;
  margin-bottom: .5em;
  span {
    font-size: 1.333em;
  }
}

.onayami_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px min(2%,20px);
  justify-content: center;
}

.onayami_list li {
  width: calc((100% - min(2%,20px)) / 2 );
  background: #fff;
  padding: 1em;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: bold;
  display: flex;
}
.onayami_list li:nth-of-type(5) {
  width: fit-content;
}
.onayami_list li::before {
  content: "";
  display: block;
  height: .85em;
  background: url(../img/check_sky.svg) no-repeat center center / contain;
  aspect-ratio: 200/175;
  margin-right: .25em;
  margin-top: .75em;
}
@media (max-width: 767px) {
  .onayami_list li::before {
    margin-top: .4em;
  }
}
@media (max-width: 599px) {
  .onayami_list li,
  .onayami_list li:nth-of-type(5) {
    width: 100%;
  }
}

.sec_onayami_under {
  width: 100%;
  height: 85%;
  margin: 0 auto;
}
.sec_onayami_under::after {
  content: "";
  display: block;
  margin: auto;
  width: min(100%, 1400px);
  max-height: 175px;
  aspect-ratio: 1400/175;
  background: url(../img/concerns01.png) no-repeat bottom center / cover;
  translate: 0 -15%;
}

/***********************************************************************
FEATURE
***********************************************************************/
.feature_list {
  counter-reset: number 0;
}
@media (min-width: 768px) {
  .feature_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.feature_list .icon {
  max-width: 50%;
  margin: 0 auto;
}
.feature_list .col-4 {
  border: solid 1px var(--text-color);
  padding: 2%;
  position: relative;
}
@media (min-width: 768px) {
  .feature_list .col-4 {
    width: calc((100% - 40px) / 3);
  }
}
@media (max-width: 767px) {
  .feature_list.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
  }
  .feature_list .col-4 {
    width: calc((100% - 20px) / 2);
    padding: 5%;
  }
}
@media (max-width: 599px) {
  .feature_list .col-4 {
    width: 100%;
  }
}

.feature_list .col-4:before {
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: number 1;
  content: counter(number) " ";
  font-size: 1.5em;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--base-color01);
}



/***********************************************************************
P.O.M
***********************************************************************/
.sec_pom {
  
}
.sec_pom h3 {
  span { color:var(--base-color01); }
}

.circle_list {
  display: flex;
  gap: 20px min(2%,20px);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.circle_list .circle_item {
  aspect-ratio: 1/1;
  background: var(--base-color02);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.875em;
  position: relative;
}
.circle_list .circle_item:after {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border-radius: 50%;
  border: solid 2px var(--base-color01);
}

.circle_list4 .circle_item { width: calc((100% - min(2%,20px)) / 3 );}
.circle_list3 .circle_item { width: calc((100% - min(4%,40px)) / 3 );}

.bg_gray .circle_list .circle_item {
  background: #fff;
}

.circle_list h4 {
  text-align: center;
  color: var(--base-color01);
  font-weight: bold;
  font-size: clamp(1.25em, 2.5vw, 1.3em);
  letter-spacing: 0;
  margin: 0 auto;
  border-bottom: solid 2px var(--base-color01);
  padding-bottom: 0.4em;
  margin-bottom: 0.4em;
  line-height: 1.25;
}
.circle_list .circle_item p {
  max-width: 100%;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .circle_list4 .circle_item,
  .circle_list3 .circle_item {
    width: 48%;
  }
}
@media (max-width: 599px) {
  .circle_list4 .circle_item,
  .circle_list3 .circle_item {
    width: 100%;
  }
}

.circle_list ul li {
  display: flex;
  margin-left: .85em;
}
.circle_list ul li::before {
  content: "";
  display: block;
  height: .85em;
  aspect-ratio: 1 / 1;
  background: url(../img/check_bl.png) no-repeat center center / contain;
  margin-right: .5em;
  margin-top: .4em;
}

.circle_list .circle_item.jscnt {
  padding-top: 0;
}



/***********************************************************************
WORKS
***********************************************************************/

.works_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px min(4%,40px);
}
.works_wrap:nth-of-type(1) {
  margin-top: clamp(25px, 5vw, 50px);
}
.works_wrap:not(:last-of-type) {
  margin-bottom: clamp(25px, 5vw, 50px);
}

.works_txt,
.works_img {
  width: calc((100% - min(4%,40px)) / 2 );
}
.works_txt {
  h4 {
    width: 100%;
    font-size: clamp(20px, 3.2vw, 32px);
    font-weight: bold;
    position: relative;
    padding-bottom: .5em;
    margin: 0 auto .5em;
  }
  h4::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #8fbee1;
  }
  h4::after {
    content: "";
    display: block;
    position: absolute;
    width: 3em;
    height: 3px;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
    background: var(--base-color01);
  }
}
.works_img img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}
.works_wrap p {
  font-size: 1.1em;
  font-weight: bold;
}
.works_wrap ul li {
  font-size: 1.1em;
  display: flex;
}
.works_wrap ul li::before {
  content: "";
  display: block;
  height: .85em;
  aspect-ratio: 1/1;
  background: url(../img/check_bl.png) no-repeat center center / contain;
  margin-right: .5em;
  margin-top: .75em;
}

@media (max-width:767px) {
  .works_wrap ul li::before {
    margin-top: .4em;
  }
  .works_txt,
  .works_img {
    width: 100%;
  }
}


/***********************************************************************
VOICE
***********************************************************************/

.sec_voice .voice_list {
  display: flex;
  align-items: center;
  gap: 20px min(2%,20px);
  margin: min(2%,20px) auto min(4%,40px);
  dt {
    width: min(25%, 120px);
    flex-shrink: 0;
  }
  dd {
    flex-grow: 1;
    p.prof {
      color: #777;
      padding-bottom: .5em;
      border-bottom: dotted 1px #217fc4;
      margin-bottom: .5em;
    }
  }
}
.voice_list h4 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
}


/***********************************************************************
FEE
***********************************************************************/

.fee_list {
  width: 100%;
  margin: clamp(25px, 5vw, 50px) auto 1em;
  border: solid 1px var(--base-color01);
  dl.thead {
    display: flex;
    width: 100%;
    margin: 0;
    border: solid 1px var(--base-color01);
    dt {
      color: #fff;
      font-weight: bold;
      background: var(--base-color01);
    }
    dd {
      color: #fff;
      font-weight: bold;
      background: var(--base-color01);
    }
  }
}

.fee_list {
  dt {
    width: 75%;
    border-right: solid 1px #ddd;
    padding: .25em 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.25;
  }
  dd {
    width: 25%;
    padding: 1em ;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
  }
}
dl.tbody {
  display: flex;
  width: 100%;
  margin: 0;
  dt p {
    margin: 0;
  }
  dd.price {
    margin: 0;
    padding: 1em .25em;
    span {
      font-size: .75em;
    }
  }
}
dl.tbody:nth-of-type(odd) {
  background: #eee;
}

@media (max-width:767px) {
  .fee_list {
    dt {
      width: 60%;
    }
    dd {
      width: 40%;
    }
  }
}
.fee_list_ttl h4 {
  display: flex;
  align-items: center;
  font-size: clamp(18px, 2.4vw, 24px);
  margin-bottom: clamp(10px, 2vw, 20px);
}
.fee_list_ttl h4::before {
  content: "";
  display: block;
  width: 6px;
  height: 1.5em;
  margin-right: .5em;
  background: var(--base-color01);
}
.fee_list_ttl p {
  margin-bottom: clamp(10px, 2vw, 20px);
}
.standard .fee_list,
.premium .fee_list {
  margin: clamp(20px, 4vw, 40px) 0 0;
}
.fee_wrap.standard,
.fee_wrap.premium {
  padding: clamp(20px, 4vw, 40px);
  background: var(--base-color02);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.fee_wrap.standard .ttl_wrap,
.fee_wrap.premium .ttl_wrap {
  width: 100%;
  h4 {
    width: min(100%,480px);
    margin: auto;
    padding: .75em;
    text-align: center;
    background: var(--base-color01);
    border-radius: 50px;
    color: #fff;
  }
}

.fee_list.taxadvisor_fee {
  width: 48%;
  font-size: 16px;
  background: #fff;
  border: solid 1px var(--base-color01);
  h4 {
    font-size: clamp(1.25rem, min(3.778vw, 28.97556px), 24px);
    justify-content: center;
    margin: auto;
    padding: .25em 0;
    color: var(--base-color01);
  }
  h4::before {
    content: none;
  }
  dl {
    dt,dd { width: calc(100%/3);}
    dd:last-of-type {
      border-left: solid 1px #ddd;
    }
  }
}
.fee_list.taxadvisor_fee,
.fee_list.gift_fee {
  dd.price p { margin: 0;}
  dd.price p span { font-size: inherit;}
  dd.price p.tax { font-size: .75em;}
}
.fee_list.inheritance_fee {
  margin-top: 0;
  dt,dd {
    width: 50%;
    text-align: left;
    align-items: flex-start;
  }
  dd.price {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 1em;
  }
  dd.price p { margin: 0;}
  dd.price p span { font-size: inherit;}
  dd.price p.tax { font-size: .75em;}
}
.standard {
  margin: clamp(20px, 4vw, 40px) 0;
}

@media (max-width: 767px) {
  .fee_list.taxadvisor_fee {
    width: 100%;
  }
  .fee_list.inheritance_fee {
    dd.price {
      flex-direction: column;
    }
  }
}



/***********************************************************************
Flow
***********************************************************************/
.flow_wrap .flow_item {
  display: grid;
  grid-template-columns: 1fr 3fr;
}
@media (max-width: 767px) {
  .flow_wrap .flow_item {
    grid-template-columns: 0.8fr 3fr;
    gap: 1em;
  }
}
.flow_wrap .flow_item + .flow_item {
  margin-top: 2em;
}
.flow_wrap .flow_item:last-child .step_wrap:after {
  content: none;
}
.flow_wrap .img_wrap {
  order: 1;
}
.flow_wrap .step_wrap {
  order: 2;
  text-align: center;
  position: relative;
}
.flow_wrap .step_wrap:after {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  height: calc(100% - 6.25em + 2em);
  top: auto;
  bottom: -2em;
  right: 0;
  left: 0;
  margin: auto;
  background: var(--base-color01);
}
@media (max-width: 767px) {
  .flow_wrap .step_wrap:after {
    height: calc(100% - 5em + 2em);
  }
}
.flow_wrap .step_wrap .step_text {
  width: 6.25em;
  height: 6.25em;
  background: var(--base-color01);
  color: #fff;
  border-radius: 50%;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto;
  position: relative;
  line-height: 1.0;
}
.flow_wrap .step_wrap .step_text:before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border-radius: 50%;
  border: solid 1px var(--base-color02);
}
@media (max-width: 767px) {
  .flow_wrap .step_wrap .step_text {
    width: 5em;
    height: 5em;
  }
}
.flow_wrap .step_wrap .step_text .num {
  display: block;
  font-size: 2.1875em;
}
@media (max-width: 767px) {
  .flow_wrap .step_wrap .step_text .num {
    font-size: 1.75em;
  }
}
.flow_wrap .text_wrap {
  order: 3;
  background: var(--base-color02);
  padding: 5%;
  border-radius: 1em;
}
.bg_gray .flow_wrap .text_wrap {
  background: #fff;
}
.flow_wrap .text_wrap .h3 {
  font-size: 1.25em;
}




/***********************************************************************
FAQ
***********************************************************************/

.faq_list:not(:last-of-type) {
  margin-bottom: 20px;
}

.faq_list dt {
  width: 100%;
  border-radius: 4px;
  background: var(--base-color02);
  padding: .75em 1.25em;
  font-weight: bold;
  display: flex;

}
.faq_list dt::before {
  content: "Q";
  display: block;
  color: var(--base-color01);
  margin-right: 1em;
}
.faq_list dd {
  width: 100%;
  padding: .75em 1.25em;
  display: flex;

}

.faq_list dd::before {
  content: "A";
  display: block;
  color: #c42121;
  margin-right: 1em;
}

.bg_gray .faq_list dt {
  background: #fff;
}

/***********************************************************************
INHERITANCEページ用
***********************************************************************/
.description_wrap {
  display: flex;
  gap: 30px clamp(25px, 5vw, 50px);
}
.description_wrap .attention {
  text-align: left;
  width: min(calc((100%/3)*2), 680px);
  flex-shrink: 0;
}
.description_wrap .description_img {
  flex-grow: 1;
}

.description_bnr {
  width: min(100%, 750px);
  margin: clamp(25px, 5vw, 50px) auto;
}
.sec_declaration_limit .works_wrap {
  margin: clamp(50px, 10vw, 100px) auto;
}
.works_wrap .bg_gray {
  padding: 1.5em;
}


@media (max-width: 767px) {
  .description_wrap {
    flex-direction: column;
    .attention { 
      width: 100%;
      order: 2;
    }
    .description_img {
      width: 30%;
      order: 1;
      margin: auto;
    }
  }
}

/***********************************************************************
INHERITANCEページ用 ISSUES
***********************************************************************/
.issues_img {
  margin: clamp(25px, 5vw, 50px) auto;
}
.issues_flex {
  width: 100%;
  margin: clamp(25px, 5vw, 50px) auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px min(4%,40px);
  > div {
    width: calc((100% - min(4%,40px)) / 2 );
    h4 {
      width: 100%;
      font-size: clamp(20px, 3.2vw, 32px);
      font-weight: bold;
      position: relative;
      padding-bottom: .5em;
      margin: 0 auto .5em;
    }
    h4::before {
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      height: 3px;
      top: auto;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      background: #8fbee1;
    }
    h4::after {
      content: "";
      display: block;
      position: absolute;
      width: 3em;
      height: 3px;
      top: auto;
      bottom: 0;
      right: auto;
      left: 0;
      background: var(--base-color01);
    }
  }
}
.sec_payment_issues h3.h3 {
  color: #000;
}
.sec_payment_issues .strong_txt {
  font-weight: bold;
  font-size: clamp(21px, 4.2vw, 42px);
  text-align: center;
}


@media (max-width: 767px) {
  .issues_flex {
    > div { width:100%; }
  }
}


/***********************************************************************
sec_advisorEページ用
***********************************************************************/

.sec_advisor  {
  display: flex;
  padding: 0;
}
.sec_advisor .onayami_wrap {
  display: flex;
  align-items: center;
  gap: 30px clamp(25px, 5vw, 50px);
}
.sec_advisor .onayami_wrap .strong_txt {
  text-align: left;
  width: min(calc((100%/3)*2), 680px);
  flex-shrink: 0;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: bold;
  font-feature-settings: "palt";
}
.sec_advisor .onayami_wrap .description_img {
  flex-grow: 1;
}
