/* ポップアップのオーバーレイ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ポップアップの内容 */
.popup-content {
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

/* 閉じるボタン */
.close-button {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 23px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

/* ポップアップ内の画像 */
.popup-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* メインコンテンツのスタイル */
h1 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.content-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.navigation-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.nav-link {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background: #0056b3;
}

/* レスポンシブデザイン */
@media (max-width: 600px) {
  .popup-content {
    max-width: 90%;
    margin: 10px;
  }

  .main-content {
    padding: 20px;
  }
}
