@charset "utf-8";


/* subheader
------------------------------*/
.p-subheader {
  padding: 95px 0 85px;
  background-color: rgba(255, 255, 255, 0.8);
}

@media all and (max-width: 576px) {
  .p-subheader {
    padding: 70px 25px 50px;
  }
}

.p-subheader__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  .p-subheader__inner {
    width: 100%;
  }
}

.p-subheader .p-subheader__inner .c-bread {
  width: 100%;
  padding: 0;
}

.p-subheader__heading {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #140078;
  margin: 0;
  order: 1;
}

@media all and (max-width: 576px) {
  .p-subheader__heading {
    font-size: 26px;
  }
}

.p-subheader__titleFrame {
  display: flex;
  flex-direction: column;
}

.p-subheader__label {
  order: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #140078;
  margin: 0 0 8px;
}



/* subcontent
------------------------------*/
.p-subcontent {
  padding: 80px 0 150px;
}

@media all and (max-width: 576px) {
  .p-subcontent {
    padding: 45px 25px 80px;
  }
}

.p-subcontent__header {
  width: min(966px, 96.6rem);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 50px;
}

@media all and (max-width: 576px) {
  .p-subcontent__header {
    width: 100%;
    padding-bottom: 30px;
    grid-template-columns: 50px 1fr;
  }
}

.p-subcontent__header.--sec {
  padding-top: 60px;
}

@media all and (max-width: 576px) {
  .p-subcontent__header.--sec {
    padding-top: 20px;
  }
}

.p-subcontent__icon {
  width: 60px;
  aspect-ratio: 1;
}

@media all and (max-width: 576px) {
  .p-subcontent__icon {
    width: 50px;
  }
}

.p-subcontent__heading {
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: .1em;
  font-weight: 600;
  margin: 0;
  padding-top: 4px;
}

@media all and (max-width: 576px) {
  .p-subcontent__heading {
    font-size: 20px;
    letter-spacing: -.01em;
  }
}


/* sec
------------------------------*/
.p-sec {
  width: 100%;
  margin-bottom: 60px;
}


.p-sec__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media all and (max-width: 576px) {
  .p-sec__inner {
    width: 100%;
    gap: 50px;
  }
}

.p-sec__heading {
  color: #140078;
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 15px;
  margin: 0 0 -35px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  position: relative;
}

@media all and (max-width: 576px) {
  .p-sec__heading {
    font-size: 22px;
    margin-bottom: -25px;
  }
}

.p-sec__heading::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ba9454;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-sec__heading::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background-color: #140078;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media all and (max-width: 576px) {
  .p-sec__heading::after {
    width: 50px;
  }
}

.p-secblock {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media all and (max-width: 576px) {
  .p-secblock {
    gap: 20px;
  }
}

.p-secblock__heading {
  color: #140078;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 -18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
}

@media all and (max-width: 576px) {
  .p-secblock__heading {
    font-size: 20px;
    margin-bottom: -15px;
  }
}

.p-secblock__heading::before {
  content: '';
  display: block;
  width: 40px;
  aspect-ratio: 40/3;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 120, 1) 0%,
    rgba(20, 0, 120, 1) 50%,
    rgba(186, 148, 84, 1) 50%,
    rgba(186, 148, 84, 1) 100%
  );
  margin-right: 16px;
  margin-top: 0.75em;
}

.p-secblock__txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-secblock__txt p {
  margin: 0;
  font-size: 16px;
}

.p-secblock__txt strong {
  font-weight: 600;
  font-size: 18px;
  display: block;
}

.p-secblock__img {
  width: 70%;
}

@media all and (max-width: 966px) {
  .p-secblock__img {
    width: 100%;
  }
}

@media all and (max-width: 576px) {
  .p-secblock__img {
    width: 100%;
  }
}

.p-secblock__figure {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.p-secblock__caption {
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}

@media all and (max-width: 576px) {
  .p-secblock__caption {
    font-size: 14px;
    line-height: 1.5;
  }
}

.p-secblock__caption.mb {
  margin-bottom: 40px;
}

@media all and (max-width: 576px) {
  .p-secblock__caption.mb {
    margin-bottom: 25px;
  }
}


/* relate
------------------------------*/
.p-relate {
  width: 100%;
  background-color: #fff;
  padding: 70px 0 100px;
}

@media all and (max-width: 576px) {
  .p-relate {
    padding: 60px 0;
  }
}

.p-relate__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  .p-relate__inner {
    width: 100%;
    padding: 0 25px;
  }
}

.p-relate__heading {
  color: #140078;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 64px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}
@media all and (max-width: 576px) {
  .p-relate__heading {
    margin: 0 0 44px;
  }
}

.p-relate__linkFrame {
  display: flex;
  justify-content: center;
}

@media all and (max-width: 576px) {
  .p-relate__linkFrame {
    flex-direction: column;
    align-items: center;
  }
}

.p-relate__link {
  display: block;
  width: 100%;
  height: 100%;
  padding: min(40px, 4rem) min(180px, 18rem) min(50px, 5rem) min(30px, 3rem);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

@media all and (max-width: 768px) {
  .p-relate__link {
    padding: 34px 120px 46px 20px;
  }
}

@media all and (max-width: 576px) {
  .p-relate__link {
    padding: 34px 120px 20px 20px;
  }
}

@media all and (max-width: 393px) {
  .p-relate__link {
    padding: min(34px, 3.4rem) min(120px, 12rem) min(26px, 2.6rem) min(20px, 2rem);
  }
}

.p-relate__link.--rm {
  background-color: #cfe4fa;
}

.p-relate__link.--inheritance {
  background-color: #f0dcd8;
}

.p-relate__link.--estate {
  background-color: #f0e0cc;
}

.p-relate__link.--pension {
  background-color: #d1e3d5;
}

.p-relate__link.--stockstrategy {
  background-color: #e2e1f7;
}

.p-relate__link.--structured {
  background-color: #dbd9bf;
}

.p-relate__link.--custody {
  background-color: #d1e7f0;
}

.p-relate__link::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat right center / cover;
  mix-blend-mode: multiply;
  z-index: -1;
}

.p-relate__link.--rm::before  {
  background-image: url(../images/work/worklist_multiply_rm_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--rm::before  {
    background-image: url(../images/work/worklist_multiply_rm.png);
  }
}

.p-relate__link.--inheritance::before  {
  background-image: url(../images/work/worklist_multiply_inheritance_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--inheritance::before  {
    background-image: url(../images/work/worklist_multiply_inheritance.png);
  }
}

.p-relate__link.--estate::before  {
  background-image: url(../images/work/worklist_multiply_estate_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--estate::before  {
    background-image: url(../images/work/worklist_multiply_estate.png);
  }
}

.p-relate__link.--pension::before  {
  background-image: url(../images/work/worklist_multiply_pension_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--pension::before  {
    background-image: url(../images/work/worklist_multiply_pension.png);
  }
}

.p-relate__link.--stockstrategy::before  {
  background-image: url(../images/work/worklist_multiply_stockstrategy_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--stockstrategy::before  {
    background-image: url(../images/work/worklist_multiply_stockstrategy.png);
  }
}

.p-relate__link.--structured::before  {
  background-image: url(../images/work/worklist_multiply_structured_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--structured::before  {
    background-image: url(../images/work/worklist_multiply_structured.png);
  }
}

.p-relate__link.--structured::before  {
  background-image: url(../images/work/worklist_multiply_structured_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--structured::before  {
    background-image: url(../images/work/worklist_multiply_structured.png);
  }
}

.p-relate__link.--custody::before  {
  background-image: url(../images/work/worklist_multiply_custody_bg.png);
}

@media all and (max-width: 576px) {
  .p-relate__link.--custody::before  {
    background-image: url(../images/work/worklist_multiply_custody.png);
  }
}

.p-relate__link::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 30px;
  width: 44px;
  aspect-ratio: 44/3;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 120, 1) 0%,
    rgba(20, 0, 120, 1) 50%,
    rgba(186, 148, 84, 1) 50%,
    rgba(186, 148, 84, 1) 100%
  );
}

.p-relate__linkHeading {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.3;
}

@media all and (max-width: 768px) {
  .p-relate__linkHeading {
    font-size: 16px;
    margin: 0 0 12px;
  }
}

.p-relate__linkLead {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 34px;
}

@media all and (max-width: 768px) {
  .p-relate__linkLead {
    margin-bottom: 10px;
  }
}

@media all and (max-width: 393px) {
  .p-relate__linkLead {
    font-size: min(14px, 1.4rem);
  }
}

.p-relate__linkBtn {
  width: 56px;
  aspect-ratio: 56/22;
  background-color: #fff;
  border-radius: 9999px;
  margin-top: auto;
  position: relative;
  transition: all 0.3s ease-out;
}

@media (hover: hover) {
  .p-relate__link:hover .p-relate__linkBtn,
  .p-relate__link:focus .p-relate__linkBtn {
    background-color: #140078;
  }
}

.p-relate__linkBtn::before {
  content: '';
  display: block;
  width: 16px;
  aspect-ratio: 15/9;
  mask-image: url(../images/common/ico_arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
  background-color: #140078;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: all 0.3s ease-out;
}

@media (hover: hover) {
  .p-relate__link:hover .p-relate__linkBtn::before,
  .p-relate__link:focus .p-relate__linkBtn::before {
    background-color: #fff;
  }
}

.p-relate__linkImg {
  position: absolute;
  bottom: 0;
  right: 20px;
  z-index: -1;
}

.p-relate__link.--rm .p-relate__linkImg img {
  width: min(240px, 27rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--rm .p-relate__linkImg img {
    width: max(190px, 22rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--rm .p-relate__linkImg img {
    width: min(180px, 18rem);
    translate: 24px 0;
  }
}

.p-relate__link.--inheritance .p-relate__linkImg img {
  width: min(215px, 24.5rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--inheritance .p-relate__linkImg img {
    width: max(175px, 20.5rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--inheritance .p-relate__linkImg img {
    width: min(160px, 16rem);
    translate: 20px 0;
  }
}

.p-relate__link.--estate .p-relate__linkImg img {
  width: min(220px, 25rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--estate .p-relate__linkImg img {
    width: max(195px, 22.5rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--estate .p-relate__linkImg img {
    width: min(160px, 16rem);
    translate: 20px 0;
  }
}

.p-relate__link.--pension .p-relate__linkImg img {
  width: min(210px, 24rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--pension .p-relate__linkImg img {
    width: max(190px, 22rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--pension .p-relate__linkImg img {
    width: min(155px, 15.5rem);
    translate: 25px 0;
  }
}

.p-relate__link.--stockstrategy .p-relate__linkImg img {
  width: min(230px, 26rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--stockstrategy .p-relate__linkImg img {
    width: max(210px, 24rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--stockstrategy .p-relate__linkImg img {
    width: min(165px, 16.5rem);
    translate: 20px 0;
  }
}

.p-relate__link.--structured .p-relate__linkImg img {
  width: min(220px, 25rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--structured .p-relate__linkImg img {
    width: max(175px, 19.5rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--structured .p-relate__linkImg img {
    width: min(170px, 17rem);
    translate: 40px 0;
  }
}

.p-relate__link.--custody .p-relate__linkImg img {
  width: min(220px, 25rem);
}
@media all and (max-width: 768px) {
  .p-relate__link.--custody .p-relate__linkImg img {
    width: max(175px, 19.5rem);
  }
}
@media all and (max-width: 576px) {
  .p-relate__link.--custody .p-relate__linkImg img {
    width: min(170px, 17rem);
    translate: 40px 0;
  }
}


/* others
------------------------------*/
.p-others {
  width: 100%;
  background-color: #fff;
  padding: 70px 0 100px;
  border-top: 1px solid #C7CDDE;
}

@media all and (max-width: 576px) {
  .p-others {
    padding: 60px 25px 80px;
  }
}

.p-others__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  .p-others__inner {
    width: 100%;
  }
}

.p-others__heading {
  color: #140078;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 64px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

@media all and (max-width: 576px) {
  .p-others__heading {
    margin: 0 0 36px;
  }
}

/* common display
------------------------------*/
@media all and (min-width: 769px) {
  .tab {
    display: none;
  }
}
