html {
  scroll-padding-top: 120px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'M PLUS 1p', sans-serif !important;
  scroll-behavior: smooth;
  width: 100%;
  line-height: 1.7;
}
body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}
body::-webkit-scrollbar {
  display: none;
}
img {
  pointer-events: none;
}
.fa-regular, .fa-solid, .fa-brands {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
  margin: 0;
  padding: 0;
}
.fa-fw {
  margin-right: .3em !important;
}
nav {
  margin: 0 0 0 auto;
}
header ul,
header li {
  list-style: none;
  font-weight: bold;
}
header {
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  border-bottom: 2px solid #ddd;
  width: 100%;
  z-index: 999;
}
.logo {
  width: 270px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.top {
  height: 80px;
  width: auto;
}
.sp-nav {
  display: none;
}
.menu-left {
  display: inline;
}
.menu-left>a {
  height: fit-content;
  width: fit-content;
  display: inline-block;
}
.menu-right {
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  display: block;
  background-color: rgba(0, 196, 255, 0.35);
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#hamburger {
  position: relative;
  display: block;
  width: 30px;
  height: 25px;
  margin: 0 10px 0 auto;
  cursor: pointer;
  z-index: 999;
}
#hamburger span,
#hamburger::before,
#hamburger::after {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease-in-out;
}
#hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%);
}
#hamburger::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}
#hamburger::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}
.hamburger-active #hamburger span {
  opacity: 0;
}
.hamburger-active #hamburger::before {
  top: 45%;
  transform: rotate(45deg);
}
.hamburger-active #hamburger::after {
  bottom: 45%;
  transform: rotate(-45deg);
}
.menu-right.open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.menu-right ul {
  padding: 30px 10% 100px;
  /*
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */
  height: 100%;
  overflow-y: scroll;
}
.menu-right ul::-webkit-scrollbar {
  display: none;
}
.menu-right li {
  margin: 0;
  padding: 0;
  color: #fff;
}
.menu-right li a {
  text-decoration: none;
}
.menu-right li h1 {
  background-color: #fff;
  max-width: 100%;
  font-size: 24px;
  width: 100%;
  max-width: 70%;
  padding: .5em .7em;
  border: 2px solid #2589d0;
  box-shadow: 5px 5px #2589d0;
  color: #2589d0;
  margin: 20px auto 25px;
  text-align: center;
}
.menu-right li button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 5px;
  padding: .9em 2em;
  border: 1px solid #2589d0;
  border-radius: 20px;
  background-color: #fff;
  color: #2589d0;
  font-size: 15px;
  cursor: pointer;
}
.box {
  width: 100%;
  display: flex;
  align-items: center;
  border: 2px solid white;
  border-radius: 20px;
  padding: 0 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.box img {
  width: 40%;
  height: auto;
  object-fit: cover;
}
.box p {
  font-size: 1.35rem;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  margin: 10px 0;
}
footer.footer {
  font-size: 12px;
  color: #666;
  background-color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  position: relative;
  bottom: 0;
}
footer.footer a {
  color: #007BFF;
  text-decoration: none;
  display: inline;
}
.mail::after {
  width: 1.25em;
  height: 1.25em;
  margin-left: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM12.0606 11.6829L5.64722 6.2377L4.35278 7.7623L12.0731 14.3171L19.6544 7.75616L18.3456 6.24384L12.0606 11.6829Z' fill='%232589d0'%3E%3C/path%3E%3C/svg%3E");
  content: '';
}
.br {
  display: none;
}
@media (max-width: 768px) {
  .notice {
    width: 100%;
  }
  .menu-right h1 {
    max-width: 100%;
  }
  .menu-right {
    width: 100%;
    height: 101vh;
  }
}
@media (max-width: 440px) {
  .box p {
    font-size: 19px;
  }
  .br {
    display: block;
  }
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}
.loader-content {
  text-align: center;
}
.loading-image {
  width: 50px;
  animation: tilt 0.5s infinite alternate;
}
.loading-text {
  margin-top: 10px;
  font-size: 18px;
  color: #666;
}
@keyframes tilt {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(10deg);
  }
}
main {
  padding: 20px;
  max-width: 90%;
  margin: 0 auto;
}
#scroll-container {
  min-height: calc(100vh - 100px);
  /* Adjust for header/footer */
  overflow-y: auto;
  padding: 0 10px;
  background-color: transparent;
  border: none;
}
.scroll-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  /* セル間にスペースを設けて、表のデザインを調整 */
  table-layout: fixed;
}
.scroll-table th,
.scroll-table td {
  padding: 12px 15px;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
}
.scroll-table th {
  background-color: #f5f5f5;
  color: #333;
  font-weight: normal;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  font-size: 17px;
  text-transform: uppercase;
}
.scroll-table td {
  position: relative;
  /* 親要素にrelativeを指定 */
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.scroll-table tr:nth-child(odd) td {
  background-color: rgba(0, 122, 255, 0.03);
  /* 薄い青 */
}
.scroll-table tr:nth-child(even) td {
  background-color: #fff;
}
.scroll-table td strong {
  font-weight: bold;
}
.scroll-table td .small-text {
  font-size: 0.85rem;
  color: #777;
}
.scroll-table .coin-icon {
  position: absolute;
  width: 22px;
  height: 22px;
}
.scroll-table td:last-child {
  border-right: none;
}
.scroll-table th:last-child {
  border-right: none;
}
.scroll-table tr:hover td {
  background-color: rgba(0, 122, 255, 0.1);
  /* ホバー時に少し青くなる */
  transition: background-color 0.3s ease;
}
/* カラムの幅調整 */
.scroll-table td:nth-child(2) {
  width: 65%;
}
.scroll-table td:nth-child(3), .scroll-table th:nth-child(3) {
  width: 20%;
}
/* ID列のデザイン */
.scroll-table td:nth-child(1), .scroll-table th:nth-child(1) {
  width: 15%;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  background-color: #f0f0f0;
}
/* スクロール中に表示されるローディング */
.spinner {
  text-align: center;
  padding: 5px;
}
.spinner img {
  width: 50px;
  animation: sway 1.2s infinite ease-in-out;
}
@keyframes sway {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}
h1 {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}
h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #007BFF;
}
.alt {
  white-space: nowrap;
  /* テキストを折り返さない */
  overflow: hidden;
  /* はみ出した部分を隠す */
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 15px;
}
section {
  margin: 0 auto 80px;
}
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 230px;
  max-width: 80%;
  margin: 20px auto 0;
  padding: .9em 3em .9em 2em;
  border: 1px solid #007bff;
  border-radius: 25px;
  background-color: #fff;
  color: #007bff;
  font-size: 1em;
}
.button::after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #007bff;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}
.button:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}
#about p {
  text-align: center;
}
.search {
  display: flex;
  padding: 10px;
  width: 100%;
}
.keyword {
  width: 70%;
  margin-right: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: 2px solid #2589d0;
  border-radius: 25px;
  height: 40px;
}
.keyword label {
  width: 100%;
}
.keyword input {
  width: 100%;
  height: 45px;
  padding: 5px 15px;
  border: none;
  box-sizing: border-box;
  font-size: 1em;
  outline: none;
}
.keyword input::placeholder {
  color: #666;
}
.keyword button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 45px;
  border: none;
  background-color: #2589d0;
  cursor: pointer;
}
.keyword button::after {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: '';
}
.sort {
  position: relative;
  height: 40px;
  width: 30%;
}
.sort::before,
.sort::after {
  position: absolute;
  content: '';
  pointer-events: none;
}
.sort::before {
  right: 0;
  display: inline-block;
  width: 2.8em;
  height: 40px;
  border-radius: 0 25px 25px 0;
  background-color: #2589d0;
  content: '';
}
.sort::after {
  position: absolute;
  top: 45%;
  right: 1.4em;
  transform: translate(50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
}
.sort select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 40px;
  padding: .4em 3.6em .4em .8em;
  border: 2px solid #2589d0;
  border-radius: 25px;
  color: #666;
  font-size: 1em;
  cursor: pointer;
}
.sort select:focus {
  outline: 1px solid #2589d0;
}
/* スマホ向けのレイアウト調整 */
@media (max-width: 768px) {
  .scroll-table {
    display: block;
    width: 100%;
  }
  .scroll-table thead {
    display: none;
  }
  .scroll-table tbody {
    display: block;
  }
  .scroll-table tr {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    width: 100%
  }
  .scroll-table td {
    display: block;
    text-align: left;
    font-size: 14px;
    width: 100% !important;
    padding: 7px 15px;
    border: none;
    border-top: 1px solid #f0f0f0;
    box-shadow: none;
  }
  .scroll-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: capitalize;
  }
  .scroll-table td strong {
    font-size: 15px;
  }
  .scroll-table td p {
    font-size: 13px;
  }
  .search {
    display: block;
  }
  .keyword {
    width: 100%;
  }
}
