#rinsyo-qa p {
  margin: 0;
}
#rinsyo-qa .rinsyo-qa-txt-center {
  text-align: center;
}
#rinsyo-qa .rinsyo-qa-txt-left {
  text-align: left;
}
#rinsyo-qa .rinsyo-qa-txt-right {
  text-align: right;
  display: block;
}
.rinsyo-qa-txt-small {
  font-size: 14px;
}
#rinsyo-qa a:hover {
  text-decoration: none;
}
span.rinsyo-qa-inline {
  display: inline-block;
}
.rinsyo-qa-bold {
  color: #005bac;
}
#rinsyo-qa .rinsyo-qa-section p:has(+ ul) {
  margin-bottom: 0 !important;
}
.rinsyo-qa-section li {
  padding-left: 1rem;
  text-indent: -1rem;
  font-size: 14px;
}

/* ===== button ===== */
#rinsyo-qa button {
  background: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  padding: 0;
}
#rinsyo-qa button:hover {
  cursor: pointer;
}

/* ===== grid ===== */
#rinsyo-qa [class*="_grid"] {
  display: grid;
}
#rinsyo-qa [class*="_center"] {
  align-items: center;
}

/* ===== flex ===== */
#rinsyo-qa [class*="_flex"] {
  display: flex;
}

/* =========================
article 
========================= */

.rinsyo-qa-article {
  margin-top: 16px;
}
.rinsyo-qa-section {
  margin-bottom: 40px;
}
.rinsyo-qa-wrap {
  margin: 56px 0;
}
.rinsyo-qa-inner {
  width: calc(100% - 80px);
  margin: 0 auto;
}
.rinsyo-qa-inner ul li{
  font-size: 12px;
  text-align: right;
}
#rinsyo-qa [class*="_box"] {
  padding: 24px;
  border: 2px solid #005bac;
  border-radius: 8px;
  background: #e5eff7;
  margin: 8px auto;
}
#rinsyo-qa [class*="_middle"] {
  padding: 24px 80px;
  width: calc(100% - 160px);
}
#rinsyo-qa [class*="_middle"] .rinsyo-qa_box {
  padding: 24px 120px;
}
#rinsyo-qa .rinsyo-qa-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.rinsyo-qa-img .rinsyo-qa_grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.rinsyo-qa_box.rinsyo-qa-img img {
  max-width: 100%;
  margin-bottom: 4px;
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .rinsyo-qa-inner {
    width: 100%;
  }
  #rinsyo-qa [class*="_box"] {
    padding: 16px;
  }
  #rinsyo-qa [class*="_middle"] {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  #rinsyo-qa [class*="_middle"] .rinsyo-qa_box {
    padding: 16px;
  }
}

/* ===== main-title ===== */
.rinsyo-qa-main-title {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 0 0 80px;
  margin-bottom: 24px;
  border-bottom: 6px solid #80add6;
  box-sizing: border-box !important;
}
.rinsyo-qa-main-title:before,
.rinsyo-qa-main-title:after {
  background: #005bac;
  width: 100%;
  height: 6px;
  display: block;
  position: absolute;
  left: 0;
}
.rinsyo-qa-main-title:before {
  content: "";
  bottom: 0;
}
.rinsyo-qa-main-title:after {
  content: "";
  bottom: -12px;
}

.rinsyo-qa-main-title img {
  position: absolute;
  left: 0;
  top: calc(0% - 10px);
  width: 90px;
}
#mvp-sup #main .rinsyo-qa-main-title h2 {
  font-size: 24px;
  padding: 16px;
  margin: 0;
  background: none;
}
.rinsyo-qa-tags {
  background: #e6e6e6;
}
.rinsyo-qa-tags span {
  color: #fff;
  font-weight: bold;
  background: #26aae0;
  padding: 1px 6px;
  width: 100%;
  max-width: 120px;
  display: block;
  text-align: center;
}
.rinsyo-article-sup {
  text-align: right;
  display: block;
  margin-bottom: 16px;
}
.rinsyo-article-sup span {
  display: inline-block;
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .rinsyo-qa-main-title {
    padding: 0;
    border-bottom: 3px solid #80add6;
    display: grid;
    grid-template-areas:
    "icon tag"
    "icon title";
  }
  .rinsyo-qa-main-title:after {
    bottom: -6px;
  }
  .rinsyo-qa-main-title:before,
  .rinsyo-qa-main-title:after {
    height: 3px;
  }
  .rinsyo-qa-main-title img {
    width: 64px;
    grid-area: icon;
    top: calc(0% - 7px);
  }
  #mvp-sup #main .rinsyo-qa-main-title h2 {
    font-size: 20px;
    padding: 32px 8px 8px;
    grid-area: title;
  }
  .rinsyo-qa-tags {
    grid-area: tag;
    width: calc(100% - 56px);
    margin-left: auto;
}
}

/* ===== sub-title ===== */
.rinsyo-qa-sub-title {
  display: grid;
  grid-template-columns: 80px auto;
  gap: 16px;
}
.rinsyo-qa-sub-title img {
  width: 100%;
}
.rinsyo-qa-sub-title h3 {
  color: #005bac;
  padding: 16px 0;
  border-top: 1px solid #005bac;
  border-bottom: 1px solid #005bac;
  line-height: 1.2;
  font-size: 18px;
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .rinsyo-qa-sub-title {
    grid-template-columns: auto;
  }
  .rinsyo-qa-sub-title h3 {
    padding: 8px 0;
    font-size: 16px;
  }
  .rinsyo-qa-sub-title img {
    max-width: 56px;
  }
}

/* ===== h4 ===== */
.rinsyo-qa-section h4 {
  padding-left: 1.25rem;
  position: relative;
  color: #005bac;
  margin-bottom: 8px;
}
.rinsyo-qa-section h4:before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: #005bac;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(calc(-50% - 1px));
}

/* ===== table ===== */
.rinsyo-qa-wrap table {
  width: 100%;
  overflow-x: scroll;
}
.rinsyo-qa-wrap td,
.rinsyo-qa-wrap th {
  border: 1px solid;
  vertical-align: middle;
  font-size: 12px;
  padding: 8px;
}
.rinsyo-qa-wrap thead th:first-child,
.rinsyo-qa-wrap tbody th:first-child {
  border-left: none;
}
.rinsyo-qa-wrap thead th:last-child,
.rinsyo-qa-wrap tbody td:last-child {
  border-right: none;
}
.rinsyo-qa-wrap th {
  white-space: nowrap;
  text-align: center;
}
.rinsyo-qa-wrap td {
  background: #fff;
}
.rinsyo-qa-wrap thead th {
  background: #99bdde;
}
.rinsyo-qa-wrap tbody th {
  background: #ccdeee;
}
.rinsyo-qa-wrap .rinsyo-qa-dot {
  border-bottom: 1px dashed #000;
}
.rinsyo-qa-wrap .rinsyo-qa-not-bd {
  border-top: none;
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .rinsyo-qa-scroll {
    overflow: hidden;
    overflow-x: scroll;
  }
  .rinsyo-qa-wrap td:not(:last-child) {
    white-space: nowrap;
  }
}

/* ===== caption ===== */
.rinsyo-qa-caption {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rinsyo-qa-caption-right {
  display: flex;
  justify-content: end;
}
.rinsyo-qa-caption-right ul li{
  text-align: left;
  text-indent: 0;
  padding-left: 0;
}
.rinsyo-qa-caption span {
  color: #fff;
  background: #005bac;
  font-weight: bold;
  line-height: 1;
  padding: 4px;
}
#rinsyo-qa .rinsyo-qa-caption p {
  margin-bottom: 0;
}

/* ===== rinsyo-qa-literature ===== */
.rinsyo-qa-literature {
  line-height: 1.8;
}
.rinsyo-qa-literature p {
  font-weight: bold;
  display: block;
  width: 3rem;
  text-align-last: justify;
}
.rinsyo-qa-literature li {
  display: grid;
  grid-template-columns: 2rem auto;
}
.rinsyo-qa-literature li:nth-child(n+10) {
  grid-template-columns: 2.5rem auto;
}
.rinsyo-qa-literature a {
  word-break: break-all;
}
/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .rinsyo-qa-sp-none {
    display: none;
  }
}
