@charset "UTF-8";

@font-face {
  font-family: 'mojang';
  src: url(fonts/Mojang-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'mojang-bold';
  src: url(fonts/Mojang-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'ten';
  src: url(fonts/BestTen-DOT.otf) format('opentype');
}
@font-face {
  font-family: 'minory';
  src: url(fonts/Minercraftory.ttf) format('truetype');
}
@font-face {
  font-family: 'kiwi';
  src: url(fonts/KiwiMaru-Regular.ttf) format('truetype');
  font-weight: normal;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Style.css - Main stylesheet for the application */
.bg {
  background-color: #000000;
  background-image: url('images/back.png');
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

#loading-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #000;
  transition: opacity 0.8s;
  opacity: 1;
  pointer-events: none;
}

#loading-text {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: #fff;
  font-size: 2rem;
  font-family: 'minory';
  letter-spacing: 2px;
  opacity: 0.8;
  pointer-events: none;
}

#loading-text span {
  display: inline-block;
  animation: bounce 0.6s infinite;
}

#loading-text span:nth-child(1) { animation-delay: 0s; }
#loading-text span:nth-child(2) { animation-delay: 0.1s; }
#loading-text span:nth-child(3) { animation-delay: 0.2s; }
#loading-text span:nth-child(4) { animation-delay: 0.3s; }
#loading-text span:nth-child(5) { animation-delay: 0.4s; }
#loading-text span:nth-child(6) { animation-delay: 0.5s; }
#loading-text span:nth-child(7) { animation-delay: 0.6s; }
#loading-text span:nth-child(8) { animation-delay: 0.7s; }
#loading-text span:nth-child(9) { animation-delay: 0.8s; }

.main h1 {
  font-family: 'kiwi';
  font-size: 50px;
  color: #ffffff;
  text-align: center;
  margin-top: 45px;
  text-shadow: 2px 2px 8px #000000;
}

.main h2 {
  font-family: 'mojang-bold';
  font-size: 25px;
  color: #ffffff;
  text-align: center;
  margin-top: -18px;
  text-shadow: 2px 2px 8px #000000;
}

/* ガラス本体 */
.glass {
  position: absolute;
  top: 550px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  height: 650px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    0 1.5px 4px 0 rgba(255,255,255,0.25) inset;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  /* 光沢感のためのグラデーション */
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
}

.glass h1 {
  font-family: 'minory';
  font-size: 35px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #000000;
}

.hobby {
  font-family: 'mojang';
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #000000;
}

.ja_text {
  font-family: 'ten';
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #000000;
}

.sns-icons {
  display: flex;
  gap: 16px; /* アイコン間のスペース */
  justify-content: center; /* 中央揃えに変更 */
  align-items: center;
  margin-top: 8px; 
}

.sns-icons img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.sns {
  font-family: 'mojang';
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #000000;
}

.dis {
    color :#5662F6;
}

.tw {
    color :#1DA1F2;
}

.mine {
    color :#84c270;
}

.gh {
    color :#ad9b97;
}

.ama {
    color :#FF9900;
}
.insta {
  display: inline-block;
  background: linear-gradient(90deg, #4b67f3, #ff62f5 30%, #ffc964);
  background: -webkit-linear-gradient(0deg, #516eff, #f564eb 30%, #FFCC70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gray-link {
  color: #aaa;
  text-decoration: none;
}

/* 画面幅600px以下（スマホサイズ）のときフォントサイズと位置を調整 */
@media (max-width: 600px) {
  .main {
    width: 100vw !important;
    max-width: 100vw !important;
    text-align: center !important;
    margin-top: 0 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
  .main h1,
  .main h2 {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    text-align: center !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  .main h1 {
    font-size: 22px !important;
    margin-top: 24px !important;
    margin-bottom: 8px !important;
  }
  .main h2 {
    font-size: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
}