/* p-document
---------------------------------------------------------------------------- */
.p-document {
  padding-block: 8rem 10rem;
}

.p-document-layout > :nth-child(1) {
  margin-bottom: 5rem;
}
.p-document-layout > :nth-child(2) {
  margin-bottom: 7rem;
}

.p-document-table {
  width: 100%;
}

.p-document-table-row {
  display: grid;
  grid-template-columns: 21.6rem repeat(4, 1fr);
}
.p-document-table-row:first-of-type {
  border-bottom: 1px solid #BEBEBE;
}
.p-document-table-row._securities-report .p-document-table-header02, .p-document-table-row._financial-summary .p-document-table-header02 {
  background-color: #E9F6FF;
}
.p-document-table-row:is(:nth-of-type(2), :nth-of-type(5), :nth-of-type(6), :nth-of-type(7)) .p-document-table-header02 {
  border-bottom: 2px solid #BEBEBE;
}
.p-document-table-row:is(:nth-of-type(2), :nth-of-type(5), :nth-of-type(6), :nth-of-type(7)) .p-document-table-data {
  border-bottom: 2px solid #BEBEBE;
}
.p-document-table-row:is(:nth-of-type(3), :nth-of-type(4)) .p-document-table-header02 {
  border-bottom: 1px dashed #BEBEBE;
}
.p-document-table-row:is(:nth-of-type(3), :nth-of-type(4)) .p-document-table-data {
  border-bottom: 1px dashed #BEBEBE;
}

.p-document-table-header01 {
  font-size: 1.8rem;
  line-height: 1.6111111111;
  font-weight: 700;
  color: #fff;
  padding-block: 1.9rem;
  background-color: #073190;
  border-left: 1px solid;
}
.p-document-table-header01:first-of-type {
  border-left: none;
}

.p-document-table-header02 {
  font-size: 1.8rem;
  line-height: 1.6111111111;
  font-weight: 700;
  color: #073190;
  padding-block: 2.3rem;
  padding-inline: 3rem;
  text-align: left;
  background-color: #CCEAFF;
  border-left: 1px solid #BEBEBE;
}

.p-document-table-data {
  font-size: 1.6rem;
  line-height: 1.8125;
  font-weight: 400;
  text-align: left;
  border-left: 1px solid #BEBEBE;
  padding-block: 2.3rem;
  padding-inline: 3rem;
}
.p-document-table-data:last-of-type {
  border-right: 1px solid #BEBEBE;
}
.p-document-table-data._center {
  text-align: center;
}
.p-document-table-data a {
  color: inherit;
}
.p-document-table-data a[href$=".pdf"] {
  position: relative;
}
.p-document-table-data a[href$=".pdf"]::before {
  position: absolute;
  top: 50%;
  right: -1rem;
  translate: 100% -50%;
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  mask-image: url(/assets/images/en/common/icn_pdf03.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: #073190;
}
.p-document-table-data a[data-type=video] {
  position: relative;
}
.p-document-table-data a[data-type=video]::before {
  position: absolute;
  top: -0.5rem;
  left: 0;
  translate: -50% 50%;
  content: "";
  width: 3.5rem;
  aspect-ratio: 35/20;
  mask-image: url(/assets/images/en/ir/icn_movie.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: #073190;
}
@media (any-hover: hover) {
  .p-document-table-data a:hover {
    text-decoration: none;
  }
}

.p-document-page-btn-link-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.4rem;
}

@media screen and (max-width: 767px) {
  .p-document {
    padding-block: 13.3333333333vw;
  }
  .p-document-layout > :nth-child(1) {
    margin-bottom: 10.9333333333vw;
  }
  .p-document-layout > :nth-child(2) {
    margin-bottom: 13.3333333333vw;
  }
  .p-document-table-wrap {
    overflow: scroll;
  }
  .p-document-table-row {
    grid-template-columns: 33.3333333333vw repeat(4, 50.6666666667vw);
  }
  .p-document-table-row:is(:nth-of-type(2), :nth-of-type(5), :nth-of-type(6), :nth-of-type(7)) .p-document-table-header02 {
    border-bottom: 1px solid #BEBEBE;
  }
  .p-document-table-row:is(:nth-of-type(2), :nth-of-type(5), :nth-of-type(6), :nth-of-type(7)) .p-document-table-data {
    border-bottom: 1px solid #BEBEBE;
  }
  .p-document-table-header01 {
    font-size: 4.2666666667vw;
    padding-block: 5.3333333333vw;
  }
  .p-document-table-header01._sticky {
    position: sticky;
    top: 0;
    left: 0;
  }
  .p-document-table-header02 {
    font-size: 4.2666666667vw;
    padding-block: 5.3333333333vw;
    padding-inline: 5.3333333333vw;
  }
  .p-document-table-header02._sticky {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .p-document-table-header02._sticky::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .p-document-table-data {
    font-size: 4.2666666667vw;
    padding-block: 5.3333333333vw;
    padding-inline: 5.3333333333vw;
    align-content: center;
  }
  .p-document-table-data a[href$=".pdf"]::before {
    right: -2.6666666667vw;
    translate: 100% -50%;
    width: 5.3333333333vw;
  }
  .p-document-table-data a[data-type=video]::before {
    position: absolute;
    top: -5.3333333333vw;
    width: 9.3333333333vw;
  }
  .p-document-page-btn-link-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 4vw;
  }
}
