/* 全体 */
body {
margin: 0;
font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
background: #eef6ff;
min-height: 100vh;
}
/* index.html のログインカード */
.container {
width: 95%;
max-width: 450px;
margin: 40px auto;
padding: 25px;
background: white;
border-radius: 18px;
box-shadow: 0 10px 25px rgba(0,0,0,0.12);
text-align: center;
}
/* 入力欄 */
input[type="text"] {
width: 100%;
padding: 12px;
margin: 10px 0;
font-size: 16px;
border-radius: 10px;
border: 2px solid #ddd;
}
/* ボタン */
button {
width: 100%;
padding: 12px;
font-size: 18px;
border-radius: 10px;
background: #4ba3ff;
color: white;
border: none;
cursor: pointer;
}
/* -------------------------------
map4.html レイアウト
--------------------------------*/
.map-layout {
display: flex;
flex-direction: column; /* スマホは縦並び */
gap: 20px;
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
/* PCのときは横並びにする */
@media (min-width: 900px) {
.map-layout {
flex-direction: row;
align-items: flex-start;
}
.map-area {
width: 70%;
}
.member-area {
width: 30%;
max-height: 90vh;
overflow-y: auto;
background: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
}
/* スマホのときは標準の縦並び */
.map-area {
width: 100%;
}
.member-area {
width: 100%;
background: white;
padding: 15px;
border-radius: 12px;
box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
/* 地図 */
#map {
width: 100%;
height: 450px;
border-radius: 15px;
margin-top: 10px;
}
/* メンバーリスト */
#memberList {
padding-left: 18px;
font-size: 18px;
}
#memberList li {
margin-bottom: 8px;
border-bottom: 1px solid #ddd;
padding-bottom: 4px;
}