html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: left, visibility;
  }
  .offcanvas-collapse.open {
    left: 0;
    visibility: visible;
  }
}

.text-fotter {
  color: white;
  text-align: center;
}

.img-title {
  max-width: 90%;
  margin: 20px auto;
  height:auto;
}

.title-row {
  text-align:center
}

.subtitle-center {
  text-align:center;
  margin:10px;
}

.img {
  width:100%;
  height:auto;
}

.img-lang {
  height: 25px;
  width: 25px;
}

.title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin: 20px;
  color: #AD0101;
}

.subtitle {
  font-size: 20px;
  color: #AD0101;
  margin-bottom: -5px;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.subtitle-img {
  width:100%;
  max-width: 600px;
}

.subtitle-margin {
  margin:20px;
}

.jyuyohin{
  margin:20px 40px 20px 20px;
}

.jyuyohin-img{
  margin:10px 0px 10px 0px;
}

.jyuyohin-name {
  font-size: 20px;
  font-weight: bold;
}

.jyuyohin-illustrator {
  text-align: right;
}

.site-name-img {
  width: 38px;
}

.site-title {
  font-size: 20px;
  font-weight:bold;
  margin: 10px;
}

.site-describe {
  margin:10px;
}

.site-goriyaku-img {
  margin:50px 10px 10px 10px;
  width:70%;
}

.site-hp {
  font-size: 18px;
  text-align: right;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }
