
/* =========================
   KOKONA'S WEB ROOM
   2000s retro style
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  background-color: #dff6ff;
  background-image:
    radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 18px 18px;
  color: #426b91;
  font-family: "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  text-align: center;
}

.container {
  max-width: 760px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border: 3px double #91d8f5;
  box-shadow: 0 0 15px #a8e8ff;
}

h1 {
  color: #4ca9dc;
  font-size: 32px;
  text-shadow: 2px 2px #d5f4ff;
}

.subtitle {
  color: #8bbbd8;
  font-size: 13px;
  letter-spacing: 3px;
}

hr {
  border: none;
  border-top: 2px dotted #9bdcf5;
  margin: 20px 0;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.menu a {
  display: inline-block;
  padding: 8px 16px;
  color: #ffffff;
  background: #83cbea;
  border: 2px outset #bdeaff;
  text-decoration: none;
  font-size: 14px;
}

.menu a:hover {
  background: #ffacd4;
  color: white;
}

.welcome {
  padding: 20px;
  background: #effaff;
  border: 1px dashed #91d8f5;
  line-height: 1.8;
}

.counter {
  color: #ed83b4;
  font-weight: bold;
  font-size: 18px;
}

footer {
  margin-top: 25px;
  color: #9bbbd0;
  font-size: 12px;
}

@media (max-width: 500px) {
  body {
    padding: 8px;
  }

  .container {
    padding: 14px;
  }

  h1 {
    font-size: 25px;
  }
}

/* ===== RETRO ANIMATIONS ===== */

/* 点滅文字 */
.blink {
  animation: blink 1s steps(2, start) infinite;
  color: #ff69ad;
  font-weight: bold;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* キラキラ文字 */
.sparkle {
  color: #70bce8;
  text-shadow:
    0 0 4px #ffffff,
    0 0 8px #8edfff,
    0 0 12px #8edfff;
  animation: twinkle 1.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from {
    opacity: 0.55;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* お知らせボックス */
.notice {
  margin: 20px 0;
  padding: 12px;
  background: #fff2fa;
  border: 2px dotted #f4a6ce;
  color: #d46b9e;
  font-size: 13px;
}

/* 星の装飾 */
.star {
  color: #ffacd4;
  display: inline-block;
  animation: twinkle 1.2s ease-in-out infinite alternate;
}

/* 流れる文字 */
marquee {
  color: #e879b1;
  font-weight: bold;
  padding: 8px;
}

/* BBS FORM */
input,
textarea {
  width: 90%;
  max-width: 450px;
  padding: 10px;
  margin: 6px;
  border: 2px inset #bdeaff;
  background: #f5fcff;
  color: #426b91;
  font-family: inherit;
  font-size: 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  padding: 10px 28px;
  border: 2px outset #bdeaff;
  background: #83cbea;
  color: white;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
}

button:hover {
  background: #ffacd4;
}
.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}