/* =========================
   Base
========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  background: #f7f8fb;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================
   Header
========================= */
header {
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  color: #fff;
  text-align: center;
  padding: 28px 16px 18px;
}

.site-logo {
  width: 260px;
  margin: 0 auto 8px;
}

header .lead {
  display: block;
  font-size: 15px;
  opacity: 0.9;
  margin-top: 6px;
}

header .catch {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

header .catch span::before,
header .catch span::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 10px;
  vertical-align: middle;
}

/* =========================
   Layout
========================= */
main.archive {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* =========================
   Title
========================= */
.archive-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

/* =========================
   Zodiac Grid
========================= */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 14px;
}

/* =========================
   Zodiac Card
========================= */
.zodiac-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zodiac-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.zodiac-card img {
  width: 48px;
  margin: 0 auto 6px;
}

.zodiac-card span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* =========================
   Footer
========================= */
footer {
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  color: #fff;
  text-align: center;
  padding: 24px 16px 12px;
}

footer p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 10px;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

footer .footer-links a {
  padding: 5px 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 12px;
}

/* =========================
   Responsive (SP)
========================= */
@media (max-width: 600px) {

  .site-logo {
    width: 220px;
  }

  .archive-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;
  }

  .zodiac-card {
    padding: 10px 6px;
  }

  .zodiac-card img {
    width: 42px;
  }

  .zodiac-card span {
    font-size: 13px;
  }
}



.menu-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}


.menu {
  position: fixed;
  top: 56px;
  right: 16px;
  width: 280px;
  max-height: 75vh;
  overflow-y: auto;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 0;
  display: none;
  z-index: 1000;
}

.menu.open {
  display: block;
}


.menu-main {
  list-style: none;
  margin: 0;
  padding: 0;
}


.menu .section {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: bold;
  color: #374151;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.menu .section:first-child {
  border-top: none;
}


.menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  border-top: 1px solid #f1f5f9;
}

.menu a:hover {
  background: #f3f4f6;
}

