body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #faf9f7;
  color: #222;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

main {
  padding: 0 1.5rem;
  max-width: 600px;
}

.sicily {
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0.9;
}

h1 {
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

a, button {
  display: inline-block;
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #444;
  text-decoration: none;
  border: 1px solid #d1c7bd;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: none;
  cursor: pointer;
}

a:hover, button:hover {
  background-color: #e8e3dd;
  color: #111;
}

.divider {
  width: 60px;
  height: 1px;
  background-color: #c2b9b0;
  margin: 1.5rem auto;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1c7bd;
  animation: pulse 2.5s ease-in-out infinite;
  margin: 1.5rem auto 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Modal base */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #faf9f7;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  border: 1px solid #d1c7bd;
  border-radius: 4px;
  font-family: "Noto Serif JP", serif;
}

.modal-content button {
  width: 100%;
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
}

.hidden {
  display: none;
}

/* 📱 Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
  }

  a, button {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .divider {
    width: 40px;
  }


}

/* Ensure consistent font for links and buttons */
a, button {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: none;
  border: 1px solid #d1c7bd;
  color: #444;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

a:hover, button:hover {
  background-color: #e8e3dd;
  color: #111;
}

.post {
  margin-bottom: 2rem;
  text-align: left;
  max-width: 600px;
}

.post h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.post .date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.6rem;
}