.mt15 { margin-top: 15px; }

.pr60 { padding-right: 60px; }

.ml10 { margin-left: 10px; }

.w-760 { width: 760px; }

.bg-shinko { background-color: #fff; }

.bg-shinko-nav { background-color: #bcddff; }

.bg-shinko-gnav { background-color: #0079c2; }

.encircle { background-color: #009dff;}

.error { color: red; }

html,
body {
  overflow-x: hidden; /* 狭いデバイスでのスクロールを防止 */
}

body { padding-top: 56px; }

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* ナビバーの高さ */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: #343a40;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.nav-scroller {
  /* position: relative; */
  z-index: 100;
  height: 2.75rem;
  overflow-y: hidden;
  position: fixed;
  width: 100%;
  /* top: 56px; */
}

.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: 510;
  color: #343a40;
}

.container {
  position: relative;
  margin-top: 50px;
}
.container-fluid {
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}

#err {
  border: 1px solid red;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 30px auto;
}
#err-title {
  color: crimson;
  font-size: 1.75rem;
  font-weight: 700;
}
#err .attention {
  padding-left: 1px;
}

#reg {
  border: 1px solid green;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 30px auto;
}
#reg-title {
  color: yellowgreen;
  font-size: 1.75rem;
  font-weight: 700;
}
#reg .attention {
  padding-left: 1px;
}

.image-container {
  border: 1px solid #ccc;
  padding: 5px;
  display: inline-block;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.image-container img {
  max-width: 100%;
  height: auto;
}
.image-container a {
  border: none;
  text-decoration: none;
}
.image-container:hover {
  background-color: #bfff7f;
}
.btn-purple {
  background-color: #6f42c1;
}

#topButton {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #0079c2; /* 青系の色 */
  color: white;
  cursor: pointer;
  width: 70px;
  height: 70px;
  border-radius: 10px; /* 角丸の半径を指定 */
  font-size: 18px;
  transition: background-color 0.3s ease-in-out;
}
#topButton::before {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 20px;
  height: 20px;
  border-top: 3px solid white;
  border-left: 3px solid white;
}
#topButton:hover {
  background-color: #009dff; /* ホバーしたときの背景色 */
}

.table th:nth-child(2){
  position: sticky;
  left: 0;
  background-color: white;
}
