body {
  font-family: 'DotGothic16', monospace;
  background: radial-gradient(circle, #000010 30%, #0a0a0a 100%);
  color: #fff;
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px #b86eff, 0 0 30px #b86eff, 0 0 50px #b86eff;
  z-index: 1000;
}

.nav-link {
  color: #e0b3ff;
  text-decoration: none;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #d36aff, 0 0 15px #a64dff;
  transition: transform 0.3s, text-shadow 0.3s;
}

.nav-link:hover {
  transform: scale(1.1);
  text-shadow: 0 0 10px #ffaa00, 0 0 20px #ff8800;
}

.form-on-screen {
  max-width: 600px;
  margin: 120px auto;
  background-color: rgba(0, 0, 0, 0.85);
  border: 2px solid #00ffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 10px #00ffff, 0 0 20px #00ccff;
}

.form-on-screen h2 {
  text-align: center;
  text-shadow: 0 0 10px #00ffff;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 15px;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #00ffff;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
  font-family: 'DotGothic16', monospace;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00ffff;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffff, 0 0 20px #00ccff;
  transition: transform 0.3s;
}

button:hover {
  transform: scale(1.05);
}

.back-button {
  text-align: right;
  margin: 20px 40px;
}

.back-button a {
  color: #00ffff;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ffff;
  transition: all 0.3s ease;
}

.back-button a:hover {
  background-color: #00ffff;
  color: #000;
}

.footer {
  background-color: rgb(1, 1, 26);
  color: gold;
  padding: 20px;
  border-top: 5px solid gold;
  text-align: center;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.sns-links img {
  width: 100px;
} 
@media (max-width: 768px) {
  header#main-header {
    display: none; /* スマホではヘッダーを非表示 */
  }
}
/* 既存の下に追記 */

/* ハニーポットは完全非表示 */
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* アラート領域 */
.form-alert {
  margin-top: 12px;
  color: #ffcccc;
  text-shadow: 0 0 6px #ff5555;
  font-size: 0.95rem;
}

/* アクセシビリティ: フォーカス強調 */
input:focus, textarea:focus, button:focus, a:focus {
  outline: 2px solid #00ffff;
  outline-offset: 2px;
}

/* フッター右リストを端に固定 */
footer.footer .footer-content{
  position: relative;            /* 子のabsolute基準にする */
}

footer.footer .footer-links{
  position: absolute;
  right: 1vw;                    /* ← 端寄せ。もっと端なら 0 に */
  top: 0;
  text-align: right;
}

footer.footer .footer-links ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.footer .footer-links li{
  margin: 8px 0;
  letter-spacing: .18em;
  white-space: nowrap;           /* 改行させない（任意） */
}

footer.footer .footer-links a{
  color: gold;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(14px, 1.3vw, 18px);
}

/* モバイルは少しだけ内側に */
@media (max-width: 720px){
  footer.footer .footer-links{ right: 12px; }
}
.is-invalid { border-color: #ff6b6b; box-shadow: 0 0 8px rgba(255,107,107,.6); }