body {
  font-family: "Noto Sans JP", sans-serif;
}

.ja {
  font-family: "Noto Sans JP", sans-serif;
}

.cn {
  font-family: "Noto Sans SC", sans-serif;
}

.navbar-brand {
  font-weight: 900;
}
.navbar-brand img {
  max-width: 40vw;
  width: auto;
  height: auto;
}

.container-banner {
  margin: 60px 20px;
}
.container-banner p {
  font-size: 0.78rem;
  font-weight: bold;
  padding: 0.2rem 1rem;
  margin: 0;
  line-height: 1;
  color: #666;
}
.container-banner .banner img {
  width: 100%;
  height: auto;
}

.caption-index {
  background: #fff2c1;
  padding: 0.5rem;
  border-radius: 4px;
  margin: 0rem 1rem;
}

a:link, a:visited {
  color: #333;
}

.bg-abm {
  background-color: #dd1722;
}

section.row {
  position: relative;
}

.side-menu {
  background-color: #fff3de;
}

.side-menu-sp {
  background-color: #fff3de;
  position: fixed;
  height: calc(100vh - 200px);
  top: 80px;
  left: -100%;
  overflow: auto;
  z-index: 1100;
}

.btn-index {
  width: 12vh;
  position: absolute;
  top: 10px;
  right: 10px;
}

.btn-close-menu {
  position: absolute;
  top: 10px;
  right: 10px;
}

.col-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.pb-6 {
  padding-bottom: 3rem !important;
}

sup {
  font-size: 0.67em;
}

.img-term {
  max-width: 100%;
  width: auto;
  height: auto;
}

.table-term {
  min-width: 30em;
}
.table-term thead th {
  font-size: 0.8rem;
  background: #f0f0f0;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}
.table-term tbody td {
  font-size: 0.8rem;
}
.table-term .vertical {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.table-term .vertical-en {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.table-term .term {
  font-weight: bold;
  font-size: 1rem;
  width: 10rem;
  text-align: center;
}
.table-term .img {
  width: 200px;
}
.table-term .img img {
  max-width: 100%;
  width: auto;
  height: uto;
}

.container-table-term {
  width: 100%;
  overflow: auto;
}

.category-header {
  font-size: 1.2rem;
  border-radius: 2px;
}

.category-sub {
  border-left: 3px solid #333;
  margin: 1rem;
  padding: 1rem;
}

#navbarSupportedContent input[type=search] {
  width: 20em;
}
#navbarSupportedContent button[type=submit] {
  width: 5em;
}

#search-bottom input[type=search] {
  width: 20em;
}
#search-bottom button[type=submit] {
  width: 5em;
}

.list-index {
  padding: 0.2rem;
}
.list-index li {
  list-style-type: none;
  border-radius: 4px;
}
.list-index li.active {
  background: #ffc1c5;
}
.list-index .title-ja {
  font-size: 1.2rem;
  color: #860113;
}
.list-index a:link, .list-index a:visited {
  text-decoration: none;
}

.list-main {
  font-size: 0.9rem;
  font-weight: bold;
}

.list-sub-title {
  font-size: 0.84rem;
  font-weight: bold;
  margin-top: 1rem !important;
  margin-left: 0.5rem;
}

.list-sub {
  font-size: 0.8rem;
  margin-left: 1rem;
  padding: 0.2rem 0.5rem;
}

footer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.98);
}
footer p {
  line-height: 1;
  padding: 0.2rem;
  margin: 1rem 1rem;
}

#table-data {
  border-collapse: collapse;
}
#table-data thead {
  position: sticky;
  top: 100px;
  left: 0;
  background: #fff;
  border-bottom: double 3px #666;
  z-index: 100;
}
#table-data thead th {
  font-size: 0.8rem;
  position: relative;
}
#table-data thead th i {
  min-width: 1em;
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  cursor: pointer;
}
#table-data tbody .cell-command button {
  font-size: 0.86rem;
  min-width: 6rem;
}
#table-data tbody td {
  font-size: 0.85rem;
}
#table-data .text-id {
  font-size: 0.45rem;
}

#copyright {
  padding: 10px;
}
#copyright h2 {
  font-size: 1.2rem;
  border-bottom: 1px solid silver;
  padding: 0.2rem;
}
#copyright dl {
  margin: 0.5rem 1rem;
}
#copyright dl dd {
  padding-left: 2rem;
  margin-top: 1rem;
  margin-botom: 1rem;
  line-height: 1.6;
}

.nav-logout {
  text-align: center;
}

@media all and (min-width: 1024px) and (max-width: 1280px) {
  .navbar-brand {
    font-weight: 900;
  }
  .navbar-brand img {
    max-width: 50vw;
    width: auto;
    height: auto;
  }
}
@media all and (min-width: 480px) and (max-width: 768px) {
  .navbar-brand {
    font-weight: 900;
  }
  .navbar-brand img {
    max-width: 55vw;
    width: auto;
    height: auto;
  }
  .nav-logout span {
    font-size: 0.76rem;
  }
}
@media all and (max-width: 480px) {
  .navbar-brand {
    font-weight: 900;
  }
  .navbar-brand img {
    max-width: 50vw;
    width: auto;
    height: auto;
  }
  #navbarSupportedContent input[type=search] {
    width: 15em;
  }
  #navbarSupportedContent button[type=submit] {
    width: 5em;
  }
  #search-bottom input[type=search] {
    width: 15em;
  }
  #search-bottom button[type=submit] {
    width: 5em;
  }
  .nav-logout span {
    font-size: 0.7rem;
  }
}
