@charset “utf-8”;
/* Webフォントを定義 */
@font-face {
  font-family: "HGRGY"; /* フォント名 */
  /* フォーマットごとにパスを指定 */
  src: url("../font/HGRGY.TTC") format("truetype");
}
@font-face {
  font-family: "HGRKK"; /* フォント名 */
  /* フォーマットごとにパスを指定 */
  src: url("../font/HGRKK.TTC") format("truetype");
}

/* 浮かび上がるアニメーション */
.animation-element {
  transform: translateY(5px);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.animation-element.show {
  transform: translateY(0);
  opacity: 1;
}

body {
  margin: 0 auto;
  padding: 0;
  color: #1a1a1a;
  width: 100%;
  font-family: "HGRKK";
  font-size: 18px;
  background: url("../image/bg.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-callout: none;
  touch-action: manipulation;
  overscroll-behavior: none;
}

/* スクロールバーのカスタマイズ（WebKit用） */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(245, 241, 232, 0.8);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37 0%, #b8860b 100%);
  border-radius: 6px;
  border: 2px solid rgba(26, 58, 82, 0.2);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e8c547 0%, #d4af37 100%);
  border-color: rgba(198, 12, 48, 0.3);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

/* Firefox用 */
* {
  scrollbar-color: #d4af37 rgba(245, 241, 232, 0.8);
  scrollbar-width: thin;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "HGRGY";
}
a {
  color: #c60c30;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  color: #d4af37;
  text-decoration: underline;
}
img {
  vertical-align: inherit;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  pointer-events: none;
  width: 100%;
}
.lp-space20 {
  margin: 20px 0;
}
/* Container */
.header {
  display: flex;
  height: 80px;
  width: 100%;
  background: linear-gradient(90deg, #1a3a52 0%, #2d5a76 100%);
  justify-content: flex-start;
  align-items: center;
  border-bottom: 4px solid #d4af37;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 99;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.container {
  display: grid;
  width: 95%;
  max-width: 800px;
  margin: 20px auto;
}
.accent-bg {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-left: 5px solid #c60c30;
  border-right: 3px solid #d4af37;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
}
.fadeLayer {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.wrap_fadeLayer {
  width: 100%;
  height: 100%;
  display: flex;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
  align-items: center;
  justify-content: center;
}
.wrap_layer {
  width: 80%;
  max-width: 300px;
  text-align: center;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 4px solid rgba(212, 175, 55, 0.3);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wrap_layer img {
  width: 80%;
  max-width: 150px;
  animation: bounce 2s ease-in-out infinite;
  margin: 20px 0;
}

.wrap_modal_layer {
  width: 50%;
  max-width: 250px;
  text-align: center;
  margin: 0 auto;
}

.loading-text {
  color: #1a3a52;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 15px;
  font-size: 14px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@keyframes layerCloseAnime {
  0% {
    filter: contrast(0.2) drop-shadow(2px 4px 6px black);
  }
  100% {
    filter: contrast(0.8) drop-shadow(2px 4px 6px rgb(212, 212, 212));
  }
}

/********
    ヘッダーコンテンツ
*********/
.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  transition: all 0.3s ease;
}

.header-logo-link:hover {
  opacity: 0.9;
}

.wrap_logo {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background 0.3s ease;
  height: 100%;
}

.header-logo-link:hover .wrap_logo {
  background: rgba(212, 175, 55, 0.15);
}

.wrap_logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.header-logo-link:hover .wrap_logo img {
  transform: scale(1.05);
}

.logo-text {
  color: #d4af37;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: none;
}

@media screen and (min-width: 768px) {
  .logo-text {
    display: inline;
  }
}
/********
    キャラクター一覧表
*********/
.strokes_title {
  clear: both;
  margin: 10px 0;
}
.wrap_strokes_list {
  margin: 0 auto;
}
.strokes_list {
  float: left;
  width: 23%;
  margin: 1%;
}
@media screen and (max-width: 650px) {
  .strokes_list {
    width: 31%;
  }
}
@media screen and (max-width: 480px) {
  .strokes_list {
    width: 48%;
  }
}
@media screen and (max-width: 330px) {
  .strokes_list {
    width: 98%;
  }
}

.strokes_name {
  font-family: "HGRGY";
  font-weight: bold;
  text-align: center;
}
.strokes_image {
  cursor: pointer;
}
.strokes_image a:hover {
  opacity: 0.5;
}
.strokes_detail {
  font-size: 12px;
}

#fanart {
  max-width: 200px;
  margin: 0 auto;
}
#fanart a {
  display: block;
}
.art-vote-nft {
  width: 200px;
  margin: 0 auto;
}
.art-vote-nft a {
  display: block;
}

.diagram-link{
  display: block;
}

.about_author {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}    
.about_author img{
    width: 80px;
    height: auto;
    margin-right: 10px;
    border-radius: 50%;
    border: 1px solid #000;
}
.align_center{
    text-align: center;
}