html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  color: #eee;
  margin-bottom: 60px;
  background-image: url(/images/back.jpg);
  background-repeat: repeat;
  background-attachment: fixed;
}
h2 {
  position: relative;
  padding: 0.5rem 1rem;
  border-left: 5px solid #fff;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.nav-bottom {
  background-color: rgba(0, 0, 0, 0.8);
}
.bg-black-anim {
  animation: toblack 0.7s;
  animation-fill-mode: forwards;
}
.bg-trans-anim {
  animation: totrans 0.7s;
  animation-fill-mode: forwards;
}
@keyframes toblack {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(20, 0, 40, 0.8);
  }
}
@keyframes totrans {
  0% {
    background-color: rgba(20, 0, 40, 0.8);
  }
  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}
@keyframes signal {
  0% {
    color: #000;
  }
  0% {
    color: #000;
  }
}
.navbar {
  padding: 20px 0;
}
.navbar .navbar-collapse {
  background: rgba(30, 18, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px 12px 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  margin-top: 12px;
}
@media (min-width: 768px) {
  .navbar .navbar-collapse {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 12px;
  }
}
.navbar .navbar-collapse .nav-link {
  margin: 4px 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: all 0.2s ease;
  color: #fff;
}
@media (min-width: 768px) {
  .navbar .navbar-collapse .nav-link {
    margin: 4px 8px;
  }
}
.navbar .navbar-collapse .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}
.navbar .navbar-brand img {
  max-height: 40px;
}
.navbar .navbar-brand .subtitle {
  opacity: 0.5;
  display: inline;
  font-size: 13px;
  margin: 7px 0 0 10px;
  line-height: 13px;
}
#product a {
  color: #fff;
  text-decoration: none;
}
.btn-outline-primary {
  color: #eee;
  border-color: #eee;
}
.btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: #eee;
}
.btn-primary {
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #fff;
}
.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: #eee;
}
.btn-close {
  color: #fff !important;
}
/* 背景フェード復帰用 */
body.bg-reveal {
  position: relative;
}
body.bg-reveal::after {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 2.5s ease;
  z-index: 4000;
}
body.bg-reveal.bg-reveal-fade::after {
  opacity: 0;
}
.card {
  color: #eee;
  background-color: rgba(0, 0, 0, 0.3);
}
.card .card-header {
  font-size: 1.25rem;
  font-weight: bold;
  background-color: rgba(20, 0, 40, 0.6);
}
.body-content {
  padding-top: 150px;
}
.category img {
  max-width: 80px;
  display: block;
  margin: 10px auto;
}
footer {
  padding-top: 20px;
}
.text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}
