* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media print {
  body {
    display: none !important;
  }
}
@media screen and (min-width:0px){
  ::-webkit-scrollbar{
    width: 10px;
  }
  ::-webkit-scrollbar-track{
    background: #fff;
    border-left: solid 1px #ececec;
  }
  ::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #fff;
  }
  .youtube{
    position: relative;
    width: 100%;
    height:0px;
    padding-top: 56.25%;
  }
  .policy {
    width: 100%;
    height: 350px;
  }
}
@media screen and (min-width:625px){
  .youtube{
    position: relative;
    width: 550px;
    height: 0px;
    padding-top: 309.375px;
  }
  .policy {
    width: 550px;
    height: 350px;
  }
}
@media screen and (min-width:800px){
  ::-webkit-scrollbar{
    width: 20px;
  }
  ::-webkit-scrollbar-track{
    background: #fff;
    border-left: solid 2px #ececec;
  }
  ::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 20px;
    box-shadow: inset 0 0 0 4px #fff;
  }
}
body {
  margin: 3% 2% 5%;
  padding: 0;
  background-color: white;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}
html {
  background-color: #D4D4D4;
  overflow-y:scroll;
}
h1 {
  margin-bottom: 0.5em;
  padding: 0.25em 0.25em;
  font-size: 190%;
  color: #494949;
  background: transparent;
  border-left: solid 5px #7db4e6;
}
h3 {
  text-decoration: underline;
  padding: 0;
  margin-top: 1.5em;
}
a {
  color: blue;
  text-decoration: none;
  transition: .3s;
  word-break: break-all;
  position: static
}
a:visited{
  color : blue;
}
a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 0;
  background-color: red;
  transition: .3s;
  transform: translateX(-50%);
}
a:hover::after{
  width: 100%;
}
p {
  line-height:1.6;
  margin:0 0 1em 0;
  text-align: justify;
  text-justify: inter-ideograph;/*Edge用*/
}
div {
  line-height:1.6;
}
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse:separate;
  border-spacing: 0;
  text-align: left;
}
table::-webkit-scrollbar{
  height: 5px;
}
table::-webkit-scrollbar-track{
  background: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: inset 0 0 2px #777; 
}
table::-webkit-scrollbar-thumb{
  background: #ccc;
  border-radius: 5px;
  box-shadow: none;
}
table td, table th {
  border: 1px solid;
  padding: 0.5em;
}
label {
  display: block;
  width: 100%;
}
input {
  font-size: 100%;
}
input[type=text], input[type=search], input[type=tel] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -o-user-select: text;
  user-select: text;
  color: #000000;
  vertical-align: middle;
  border: 1px solid #AAAAAA;
}
input[type=checkbox] {
  margin: 0 0.5em;
  display: inline-block;
  height: auto!important;
  cursor: pointer;
}
input:focus {
  outline: none;
}
#main {
  padding: 2% 4%;
}
.small {
  font-size: 75%;
}
#toPageTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}
#toPageTop a::after {
  all: initial;
}
#toPageTop a img {
  transform: scale(1, -1);
  filter: FlipV;
  -ms-filter: "FlipV";
}
::selection {
  background: rgba(45, 170, 219, 0.3);
}
::-moz-selection {
  background: rgba(45, 170, 219, 0.3);
}
hr {
  margin: 1em 2em;
}
form>label {
  cursor: pointer;
}
td, th {
  vertical-align: top;
}
.page_title, .page_title:visited {
  color: #494949;
}
.search input[type=search], .search input[type=tel], .search input[type=submit] {
  display: inline-block;
  margin: 0.5em 0!important;
  padding: 0.5em!important;
  height: 2.5em!important;
  min-height: 2.5em!important;
}
.search input[type=search], .search input[type=tel] {
  width: calc(100% - 3em);
  max-width: calc(100% - 60px);
  float: left;
  text-align: center;
  border-radius: 0;
}
.search input[type=submit] {
  background-position: center;
  background-color: black;
  color: white;
  cursor: pointer;
  right: 0;
  top: 0;
  transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  width: 3em;
  min-width: 60px;
  border-radius: 0;
  vertical-align : middle;
}
.lawURL {
  cursor: pointer;
  color: blue;
}
.articleURL {
  font-weight: bold;
  cursor: pointer;
}
#mainBody, #preamble {
  margin: 1em 0;
}
#manual {
  margin: 4em 0;
}
#tabCheckbox {
  clear: left;
}
#article {
  display: none;
  line-height: 2.5em;
  position: absolute;
  left: 0;
  margin: 0 2%;
  width: 96%;
  padding: 0 4%;
  background-color: white;
}
.list {
  all: initial;
  width: auto;
  font-size: 100%;
  display: inline-block;
  cursor: pointer;
  border: 1px solid black;
  background-color: #D4D4D4;
  border-radius: 5px;
  margin: 0.5em;
  padding: 0.5em;
}
#law_body {
  display: none;
  margin: 4em 0;
  padding: 0.5em;
  border: 1px black solid;
}
.hide, #unenforced_parent {
  display: none;
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,.6);
}
.ie {
  display: none;
  position: fixed;
  background-color: white;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding-top: 50%;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  text-align: center;
}
.ie p {
  margin: 0;
}
#toc_close, #supplProvisionClose, .suppl_provision_title {
  cursor: pointer;
}
.toc {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}
.article {
  margin: 0.5em 0;
}
.heading {
  font-size: 120%;
}
.preamble {
  margin: 0;
  text-indent: 1em;
}
.article_body {
  padding-left: 1em;
  text-indent: -1em;
  margin: 0;
}
.item {
  padding-left: 2em;
  text-indent: -1em;
  margin: 0;
}
.table_sentence {
  margin: 0;
}
.subitem1 {
  padding-left: 3em;
  text-indent: -1em;
  margin: 0;
}
.subitem2 {
  padding-left: 4em;
  text-indent: -1em;
  margin: 0;
}
.subitem3 {
  padding-left: 5em;
  text-indent: -1em;
  margin: 0;
}
.h1 {
  margin: 1em 0 0;
  font-weight: bold;
}
.h2 {
  margin: 0 0 0 1em;
}
.h3 {
  margin: 0 0 0 2em;
}
.h4 {
  margin: 0 0 0 3em;
}
.h5 {
  margin: 0 0 0 4em;
}
.paren {
    background-color: rgba(95, 95, 95, 0.25);
}
@media (prefers-color-scheme: dark) {
  #main {
    background-color: #2f3437;
    color: #ffffff;
  }
  h1 {
    color: #ffffff;
  }
  a, .lawURL {
    color: #00ffff;
  }
  a:visited {
    color: #00ffff;
  }
  input[type=search], input[type=tel] {
    background-color: #D4D4D4;
  }
  .page_title, .page_title:visited{
    color: #ffffff;
  }
  .search input {
    border: 1px solid #ffffff !important;
  }
  #article {
    background-color: #2f3437;
  }
  #law_body {
    border: 1px solid #ffffff;
  }
  .paren {
    background-color: rgba(193, 193, 193, 0.25);
  }
}
@media print {
  html {
    background-color: #ffffff;
  }
  body {
    display: block !important;
    margin: 0;
  }
  .fontSize, #main h1, #search {
    display: none;
  }
  #main {
    background-color: #ffffff;
    color: #000000;
    padding: 0;
  }
  #law_body {
    border: none;
    margin: 0;
  }
  a {
    color: #000000;
  }
  a:visited {
    color: #000000;
  }
  #manual {
    display: none;
  }
}