/* 基本設定 */
:root {
  --primary-color: #2563EB;
  --accent-color: #F7DF1E; /* JSらしさをアクセントに */
  --bg-color: #FFFFFF;
  --card-bg: #FAFBFC;
  --text-color: #1F2937;
  --subtext-color: #4B5563;
  --border-radius: 12px;
  --transition-speed: 0.3s;
  font-family: 'Inter', sans-serif;
}
body {
  margin: 0;
  background: #eee;
  color: var(--text-color);
  line-height: 1.6;
}
/* body {
  background: #eee;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  font-family: sans-serif;
} */

/* ヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--bg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.site-header .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}
.site-header nav a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--subtext-color);
  font-weight: 500;
  padding: 4px 8px;
  transition: color var(--transition-speed);
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--primary-color);
}



.content {
  width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  color: #c67a9b;
}

/* 部屋 */
#room {
  width: 1200px;
  height: 600px;
  margin-top: 70px;
  position: relative;
  background-image: url("images/room_bg.png");
  background-size: cover;
  border: 8px solid #caa;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* 動かせるアイテム */
.item {
  position: absolute;
  cursor: grab;
  user-select: none;
  filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.3));
}

.item:active {
  cursor: grabbing;
}

/* サイズ（そのまま） */
.furniture { width: 400px; }
.chair     { width: 150px; }
.food      { width: 50px;  }
.tea       { width: 100px; }
