@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
  --bg-pink: #fce4ec;
  --bg-black: #121212;
  --bg-blue: #e3f2fd;
  --accent-blue: #2196f3;
  --white-overlay: rgba(255, 255, 255, 0.4);
  --text-color: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-pink);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background image handling */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-pink);
  /* Fallback */
}

header {
  padding: 10px 20px;
  z-index: 10;
}

.site-name {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.content-box {
  background-color: var(--white-overlay);
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

input[type="password"] {
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 200px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
}

button {
  padding: 8px 20px;
  background-color: var(--bg-black);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.8;
}

footer {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-size: 0.8rem;
}

.mail-icon {
  width: 20px;
  height: auto;
  margin-right: 5px;
}

/* Transitions */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.gallery-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.gallery-item-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.gallery-card p {
  font-size: 0.95rem;
  font-weight: 400;
}