@charset "UTF-8";
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f7fa;
}

body.login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
body.login .login-container {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.24);
  padding: 50px;
  width: 360px;
  text-align: center;
}
body.login .login-container .logo {
  display: block;
  margin: 0 auto 20px;
  width: 223px;
  height: auto;
}
body.login .login-container h2 {
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
}
body.login .login-container .form-group {
  margin-bottom: 15px;
  text-align: left;
}
body.login .login-container .form-group label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 5px;
}
body.login .login-container .form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
}
body.login .login-container .form-group input:focus {
  outline: none;
  border-color: #181b21;
  box-shadow: 0 0 3px rgba(0, 120, 255, 0.4);
}
body.login .login-container .login-btn {
  background-color: #fff;
  color: #181b21;
  border: 1px solid #181b21;
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}
body.login .login-container .login-btn:hover {
  background-color: #181b21;
  color: #fff;
  border-color: #181b21;
}

body.top .header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: 80px;
}
body.top .header .header-logo {
  width: 150px;
  display: block;
}
body.top .header .header-buttons {
  position: absolute;
  right: 30px;
  display: flex;
  gap: 10px;
}
body.top .header .header-buttons button {
  background-color: #fff;
  color: #181b21;
  border: none;
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
body.top .header .header-buttons button:hover {
  background-color: #181b21;
  color: #fff;
}
body.top .genre-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
body.top .genre-nav .genre-btn {
  background-color: #fff;
  color: #181b21;
  border: 0px solid #181b21;
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
body.top .genre-nav .genre-btn:hover {
  background-color: #181b21;
  color: #fff;
  border-color: #181b21;
}
body.top .genre-nav .genre-btn.active, body.top .genre-nav .genre-btn:hover {
  background-color: #181b21;
  color: #fff;
  border-color: #181b21;
}
body.top main {
  min-height: calc(100vh - 275px);
}
body.top .content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 10%;
}
body.top .content-grid .card {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.top .content-grid .card img {
  width: 100%;
  display: block;
}
body.top .content-grid .card .card-title {
  font-weight: 600;
  margin: 10px;
  font-size: 1.1rem;
}
body.top .content-grid .card .card-desc {
  font-size: 0.9rem;
  margin: 0 10px 10px;
  color: #555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  line-height: 1.6;
  cursor: pointer;
}
body.top .content-grid .card .card-genre {
  font-size: 0.8rem;
  margin: 0 10px 10px;
  color: #181b21;
}
body.top .content-grid .card .download-btn {
  background-color: #fff;
  color: #181b21;
  border: 1px solid #181b21;
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin: 10px;
}
body.top .content-grid .card .download-btn:hover {
  background-color: #181b21;
  color: #fff;
  border-color: #181b21;
}
@media (max-width: 768px) {
  body.top .genre-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 0 10%;
    white-space: nowrap;
    justify-content: flex-start;
    /* スクロールバー非表示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  body.top .genre-nav .genre-btn {
    flex: 0 0 auto;
  }
  body.top .genre-nav::-webkit-scrollbar {
    display: none;
  }
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-content {
  background-color: #fff;
  margin: 5vh auto;
  padding: 20px;
  border-radius: 0px;
  width: 90%;
  max-width: 500px;
  height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.modal .modal-content img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.modal .modal-content h3 {
  margin: 10px 0;
}
.modal .modal-content p {
  font-size: 0.9rem;
  margin: 0 0 10px 0;
  color: #555;
  line-height: 1.6;
}
.modal .modal-content span {
  font-size: 0.8rem;
  margin: 0 0 10px 0;
  color: #181b21;
}
.modal .modal-content button {
  background-color: #fff;
  color: #181b21;
  border: 1px solid #181b21;
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.modal .modal-content button:hover {
  background-color: #181b21;
  color: #fff;
  border-color: #181b21;
}
.modal .close {
  padding: 0px 2px 4px 2px !important;
  position: fixed;
  top: -4px;
  right: 0px;
  font-size: 3rem !important;
  line-height: 3rem;
  background: rgba(255, 255, 255, 0.5019607843);
  margin: 0 !important;
  cursor: pointer;
}

.site-footer {
  background-color: #181b21;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  position: relative;
  width: 100%;
  height: 55px;
  margin: 55px 0 0 0;
}
.site-footer p {
  margin: 0;
}
/*# sourceMappingURL=style.css.map */