@charset "utf-8";

/* alt-therapy.css
 * ckd - v1.0.0
 * Created : 2025-5-15
 * 腎代替療法について
 * **************************************************
 * Heading
 * Table
 * 
 * 更新履歴：
 * **************************************************
 */

/* Heading
------------------------------------------------------------------ */
#subpage.alt-therapy .content h3 {
  font-size: var(--font-size-subpage-h3);
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
}
#subpage.alt-therapy section * + h3 {
  margin-top: 3.5rem;
}
/* ナンバリング */
#subpage.alt-therapy .num-hd h3 {
  position: relative;
  padding-left: 2.0rem;
}
#subpage.alt-therapy .num-hd {
  counter-reset: number-h3;
}
#subpage.alt-therapy .num-hd h3::before {
  counter-increment: number-h3;
  content: counter(number-h3);
  position: absolute;
  top: 7px;
  left: 0;
  width: 26px;
  height: 26px;
  background-color: #ff9900;
  border-radius: 50%;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 1.8;
}

/* Table
------------------------------------------------------------------ */
/* 透析医療での医療費補助について */
#subpage .common-tbl.med-exp {
  margin-top: 1.0rem;
  width: 90%;
}
@media screen and (max-width: 1380px) {
  #subpage .common-tbl.med-exp {
    width: 100%;
  }
}
#subpage .common-tbl.med-exp + P {
  margin-top: 1.0rem;
}
#subpage .common-tbl.med-exp tbody th {
  width: 15%;
  vertical-align: middle;
}

/* 血液透析・腹膜透析・腎移植の比較 */
/* Table Scroll */
#subpage.alt-therapy .content .common-tbl-scroll table {
  min-width: 830px;
}
#subpage.alt-therapy .comp {
  border-left: none;
}
#subpage.alt-therapy .comp tbody th {
  width: 5.0rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
#subpage.alt-therapy .comp tbody td {
  width: 23%;
  font-size: 0.75rem;
  letter-spacing: 0em;
}
#subpage.alt-therapy .comp tbody td.etc-comp {
  width: 32%;
}
#subpage.alt-therapy .comp thead th:first-child,
#subpage.alt-therapy .comp tbody th {
  position: sticky;
  top:0;
  left:0;
  border-left: none;
  border-right: none;
  background: none;
}
#subpage.alt-therapy .comp thead th:first-child::before,
#subpage.alt-therapy .comp tbody th::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border-left: 1px solid var(--color-sub-elem);
  border-right: 1px solid var(--color-sub-elem);
  z-index: -1;
  box-sizing: content-box;
}
#subpage.alt-therapy .comp thead th:first-child::before {
  background-color: #f1e5d5;
}
#subpage.alt-therapy .comp tbody th::before {
  background-color: #faf7f1;
}

/* 公的助成制度
------------------------------------------------------------------ */
#subpage.alt-therapy section .sub-sys {
  display: inline-block;
  margin-top: 5px;
  padding: 20px 30px 25px 30px;
  width: 40%;
  background-color: #faf7f1;
  border-radius: 6px;
}
#subpage.alt-therapy section .sub-sys ul {
  counter-reset: number-ss;
}
#subpage.alt-therapy section .sub-sys li {
  position: relative;
  padding-left: 1.8rem;
}
#subpage.alt-therapy section .sub-sys li + * {
  margin-top: 0.6rem;
}
#subpage.alt-therapy section .sub-sys li::before {
  counter-increment: number-ss;
  content: counter(number-ss);
  position: absolute;
  top: 5px;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #ff9900;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 1.7;
}

/* 手続きの流れ */
#subpage.alt-therapy .proc-flow {
  display: flex;
  column-gap: 20px;
  margin: 12px 5px 10px 5px;
  width: 85%;
}
#subpage.alt-therapy .proc-flow li {
  position: relative;
  padding: 10px 15px 12px 15px;
  border: 1px solid #ff9900;
  border-radius: 6px;
  width: calc(100% / 3 - 20px / 3);
}
#subpage.alt-therapy .proc-flow li::after {
  position: absolute;
  top: 35%;
  right: -30px;
  content: "";
  border: 12px solid transparent; 
  border-left-color: #ff9900;
}
#subpage.alt-therapy .proc-flow li:last-child:after {
  border: none; 
}

/* 最も適した腎代替療法を選択してください */
#subpage.alt-therapy .notice {
  margin: 20px 0 50px 0;
  padding: 15px 20px;
  padding: 12px 20px;
  border: 1px solid #ff8585;
  background-color: #fff2f2;
  border-radius: 6px;
  color: #ee7070;
}


@media screen and (max-width: 980px) {
  /* 公的助成制度
  ------------------------------------------------------------------ */
  #subpage.alt-therapy section .sub-sys {
    padding: 20px 15px 25px 18px;
    width: 100%;
  }
  #subpage.alt-therapy section .sub-sys li + * {
    margin-top: 0.6rem;
  }
  #subpage.alt-therapy section .sub-sys li::before {
    top: 6px;
    width: 20px;
    height: 20px;
  }

  /* 手続きの流れ */
  #subpage.alt-therapy .proc-flow {
    display: block;
    column-gap: normal;
    margin: 12px 5px 10px 5px;
    width: 100%;
  }
  #subpage.alt-therapy .proc-flow li {
    padding: 10px 12px 12px 12px;
    width: calc(100% - 12px);
  }
  #subpage.alt-therapy .proc-flow li + li {
    margin-top: 20px;
  }
  #subpage.alt-therapy .proc-flow li::after {
    top: auto;
    bottom: -30px;
    right: 50%;
    border: 12px solid transparent; 
    border-top-color: #e59835;
  }
  #subpage.alt-therapy .proc-flow li:last-child:after {
    border: none; 
  }





}