/* 基本設定 */
body {
  margin: 0;
  padding: 0;
  font-family: '0kesip', 'Baloo 2', cursive;
  background-color: #ffe6f0;
  color: #4b2c36;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

/* ヘッダー */
header {
  background-color: #ffb6c1;
  border: 5px dotted #fff;
  border-radius: 20px;
  padding: 30px 10px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

header h1 {
  font-family: 'Bangers', cursive;
  font-size: 42px;
  color: #ff69b4;
  margin: 0;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* ハムスターGIF */
.nuko-gif {
  width: 60px;
  height: auto;
}

.nuko-gif.flip {
  transform: scaleX(-1);
}

/* 右下にふわふわ浮く画像 */
header .IMG_3167\.gif {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* サイドバー */
.sidebar {
  background-color: #ffeaf7;
  border: 3px dashed #ff99cc;
  padding: 15px;
  border-radius: 15px;
  width: 200px;
}

.sidebar.left {
  float: left;
  margin-right: 20px;
}

.sidebar.right {
  float: right;
  margin-left: 20px;
}

.section-title {
  font-family: '0kesip', cursive;
  font-weight: bold;
  font-size: 20px;
  color: #d63384;
  margin-bottom: 10px;
}

/* リンク */
.sidebar a {
  text-decoration: none;
  color: #ff4d6d;
  font-family: '0kesip', cursive;
  font-weight: 600;
  display: block;
  margin: 5px 0;
}

.sidebar a:hover {
  color: #ff85a1;
}

/* メインコンテンツ */
.content {
  overflow: hidden;
}

.box {
  background-color: #fff0fa;
  border: 3px dotted #ffb3da;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

/* 見出し */
h2, h3 {
  font-family: 'Bangers', cursive;
  color: #ff1493;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
  margin-bottom: 10px;
}

/* フッター */
footer {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  color: #888;
}