/* ヘッダー */
.join-header {
  background: url("../../images/join/header.jpg") no-repeat center/cover;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: #fff;
}
.join-header .overlay {
  background: rgba(0,0,0,0.8);
  padding: 2rem;
  border-radius: 12px;
}
.join-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.join-header p {
  font-size: 1rem;
}

/* 本文 */
#join {
  padding: 3rem 2rem;
  background: #111827;
}

#join .intro {
  text-align: center;
  color: #ffffff;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: auto;
}

.step {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.step-img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.step h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.step p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.copy-btn {
  margin-left: 0.6rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}
.copy-btn:hover {
  background: #1d4ed8;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.discord-btn {
  background: #5865f2;
  color: #fff;
}
.discord-btn:hover {
  background: #4752c4;
}
.wiki-btn {
  background: #2563eb;
  color: #fff;
}
.wiki-btn:hover {
  background: #1d4ed8;
}

#copy-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #22d3ee; /* シアン系 */
  color: #111827;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none; /* 通知にマウスイベントを通さない */
  transition: opacity 0.4s ease-in-out;
  z-index: 10000;
}
#copy-notice.show {
  opacity: 1;
}

/* スマホ用ナビバー調整 */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* モバイルで右端に表示 */
    margin-left: auto; /* 右端寄せ */
  }

  .link {
    display: none; /* PC用リンク非表示 */
  }

  .navbar-center {
    display: none; /* PC用Discord非表示 */
  }
  .pc_hid{
    display: block;
  }
  #header h1{
    font-size: 2.3rem;
  }
}

/*もっと画面小さい奴用*/
@media (max-width: 400px) {
  .hamburger {
    display: flex; /* モバイルで右端に表示 */
    margin-left: auto; /* 右端寄せ */
  }

  .link {
    display: none; /* PC用リンク非表示 */
  }

  .navbar-center {
    display: none; /* PC用Discord非表示 */
  }
  .pc_hid{
    display: block;
  }
  .pc_tab_hid{
    display: block;
  }
  .server-stats {
    flex-direction: column;
    gap: 1rem; /* 縦方向の間隔 */
  }
  #header h1{
    font-size: 1.7rem;
  }
  #header .server-description{
    white-space: nowrap;
  }
  #about .about-server{
    white-space: nowrap;
  }
  #vote .section-title{
    font-size: 1.7rem;
  }
  #discord .section-title{
    white-space: nowrap;
  }
  #footer .policy-links a{
    font-size: 1.0rem;
  }
}
    