body {
  margin: 0;
  font-family: Arial, sans-serif;

  background: linear-gradient(
    135deg,
    #ade6d3 0%,
    #9bcdfe 100%
  );

  color: #5f4b8b;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 16px 16px;
  box-sizing: border-box;
}

h1 {
  margin-bottom: 10px;
  color: #b177f2;
}

.subtitle {
  color: #7b7b94;
  margin-bottom: 30px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links .social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* メインボタン */
.links > a {
  text-decoration: none;
  padding: 14px;
  border-radius: 10px;

  transition: 0.2s;

  width: 240px;
  max-width: 90vw;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

/* 1 ラベンダー */
.links > a:nth-of-type(5n + 1) {
  background: #ddd2fb;
  color: #9d74ea;
}

.links > a:nth-of-type(5n + 1):hover {
  background: #efe8ff;
  color: #b06cf0;
}

/* 2 ピンク */
.links > a:nth-of-type(5n + 2) {
  background: #ffd9df;
  color: #ef7f98;
}

.links > a:nth-of-type(5n + 2):hover {
  background: #ffecef;
  color: #b06cf0;
}

/* 3 ミントグリーン */
.links > a:nth-of-type(5n + 3) {
  background: #ecf7d9;
  color: #9ac46b;
}

.links > a:nth-of-type(5n + 3):hover {
  background: #f6ffe8;
  color: #5fd0b3;
}

/* 4 スカイブルー */
.links > a:nth-of-type(5n + 4) {
  background: #d8efff;
  color: #5caef0;
}

.links > a:nth-of-type(5n + 4):hover {
  background: #edf7ff;
  color: #7c8cff;
}

/* 5 ライトグレー */
.links > a:nth-of-type(5n + 5) {
  background: #f3f3f3;
  color: #8d8da8;
}

.links > a:nth-of-type(5n + 5):hover {
  background: #ffffff;
  color: #b06cf0;
}

/* social buttons */
.links .social-links a {
  width: 100px;

  text-decoration: none;
  padding: 14px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.72);

  color: #7b7b94;

  transition: 0.2s;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

.links .social-links a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #b06cf0;
}

.links a span {
  display: block;
}

footer {
  text-align: center;
  color: #7b7b94;
  padding: 16px;
}

footer a {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.72);

  color: #7b7b94;

  text-decoration: none;
  transition: 0.2s;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

footer a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #b06cf0;
}

/* 全ボタン共通 hover移動 */
.links > a:hover,
.links .social-links a:hover,
footer a:hover {
  transform: translateY(-2px);
}