/* ====== 基本設定 ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ====== ヘッダー・ナビゲーション ====== */
header {
  background-color: #111;
  color: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

/* PC用ロゴとモバイル用ロゴの切り替え */
.logo a[href="index.html"]:first-child {
  display: inline;
}
.logo a[href="index.html"]:last-child {
  display: none;
}

/* メニュー */
nav {
  display: flex;
  gap: 20px;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a,
.lang {
  color: white;
  font-weight: 500;
}

.join-btn {
  background-color: #00c853;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* ハンバーガー */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ====== ヒーローセクション ====== */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("image/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #fff;
}
.hero-content h1 {
  font-size: 3em;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.server-info {
  background-color: white;
  color: black;
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
}
.server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.server-row span {
  min-width: 80px;
}
.server-row input {
  flex: 1;
  margin-left: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.server-row button {
  margin-left: 10px;
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}
.start-btn {
  margin-top: 20px;
  background-color: #00c853;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
}

/* ====== フッター ====== */
.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  text-align: center;
}
.footer-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}
.footer-column h4 {
  margin-bottom: 15px;
  font-size: 1.2em;
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column a {
  color: #bbb;
}
.footer-column a span {
  font-size: 0.8em;
}
.footer-bottom {
  margin-top: 20px;
  font-size: 0.9em;
  color: #aaa;
}

/* ====== レスポンシブ対応 ====== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    width: 100%;
    padding: 15px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .logo a[href="index.html"]:first-child {
    display: none; /* WorldLifeMC */
  }
  .logo a[href="index.html"]:last-child {
    display: inline; /* WLMC */
  }
}
