body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: url("assets/bg.png") center/cover;
  overflow: hidden;
}

/* DESKTOP */
.desktop {
  height: 100vh;
  position: relative;
}

/* TASKBAR */
.taskbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 42px;
  background: rgba(20,20,20,0.85);
  display: flex;
  align-items: center;
  color: white;
}

.start {
  width: 50px;
  text-align: center;
  cursor: pointer;
}

.task-title {
  flex: 1;
}

.lang {
  width: 50px;
  text-align: center;
  cursor: pointer;
}

/* START MENU */
.start-menu {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: 220px;
  background: rgba(30,30,30,0.95);
  display: none;
  color: white;
}

.start-menu div {
  padding: 10px;
  cursor: pointer;
}

.start-menu div:hover {
  background: #333;
}

/* WINDOW */
.window {
  position: absolute;
  top: 60px;
  left: 80px;
  width: 900px;
  height: 500px;
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* TITLE BAR */
.titlebar {
  height: 36px;
  background: #0078d4;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  cursor: move;
}

/* BODY */
.window-body {
  display: flex;
  height: calc(100% - 36px);
}

/* NAV */
.nav {
  width: 180px;
  background: #ffffff;
  border-right: 1px solid #ddd;
}

.nav-item {
  padding: 10px;
  cursor: pointer;
}

.nav-item.active {
  background: #e6f2ff;
}

/* CONTENT */
.content {
  flex: 1;
  padding: 16px;
  overflow: auto;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.shot {
  width: 100%;
  margin-top: 10px;
  border: 1px solid #ddd;
}

.box {
  background: white;
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 10px;
}

/* ★追加：デスクトップアイコン */
.desktop-icons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 80px;
  gap: 15px;
}

.icon {
  width: 80px;
  height: 80px;
  color: white;
  text-align: center;
  cursor: pointer;
  user-select: none;
  font-size: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.icon div {
  font-size: 12px;
  margin-top: 4px;
}

.icon:hover {
  background: rgba(255,255,255,0.15);
}
/* ★時計（右下） */
.clock {
  width: 140px;
  text-align: right;
  padding-right: 10px;
  font-size: 12px;
  color: white;
  user-select: none;
}

/* =========================
   カレンダーUI
========================= */
.calendar {
  position: absolute;
  bottom: 50px;
  right: 10px;
  width: 260px;
  background: #1f1f1f;
  color: white;
  border-radius: 10px;
  padding: 10px;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 12px;
  z-index: 9999;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-grid div {
  padding: 4px 0;
  border-radius: 4px;
}

.calendar-grid .today {
  background: #0078d4;
}
#usageList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-box {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 16px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s;
}

.usage-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.usage-image {
  margin-top: 12px;
}

.usage-image img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}

#functionList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.function-box {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 16px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s;
}

.function-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}