/* 関連法令 */
#laws h3{
  font-size: 20px;
  font-weight: 700;
  color: #FFF;
  background: #007CA4;
  padding: 14px 20px;
  width: 100%;
  margin: 2em 0 1em 0;
}
#laws h4{
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  background: #74B8CE;
  padding: 10px 20px;
  width: 100%;
  margin: 1.5em 0;
}
#laws h4.yellow{
  background: #FEC909;
}
#laws h5{
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #69AFC7;
  padding-bottom: 0.5em;
  margin: 2em 0 1em 0;
  line-height: 1.4;
}
#laws h6{
  font-size: 16px;
  font-weight: 700;
  margin-top: 1.5em;
  line-height: 1.4;
}
#laws p{
  line-height: 1.7;
  margin: 1em 0;
}
#laws ul,
#laws ol{
  margin: 1em 0 0.5em 0;
}
#laws ul > li,
#laws ol > li{
  margin:0.5em 0 0.5em 1.5em;
  line-height: 1.6;
}
#laws ul > li{
  list-style: disc;
}
#laws ol.kanji{
  margin-left: 0.5em;
}
#laws ol.kanji > li{
  list-style-type: cjk-ideographic;
}
#laws ol.maru {
  counter-reset: my-counter;
  list-style: none;
}
#laws ol.maru > li{
  position: relative;
  padding-left: 1.5em;
  margin-left: 0.5em;
}
#laws ol.maru > li::before{
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #FFF;
  border: 1px solid #404040;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 14px;
  width: 14px;
  color: #404040;
  font-size: 10px;
  line-height: 1;
  position: absolute;
  top: 5px;
  left: 0;
}
#laws ol.number > li{
  list-style: decimal;
  margin-left: 1.5em;
}
#laws ol.number > li.none{
  list-style-type: none;
  margin-left: 0.5em;
}
#laws ol.number_brankets > li{
  list-style-type: none;
	counter-increment: cnt;
  margin-left: 0.5em;
  text-indent: -1.5em;
  padding-left: 1em;

}
#laws ol.number_brankets > li::before {
	content: "(" counter(cnt) ") ";
}
#laws ol.iroha > li{
  list-style-type: katakana-iroha;
}

#laws dt{
  font-weight: 700;
  margin-bottom: 0.5em;
}
#laws dd{
  border-bottom: 1px solid #e4e4e4;
  padding: 0 0 1em 0;
  margin-bottom: 2em;
}
#laws table{
  width:100%;
}
#laws table th,
#laws table td{
  border: 1px solid #E0E0E0;
  padding: 1em;
  line-height: 1.4;
}
#laws table th{
  background: #F2F2F2;
}

#laws span.label_yellow{
  background: #FEC909;
  color: #404040;
  height: 20px;
  font-size: 12px;
  padding: 1px 0.7em;
  margin-left: 0.5em;
}
#laws span.red{
  color: #ea4b70;
  font-weight: 700;
}
#laws span.blue{
  color: #2c5ed0;
  font-weight: 700;
}
#laws a.link_scroll{
  text-decoration: underline;
}
#laws a.link_scroll:hover{
  text-decoration: none;
}
#laws a.link_scroll::after{
  content: url("../img/icn_linkanchor.svg");
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}
/* 調整 */
#laws p.intro{
  line-height: 24px;
  margin: 30px 0;
}
#laws ul.link{
  margin-bottom: 40px;
}
#laws ul.link li{
  font-size: 15px;
  color: #007CA4;
  margin-bottom: 12px;
  font-weight: 700;
}
#laws ul.link li a:hover{
  text-decoration: underline;
}
#laws ul.link li a::after{
  content: url("../img/icn_linkout.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

#laws table.sort th,
#laws table.sort td{
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  line-height: 1.5;
}
#laws table.sort tr:first-of-type th:first-of-type{
  background: #E4E4E4;
}
#laws table.sort td.yellow{
  background: #FEC909;
}
#laws p.yellow{
  background: #FEC909;
  display: inline-block;
  position: relative;
}
#laws p.yellow::before{
  content:"※"
}

@media screen and (max-width: 768px) {
  /* 関連法令 */
  #laws table.sort{
    display: block;
    height: auto;
    overflow: scroll;
  }
  #laws table.sort tbody {
    width: 800px;
    display:table;
  }
  #laws table.sort::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  #laws table.sort::-webkit-scrollbar-thumb {
    background: #47b6be;
    border-radius: 5px;
  }
}
