/* Lingerica.plus — styles.css
   Base variables, layout, responsive behavior, component styles
*/

/* ===========================
   Design Tokens (CSS variables)
   =========================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  color: #333;
  background: #fffafc;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}
.plus {
  color: #e87fa1;
}
.logo a {
  text-decoration: none;
  color: #333;
}

#mainNav{
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  border-top: 1px solid #eee;
}
#mainNav a {
  padding: 12px 18px;
  text-decoration: none;
  color: #333;
}
#mainNav.show {
  display: flex;
}

.mobile-menu-button {
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffe5ed 0%, #fff 100%);
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 1.8rem;
  color: #d65582;
  line-height: 1.4;
}
.hero p {
  color: #555;
  margin: 10px auto 20px;
}
.cta {
  background: #e87fa1;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 24px;
  font-size: 1rem;
}

/* Cards */
.content-grid {
  padding: 30px 20px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.card h2 {
  color: #d65582;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eee;
  min-height:150px;
}
.footer-links {
  margin-top: 8px;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  margin: 0 6px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  padding: 15px;
  display: none;
  z-index: 1000;
}
.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.btn-group button {
  background: #e87fa1;
  color: #fff;
  border: none;
  border-radius: 20px;
  margin: 4px;
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-group button:nth-child(2) {
  background: #ccc;
}
.btn-group button:nth-child(3) {
  background: #f9b2c2;
}

/* Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.cookie-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 350px;
  text-align: center;
}
.modal-buttons button {
  background: #e87fa1;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  margin: 8px;
}

/* ✅ Bottom Navigation */
.bottom-nav {
  position:fixed;
  bottom:0;
  left:0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
  z-index: 100;
  height: 60px;
}

.nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #555;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-item.active,
.nav-item:hover {
  color: #e91e63;
}
.bottom-nav a {
  flex: 1;
  text-align: center;
  color: #777;
  text-decoration: none;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bottom-nav .icon {
  font-size: 1.4rem;
  line-height: 1;
}
.bottom-nav a.active {
  color: #e87fa1;
}


/* Responsive */
@media (min-width: 769px) {
  nav {
    display: flex;
    position: static;
    flex-direction: row;
  }
  .mobile-menu-button {
    display: none;
  }
  .content-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  .card {
    width: 45%;
  }
  
  .bottom-nav {
    display: none; /* PCでは非表示 */
  }
}
