/* Page-specific additions for /residual/ (post 901). */
.postid-901 .residual-additions {
  background: #fff;
  color: #141414;
}

.postid-901 .residual-info-section {
  width: 100%;
  margin: 0;
  padding: 72px 20px;
  background: #fff;
}

.postid-901 .residual-info-inner {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  font-family: "ryo-gothic-plusn", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 200;
  line-height: 1.8;
}

.postid-901 .residual-info-section h2 {
  margin: 0 0 32px;
  color: #002362;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.postid-901 .residual-info-section h3 {
  margin: 18px 0 2px;
  color: #141414;
  font-family: "ryo-gothic-plusn", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.postid-901 .residual-info-section p {
  margin: 0 0 14px;
  color: #141414;
}

.postid-901 .residual-stress-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.postid-901 .residual-stress-types > div {
  display: flex;
  min-height: 86px;
  padding: 16px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  color: #002362;
  line-height: 1.45;
  text-align: center;
}

.postid-901 .residual-stress-types strong {
  font-size: 18px;
  font-weight: 500;
}

.postid-901 .residual-impact-tags {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.postid-901 .residual-impact-tags li {
  padding: 18px 8px;
  background: #f7f7f7;
  color: #002362;
  text-align: center;
}

.postid-901 .residual-impact-tags li::before {
  display: none;
}

.postid-901 .residual-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
}

.postid-901 .residual-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.postid-901 .residual-table-wrap th,
.postid-901 .residual-table-wrap td {
  padding: 12px 8px;
  border-bottom: 1px solid #8090ad;
  color: #002362;
  text-align: left;
}

.postid-901 .residual-table-wrap th {
  font-weight: 600;
}

.postid-901 .residual-principle-grid {
  display: grid;
  max-width: 1060px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}

.postid-901 .residual-principle figure {
  margin: 0;
}

.postid-901 .residual-principle img {
  display: block;
  width: 100%;
  height: auto;
}

.postid-901 .residual-principle h2 {
  text-align: left;
}

.postid-901 .residual-needs-list,
.postid-901 .residual-request-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.postid-901 .residual-needs-list li,
.postid-901 .residual-request-list li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 1em;
}

.postid-901 .residual-needs-list li::before,
.postid-901 .residual-request-list li::before {
  position: absolute;
  left: 0;
  content: "・";
  color: #838383;
}

.postid-901 details.residual-faq-item {
  margin-bottom: 0.5ex;
  overflow: hidden;
  border: 1px solid #e6e9ed;
  border-radius: 15px;
  background: #fff;
}

.postid-901 .residual-faq-item summary {
  position: relative;
  display: flex;
  padding: 10px 15px;
  align-items: center;
  background: #f5f7fa;
  cursor: pointer;
  list-style: none;
}

.postid-901 .residual-faq-item summary::-webkit-details-marker {
  display: none;
}

.postid-901 .residual-faq-q {
  margin-right: 12px;
  color: #2daffe;
  font-size: 20px;
  font-weight: bold;
  line-height: 25px;
}

.postid-901 .residual-faq-question {
  padding-right: 10%;
  color: #000;
  font-weight: bold;
}

.postid-901 .residual-faq-toggle {
  position: absolute;
  left: 90%;
  right: auto;
  margin-right: 10px;
  color: #5d6d7e;
  font-size: 25px;
  transition: transform 0.2s ease;
}

.postid-901 .residual-faq-item[open] .residual-faq-toggle {
  transform: rotate(45deg);
}

.postid-901 .residual-faq-item > div {
  padding: 10px 15px;
}

.postid-901 .residual-faq-item p {
  margin-bottom: 0 !important;
}

.postid-901 .residual-faq-a {
  margin-right: 12px;
  color: #ff8d8d;
  font-size: 20px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .postid-901 .residual-info-section {
    padding: 42px 5%;
  }

  .postid-901 .residual-info-inner {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }

  .postid-901 .residual-info-section h2 {
    margin-bottom: 24px;
    font-size: 23px;
    text-align: left;
  }

  .postid-901 .residual-stress-types {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .postid-901 .residual-impact-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .postid-901 .residual-impact-tags li:last-child {
    grid-column: 1 / -1;
  }

  .postid-901 .residual-principle-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .postid-901 .residual-principle h2 {
    text-align: left;
  }

  .postid-901 .residual-table-wrap table {
    min-width: 520px;
  }

  .postid-901 .residual-faq-question {
    padding-right: 42px;
  }

  .postid-901 .residual-faq-toggle {
    left: 90%;
    right: auto;
  }
}
