img {
    width: 10%;
    height: auto;
}

body {
    background-color: deeppink;
    font-family: 'Silkscreen', 'WDXL Lubrifont JP N', Verdana, Arial, Helvetica, 'sans-serif';
}

.header {
    font-size: 50px;
    font: bold;
    color: rgb(20, 220, 210);
    text-align: center;
 padding: 1rem;
}

#header {
    margin: 100px;
}

#footer {
    text-align: center;
    font-size: 10px;
}

.content {
    max-width: 600px;
    margin: 40px;

}

.navbar {
    font-size: 20px;
    font: bold;
    color: rgb(241, 244, 245);
    padding: 0;
    margin: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 2rem;
}

.navbar ul {
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
    padding: 0;
    margin: 0;
}

.navbar li {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
}

* {
    cursor: url(cursor.png)0 0, auto;
}


.update-log {
  background: #f700ff;
  padding: 1em 1.5em;
  margin: 2em 0;
  font-family: "DotGothic16", monospace;
  box-shadow: inset 0 0 20px rgba(200,0,0,0.15);
  position: relative;
}

.update-log h2 {
  text-align: center;
  color: rgb(0, 230, 230);
  margin-bottom: 0.5em;
  border-bottom: 2px solid crimson;
  padding-bottom: 0.3em;
}

.update-log ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-log li {
  padding: 0.5em 0;
  border-bottom: 1px dotted crimson;
  position: relative;
}

.update-log .date {
  display: inline-block;
  font-weight: bold;
  color: crimson;
  margin-right: 0.5em;
}

.update-log li::before {
  content: "✚";
  color: crimson;
  position: absolute;
  left: -1.5em;
}

/* 🩸 赤ペン追記風アニメ */
.update-log li.new {
  color: rgb(121, 0, 24);
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.update-log li.new::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #f700ff;
;
  animation: writein 2s steps(30, end) forwards;
}

@keyframes writein {
  from { left: 0; }
  to { left: 100%; }
}
/* 虹文字 */
.rainbow-text {
  font-weight: bold;
  background: linear-gradient(270deg, rgb(255, 0, 140), rgb(0, 255, 191), yellow, rgb(162, 0, 255), rgb(63, 0, 0), indigo, violet);
  background-size: 1400% 1400%; /* アニメーション用に拡大 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease infinite;
}

/* アニメーション定義 */
@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ライトボックスの縦スクロール */
#lightboxContent {
    overflow-y: auto;
    max-height: 80vh;
    padding-right: 50px; /* スクロールバーのスペース確保 */
}

/* スクロールバー全体の背景 */
#lightboxContent::-webkit-scrollbar {
    width: 30px;
    background: transparent;
}

/* カプセル型スクロールバーのつまみ */
#lightboxContent::-webkit-scrollbar-thumb {
    border-radius: 50px; /* 丸みを強調 */
    height: 20px; /* 短めに */
    background: linear-gradient(
        to bottom,
        #ff00aa 0%,
        #f50066 50%,
        #ffffff 50%,
        #f7f8fc 100%
    );
    border: 1px solid #000000;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.6), 0 0 4px rgba(0,0,0,0.3);
}

/* 光沢のハイライト */
#lightboxContent::-webkit-scrollbar-thumb::before {
    content: "";
    display: block;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 80%);
}

/* ホバー時の効果 */
#lightboxContent::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.2);
}


.capsule-title {
    position: relative;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    font-family: 'DotGothic16', sans-serif;
}

/* 左のカプセル */
.capsule-title::before,
.capsule-title::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 12px;
    border-radius: 12px; /* カプセル型 */
    background: linear-gradient(to right, #ff0000 50%, #ffffff 50%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* 左側 */
.capsule-title::before {
    left: 20px; /* 文字からの距離 */
}

/* 右側 */
.capsule-title::after {
    right: 20px;
}
/* ホバー時に左右のカプセルを少し揺らす */
.capsule-title:hover::before {
    transform: translateY(-50%) rotate(-15deg);
}

.capsule-title:hover::after {
    transform: translateY(-50%) rotate(15deg);
}


.filters button {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin: 5px;
    border: none;
    border-radius: 20px; /* 丸み */
    font-family: 'Silkscreen', Verdana, Arial, Helvetica, 'sans-serif';
    font-weight: 700;
    color: #000d46;
    background: linear-gradient(to right, #ff0077 50%, #ffffff 50%); /* 二色カプセル風 */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバーで軽く揺れる */
.filters button:hover {
    transform: rotate(-10deg) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 選択中 */
.filters button.active {
    background: linear-gradient(to right, #000000 50%, #ff5100 50%);
    color: #ffffff;
}

/* カプセルを降らす */
#capsule-area canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* ←クリックを邪魔しない */
  z-index: 1; /* 背景の上、UIの下に */
}

.capsule-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 28px;
  border: none;
  border-radius: 999px; /* ←カプセルの丸み */
  background: linear-gradient(to right, #ff3366 50%, #ffffff 50%);
  color: #222;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

/* ホバー時：ぷるっと揺れる感じ */
.capsule-button:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

#pet-img {
  user-select: none;  /* 選択不可 */
  -webkit-user-drag: none; /* Safari対応 */

}

