Newer
Older
sasoh / shonai_tiiki_map.css
/* 全体のスタイル */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fdf6e3; /* 和紙風の薄いベージュ */
  color: #3b2f2f; /* こげ茶 */
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  text-align: center;
  margin: 0;
  padding: 20px;
  background-color: #2e8b57; /* 深緑 */
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  border-bottom: 4px solid #8b4513; /* こげ茶アクセント */
}

a {
  color: #b22222; /* 赤茶 */
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #ccc;
}

/* ポップアップ */
.popup-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #8b4513; /* 老舗看板っぽい茶色 */
}

.popup-content p {
  margin: 8px 0;
  color: #3b2f2f;
}

/* マップ枠 */
#map {
  height: 500px;
  margin: 20px;
  border: 2px solid #8b4513; /* 茶色 */
  border-radius: 8px;
}

    /* レスポンシブ対応 */
    @media (max-width: 768px) {
      #map {
        height: 600px;
      }
     
      .search-container input[type="text"] {
        font-size: 16px;
        padding: 12px;
      }
    }

/* サブリンク */
.sub-link {
  text-align: center;
  margin: 10px 0 20px 0;
  font-size: 18px;
}

.sub-link a {
  color: #2e8b57; /* 深緑 */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.sub-link a:hover {
  border-bottom: 2px solid #8b4513; /* 茶色 */
  color: #b22222; /* 赤茶 */
}