body {
  background-color: #dff1ff;
  font-family: 'Comic Sans MS', cursive, 'MS PGothic', Osaka, sans-serif;
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

#header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to bottom, #ffffff, #ccf2ff);
  border-bottom: 2px solid #a0d8ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#header img {
  max-width: 100%;
  height: auto;
}
#header-subtext {
  text-align: center;
  font-size: 18px;
  color: #66b2ff;
  font-family: 'Comic Sans MS', cursive;
  margin-top: 5px;
  margin-bottom: 20px;
  text-shadow:
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff;
}

#wrapper {
  display: flex;
  width: 900px;
  margin: 0 auto;
}
#sidebar {
  width: 180px;
  padding: 10px;
}
#main {
  flex: 1;
  background: #ffffff;
  border: 1px solid #a0c8ff;
  margin: 10px;
  padding: 15px;
  box-shadow: 3px 3px #aaccee;
  border-radius: 8px;
}

.menu-box {
  background: linear-gradient(to bottom, #dcecff, #c0d9ff);
  border: 1px solid #aaa;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 5px;
  box-shadow: 2px 2px #ccddee;
}
.menu-title {
  background-color: #b0d0ff;
  font-weight: bold;
  padding: 3px;
  margin-bottom: 5px;
  border-radius: 5px;
}
.menu-box ul {
  list-style: none;
  padding-left: 0;
}
.menu-box li {
  padding: 3px 0;
}
.menu-box a {
  color: #0044aa;
  text-decoration: none;
}
.menu-box a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  margin: 30px auto 10px;
  font-size: 10px;
  color: #666;
}

.main-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.record-button {
  text-align: center;
  margin-top: 30px;
}
.record-button a {
  display: inline-block;
  background: linear-gradient(to right, #ccf1ff, #e4d6ff);
  color: #663399;
  font-size: 14px;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(150, 150, 255, 0.3);
  border: 2px dashed #bfaaff;
  font-family: 'Comic Sans MS', cursive;
  transition: 0.2s ease-in-out;
}
.record-button a:hover {
  transform: scale(1.05);
  background: #f7eeff;
}

/* 浮遊アニメーション */
.floating-img {
  position: fixed;
  user-select: none;
  pointer-events: none;
  opacity: 0.9;
  width: 100px;
  height: auto;
  z-index: 1;
  animation-timing-function: ease-in-out;
}
@keyframes float1 {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(15deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
@keyframes float2 {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-25px, -25px) rotate(-15deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}