@charset "utf-8";

/* renal-biopsy.css
 * Kidney - v1.0.0
 * Created : 2025-5-15
 * 腎生検について
 * **************************************************
 * List
 * Table
 * Chart
 * Etc
 * 
 * 更新履歴：
 * **************************************************
 */

/* List
------------------------------------------------------------------ */
/* Purpose */
#subpage .investigation {
  display: flex;
  column-gap: 20px;
  margin-bottom: 20px;
}
#subpage .investigation li {
  padding: 8px 15px 8px 10px;
  width: 40%;
  background-color: #f7f2e7;
  font-weight: 700;
}
@media screen and (max-width: 1120px) {
  #subpage .investigation li {
    padding: 8px 8px 8px 10px;
    width: 50%;
  }
}
#subpage .investigation li span {
  display: inline-block;
  margin-right: 10px;
  height: 30px;
  width: 30px;
  background: #fff;
  border-radius:50%;
  font-size: 87.5%;
  text-align: center;
  line-height: 2;
}

/* Table
------------------------------------------------------------------ */
/* Practice */
#subpage .practice-flow {
  padding: 20px 20px 8px 10px;
  background-color: #f7f2e7;
  border-radius: 6px;
}
#subpage .practice-flow tr {
  position: relative;
  background-color: #fff;
}
#subpage .practice-flow table {
  width: 100%;
}
#subpage .practice-flow th {
  padding: 4px 5px;
  width: 100px;
  background-color: #f7f2e7;
  font-size: var(--font-size-subpage-th);
  font-weight: 700;
  text-align: center;
}
#subpage .practice-flow th span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 5px;
  width: calc(100% - 10px);
  background-color: #ff9900;
  border-radius:50px;
  color: #fff;
  text-align: center;
}
#subpage .practice-flow th,
#subpage .practice-flow td {
  border-bottom: 13px solid #f7f2e7;
}
#subpage .practice-flow td {
  padding: 4px 8px;
  font-size: var(--font-size-subpage-td);
  line-height: 1.8;
}
#subpage .practice-flow td:nth-of-type(1) {
  width: 5.5em;
  white-space: nowrap;
}
#subpage .practice-flow td:nth-of-type(2) {
  width: 110px;
  border-right: 2px solid #f7f2e7;
}

/* Costs */
#subpage #costs table {
  margin-top: 1.5rem;
}
#subpage #costs td {
  text-align: center;
}
/* Complications */
#subpage #comp table {
  margin-bottom: 1.5rem;
  width: 80%;
}
#subpage #comp th {
  width: 60%;
}
#subpage #comp th,
#subpage #comp td {
  text-align: center;
}

/* Chart
------------------------------------------------------------------ */
#subpage .chart__outer {
  margin-bottom: 20px;
  padding: 30px 25px 15px 20px;
  border: 1px solid var(--color-sub-elem);
}

/* Etc
------------------------------------------------------------------ */
#subpage #comp .ask {
  display: block;
  text-indent: 0.4rem;
}

@media screen and (max-width: 980px) {
  /* List
  ------------------------------------------------------------------ */
  /* Purpose */
  #subpage .investigation {
    display: block;
    column-gap: normal;
    margin-bottom: 20px;
  }
  #subpage .investigation li {
    padding: 8px 8px 8px 10px;
    width: 100%;
  }
  #subpage .investigation li + li {
    margin-top: 5px;
  }

  /* Table
  ------------------------------------------------------------------ */
  /* Practice */
  #subpage .practice-flow {
    padding: 15px 15px 8px 15px;
    border-radius: 6px;
  }
  #subpage .practice-flow th {
    display: block;
    padding: 0 0;
    width: auto;
    font-size: var(--font-size-subpage-th);
  }
  #subpage .practice-flow th span {
    margin: 0;
    padding: 2px 0;
    width: 100%;
    border-radius: 4px 4px 0 0;
  }
  #subpage .practice-flow tr:nth-of-type(2) span,
  #subpage .practice-flow tr:nth-of-type(3) span {
    margin-top: 15px;
  }
  #subpage .practice-flow th,
  #subpage .practice-flow td {
    border-bottom: none;
  }
  #subpage .practice-flow td {
    padding: 10px 15px 10px 15px;
    border-bottom: 5px solid #f7f2e7;
    font-size: var(--font-size-subpage-td);
  }
  #subpage .practice-flow td:nth-of-type(1) {
    display: inline-block;
    width: 40%;
    white-space: nowrap;
  }
  #subpage .practice-flow td:nth-of-type(2) {
    display: inline-block;
    width: 60%;
    border-right: none;
  }
  #subpage .practice-flow td:nth-of-type(3) {
    display: block;
    width: 100%;
    padding: 10px 15px 15px 15px;
  }
  #subpage .practice-flow td:empty {
    padding: 0 0;
  }

  /* Complications */
  #subpage #comp table {
    width: 100%;
  }

  /* Chart
  ------------------------------------------------------------------ */
  #subpage .chart__outer {
    margin-bottom: 20px;
    padding: 10px 10px 4px 4px;

  }
}