/* 全体 */
body {
  margin: 0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "MS Gothic", monospace;
  background: #008080;
  min-height: 100vh;
  box-sizing: border-box;
}

/* メインウィンドウ */
main.window {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

/* タイトル */
h1 {
  font-weight: normal;
  color: #000080;
  text-shadow: 1px 1px 0 #fff;
  margin: 0 auto 1rem;
  text-align: center;
  width: 100%;
}

h1 .title-part,
h1 .subtitle {
  display: inline;
}

h1 .subtitle {
  font-weight: normal;
  font-size: 0.8em;
  margin-left: 0.3rem;
}


/* バージョンリンク */
#version-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

#version-links a.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #3399ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  border: 2px outset buttonface;
  min-width: 120px;
  text-align: center;
  font-weight: bold;
  transition: 0.2s;
}

#version-links a.btn:hover {
  background: #1673e6;
}

/* 更新情報 */
.update-info {
  max-width: 500px;
  text-align: center;
  margin: 0.5rem 0 1rem;
  color: #000080;
  font-weight: normal;
}

/* フッター */
footer {
  margin-top: 2rem;
  font-size: 14px;
  color: #000080;
  user-select: none;
}

/* スマホ対応 */
@media (max-width: 480px) {
  h1 .title-part,
  h1 .subtitle {
    display: block;
    margin-left: 0;
  }

  #version-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  #version-links a.btn {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 0.5rem 0;
  }
}

/* スマホ対応 */
@media (max-width: 480px) {
  h1 .title-part,
  h1 .subtitle {
    display: block;
    margin-left: 0;
  }

  #version-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  #version-links a.btn {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 0.5rem 0;
  }
}

/* スマホ対応 */
@media (max-width: 480px) {
  h1 .title-part,
  h1 .subtitle {
    display: block;
    margin-left: 0;
  }

  #version-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  #version-links a.btn {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 0.5rem 0;
  }
}