/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* カウンター全体のコンテナ */
.container {
  background-color: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  min-width: 400px;
}

/* タイトル */
.title {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
}

/* カウント表示 */
.count-display {
  font-size: 80px;
  font-weight: bold;
  color: #667eea;
  margin: 30px 0;
  font-family: "Arial", sans-serif;
}

/* ボタンエリア */
.button-area {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

/* ボタン共通スタイル */
.btn {
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

/* +1ボタン */
.increment-btn {
  background-color: #667eea;
  color: white;
}

.increment-btn:hover {
  background-color: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.increment-btn:active {
  transform: translateY(0);
}

/* リセットボタン */
.reset-btn {
  background-color: #95a5a6;
  color: white;
}

.reset-btn:hover {
  background-color: #7f8c8d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(149, 165, 166, 0.4);
}

.reset-btn:active {
  transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .container {
    min-width: 90%;
    padding: 30px;
  }

  .count-display {
    font-size: 60px;
  }

  .button-area {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
