/* p-news-details
---------------------------------------------------------------------------- */
.p-news-details {
  padding-bottom: 12rem;
  position: relative;
}

.p-news-details::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-color: #EFF8FF;
}

.p-news-details-container {
  padding-block: 6rem;
  padding-inline: 12rem;
  background-color: #fff;
}

.p-news-details-content h1 {
  font-size: 2.6rem;
  line-height: 1.6923076923;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding-bottom: 0.7rem;
  border-bottom: 0.2rem solid #D6D6D6;
  margin-bottom: 1.5rem;
}

.p-news-details-content h2 {
  font-size: 2.2rem;
  line-height: 1.4318181818;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.p-news-details-content small {
  display: block;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #9D9D9D;
  text-align: right;
}

.p-news-details-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-block: 4.7rem;
}

.p-news-details-content em {
  font-weight: 700;
  color: #00659F;
  background-image: linear-gradient(to bottom, transparent 60%, #DDEEFF 60%);
  background-repeat: no-repeat;
}

.p-news-details-content strong {
  font-weight: 700;
}

.p-news-details-content a {
  color: #00659F;
  text-decoration: underline;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.p-news-details-content a:hover {
  text-decoration: none;
}

.p-news-details-content a::after {
  display: inline-block;
  width: 2rem;
  aspect-ratio: 1;
  margin-left: 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: sub;
}

.p-news-details-content a[target=_blank]::after {
  content: "";
  background-image: url(/medical/assets/images/common/icn_blank.svg);
  margin-right: 0.8rem;
}

.p-news-details-content a[href$=".pdf"]::after {
  content: "";
  background-image: url(/medical/assets/images/common/icn_pdf.svg);
  margin-right: 0.8rem;
}

.p-news-details-content img {
  display: block;
  width: 100%;
  max-width: 50rem;
  height: auto;
  margin-inline: auto;
  margin-block: 5rem;
}

.p-news-details-content table {
  width: 100%;
  margin-block: 3rem;
}

.p-news-details-content table th {
  background: #00659F;
  color: #fff;
  padding-block: 1.5rem;
  padding-inline: 1.5rem;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.p-news-details-content table td {
  background: #fff;
  padding-block: 1.4rem;
  padding-inline: 1.5rem;
  border: 1px solid #D1D1D1;
  border-top: none;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 400;
  vertical-align: middle;
}

.p-news-details-button {
  width: 28rem;
  margin-inline: auto;
  margin-top: 6rem;
}

@media screen and (max-width: 767px) {
  .p-news-details {
    padding-bottom: 21.3333333333vw;
  }
  .p-news-details::after {
    height: calc(100% + 14.6666666667vw);
  }
  .p-news-details-container {
    padding-block: 8vw;
    padding-inline: 5.3333333333vw;
  }
  .p-news-details-content h1 {
    font-size: 5.3333333333vw;
    line-height: 1.5;
    padding-bottom: 2.6666666667vw;
    border-width: 0.5333333333vw;
    margin-bottom: 4vw;
  }
  .p-news-details-content h2 {
    font-size: 4.8vw;
    margin-bottom: 4vw;
  }
  .p-news-details-content small {
    font-size: 4vw;
  }
  .p-news-details-content p {
    font-size: 4.2666666667vw;
    margin-block: 7.2vw;
  }
  .p-news-details-content a {
    font-size: 4.2666666667vw;
  }
  .p-news-details-content a::after {
    width: 4.8vw;
    margin-left: 2.1333333333vw;
  }
  .p-news-details-content img {
    max-width: 100%;
    margin-block: 8vw;
  }
  .p-news-details-content table {
    margin-block: 8vw;
    border-top: 1px solid #D1D1D1;
  }
  .p-news-details-content table tbody {
    display: flex;
    flex-direction: column;
  }
  .p-news-details-content table tr {
    display: contents;
  }
  .p-news-details-content table th,
  .p-news-details-content table td {
    display: block;
    width: 100% !important;
  }
  .p-news-details-content table th {
    padding-block: 4.2666666667vw;
    padding-inline: 4vw;
    font-size: 4vw;
    border-color: #00659F;
  }
  .p-news-details-content table td {
    padding-block: 3.9333333333vw;
    padding-inline: 4vw;
    font-size: 4vw;
    line-height: 1.5;
  }
  .p-news-details-content table tr:first-child th:nth-child(1),
  .p-news-details-content table tr:first-child td:nth-child(1) {
    order: 0;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(1) {
    order: 1;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(1) {
    order: 2;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(1) {
    order: 3;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(1) {
    order: 4;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(1) {
    order: 5;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(1) {
    order: 6;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(1) {
    order: 7;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(1) {
    order: 8;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(1) {
    order: 9;
  }
  .p-news-details-content table tr:first-child th:nth-child(2),
  .p-news-details-content table tr:first-child td:nth-child(2) {
    order: 10;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(2) {
    order: 11;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(2) {
    order: 12;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(2) {
    order: 13;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(2) {
    order: 14;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(2) {
    order: 15;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(2) {
    order: 16;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(2) {
    order: 17;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(2) {
    order: 18;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(2) {
    order: 19;
  }
  .p-news-details-content table tr:first-child th:nth-child(3),
  .p-news-details-content table tr:first-child td:nth-child(3) {
    order: 20;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(3) {
    order: 21;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(3) {
    order: 22;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(3) {
    order: 23;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(3) {
    order: 24;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(3) {
    order: 25;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(3) {
    order: 26;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(3) {
    order: 27;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(3) {
    order: 28;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(3) {
    order: 29;
  }
  .p-news-details-content table tr:first-child th:nth-child(4),
  .p-news-details-content table tr:first-child td:nth-child(4) {
    order: 30;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(4) {
    order: 31;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(4) {
    order: 32;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(4) {
    order: 33;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(4) {
    order: 34;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(4) {
    order: 35;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(4) {
    order: 36;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(4) {
    order: 37;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(4) {
    order: 38;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(4) {
    order: 39;
  }
  .p-news-details-content table tr:first-child th:nth-child(5),
  .p-news-details-content table tr:first-child td:nth-child(5) {
    order: 40;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(5) {
    order: 41;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(5) {
    order: 42;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(5) {
    order: 43;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(5) {
    order: 44;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(5) {
    order: 45;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(5) {
    order: 46;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(5) {
    order: 47;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(5) {
    order: 48;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(5) {
    order: 49;
  }
  .p-news-details-content table tr:first-child th:nth-child(6),
  .p-news-details-content table tr:first-child td:nth-child(6) {
    order: 50;
  }
  .p-news-details-content table tr:nth-child(2) td:nth-child(6) {
    order: 51;
  }
  .p-news-details-content table tr:nth-child(3) td:nth-child(6) {
    order: 52;
  }
  .p-news-details-content table tr:nth-child(4) td:nth-child(6) {
    order: 53;
  }
  .p-news-details-content table tr:nth-child(5) td:nth-child(6) {
    order: 54;
  }
  .p-news-details-content table tr:nth-child(6) td:nth-child(6) {
    order: 55;
  }
  .p-news-details-content table tr:nth-child(7) td:nth-child(6) {
    order: 56;
  }
  .p-news-details-content table tr:nth-child(8) td:nth-child(6) {
    order: 57;
  }
  .p-news-details-content table tr:nth-child(9) td:nth-child(6) {
    order: 58;
  }
  .p-news-details-content table tr:nth-child(10) td:nth-child(6) {
    order: 59;
  }
  .p-news-details-button {
    width: 78.6666666667vw;
    margin-top: 10.6666666667vw;
  }
}
