/* 基本のスタイル設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  background-color: #ffeae0;
  color: #8270ad;
  /* 本文テキストの色 */
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

/* ヘッダー */
header h1 {
  font-size: 2.5rem;
  color: #ffa2b0;
  margin-bottom: 20px;
}

/* メイン部分のナビゲーション */
main {
  margin: 20px 0;
}

.contents {
  margin: 20px 0;
}

nav .social-link {
  display: inline-block;
  height: 42px;
  vertical-align: middle;
  align-items: stretch;
  background-color: #ffb9b0;
  color: #fff;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

nav .social-link:hover {
  background-color: #ffd0ba;
}

/* フッター */
footer {
  margin-top: 30px;
}

footer p {
  font-size: 1rem;
  color: #ffa2b0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav .social-link {
    height: 34px;
    font-size: 1rem;
    padding: 8px 16px;
  }

  footer p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }

  nav .social-link {
    font-size: 1rem;
    padding: 6px 12px;
  }

  footer p {
    font-size: 0.8rem;
  }
}
