/* =========================
   Header / Layout Base
========================= */

/* 表示制御 */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* =========================
   PC Header
========================= */

.neo-header {
  position: sticky;
  top: 0;
  height: 80px;
  z-index: 50;

  /* 背景を透過して季節画像を見せる */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* 未来系演出は全部削除 */
.neo-header::before,
.neo-header::after {
  display: none;
}

/* header 内部 */
.neo-header-inner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.neo-spacer {
  flex: 1;
}

/* =========================
   Navigation
========================= */

.neo-nav a {
  margin-left: 26px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #4a2a3f;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.neo-nav a:hover {
  opacity: 1;
}

/* 下線だけ残す（上品） */
.neo-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 70%;
  height: 2px;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);

  transform: translateX(-50%) scaleX(0);
  transition: transform 0.25s ease;
}

.neo-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* logout */
.neo-logout {
  position: absolute;
  top: 150%;
  right: 20px;
  transform: translateY(-50%);

  width: 80px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 10px;
  line-height: 1.05;
  letter-spacing: 0.12em;
  font-weight: 600;

  color: #7f1d1d;
  text-decoration: none;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);

  box-shadow:
    0 4px 8px rgba(74, 42, 63, 0.2);

  transition: transform 0.25s ease;
}

.neo-logout:hover {
  transform: translateY(-50%) scale(1.03);
}

/* =========================
   Footer
========================= */

footer {
  position: relative;
  padding: 30px 0 20px;
  text-align: center;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);

  color: #7a5a6b;
  border-top: 1px solid rgba(255, 255, 255, 0.3);

  font-family: "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

footer small {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6b4a5a;
  opacity: 0.9;
}

.footer-legal {
  margin-top: 8px;
}

footer small a {
  color: #794cff;
  text-decoration: none;
  margin: 0 4px;
  opacity: 0.85;
}

footer small a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* =========================
   Mobile
========================= */
@media (max-width: 767px) {

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .neo-header {
    height: 64px;
  }

  .neo-nav a {
    margin-left: 18px;
    font-size: 13px;
  }

  /* SP Header */
  .neo-header-simple {
    position: sticky;
    top: 0;
    z-index: 50;

    text-align: center;
    padding: 14px 16px 16px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);

    font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
  }

  .neo-header-simple::before {
    display: none;
  }

  .neo-logout {
    top: 16%;
    right: 2%;
  }

  .neo-header-title {
    font-size: clamp(16px, 4.4vw, 20px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4a2a3f;
  }

  .neo-header-hr {
    margin: 10px auto 8px;
    border: none;
    height: 2px;
    width: 72%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.75),
        transparent);
  }

  .neo-nav-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 16px;
    justify-items: center;
  }

  .neo-nav-simple a {
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #3e2a34;
    text-decoration: none;
    padding: 6px 2px;
  }

  .neo-nav-simple a:active {
    transform: scale(0.96);
    opacity: 0.7;
  }
}

@media(max-width:480px) {
  .neo-logout {
    top: 26px;
    width: 70px;
    height: 38px;
  }
}