/* ==============================
共通
============================== */
* { box-sizing: border-box; }
body {
margin: 0;
font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
background: linear-gradient(135deg, #d7efff, #e8ffef);
}
/* ==============================
index.html
============================== */
body.index-page {
background: linear-gradient(135deg, #9be2ff, #c7f5d9);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.index-container {
width: 92%;
max-width: 420px;
padding: 30px 20px;
background: white;
border-radius: 24px;
box-shadow: 0 12px 30px rgba(0,0,0,0.15);
text-align: center;
}
/* ★ パスワード欄大きくする(追加) */
.index-container input[type="password"] {
width: 100%;
padding: 15px;
margin-top: 14px;
border: 2px solid #ddd;
font-size: 18px;
border-radius: 12px;
}
.index-container input[type="text"] {
width: 100%;
padding: 15px;
margin-top: 14px;
border: 2px solid #ddd;
font-size: 18px;
border-radius: 12px;
}
.start-btn {
width: 100%;
padding: 12px;
margin-top: 20px;
font-size: 18px;
border-radius: 12px;
border: none;
color: white;
background: #4ba3ff;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* ==============================
map4.html(旧レイアウト)
============================== */
#header {
display: flex;
justify-content: space-between;
padding: 12px 16px;
background: white;
border-bottom: 2px solid #b4e3c2;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#exitBtn {
padding: 10px 14px;
background: #ff6b6b;
border: none;
border-radius: 10px;
color: white;
}
#map {
width: 100%;
height: 450px;
margin-top: 16px;
border-radius: 14px;
box-shadow: 0 4px 20px rgba(0,0,0,0.20);
overflow: hidden;
}
/* 目的地・駅情報 */
#targetInfo,
#nearestBox {
margin: 16px;
padding: 14px;
background: white;
border-radius: 14px;
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
font-size: 15px;
}
.sectionTitle {
margin-left: 16px;
margin-top: 25px;
font-size: 18px;
}
/* メンバー一覧 */
#memberList {
list-style: none;
padding: 0 16px;
}
#memberList li {
background: #f2f6ff;
padding: 12px;
margin: 10px 0;
display: flex;
justify-content: space-between;
gap: 12px;
border-left: 5px solid #4ba3ff;
border-radius: 14px;
}
.member-icon {
width: 26px;
height: 26px;
border-radius: 50%;
position: relative;
flex-shrink: 0;
}
.member-icon::after {
content: "";
position: absolute;
width: 12px;
height: 12px;
border-radius: 50%;
bottom: -3px;
right: -3px;
border: 2px solid white;
}
.online .member-icon::after { background: #22dd77; }
.offline .member-icon::after { background: #ff5d5d; }
/* ピン表示 */
.custom-pin { transform-origin: center bottom; }
.pin-wrapper { position: relative; transform: translate(-16px, -32px); }
.pin-img { width: 32px; height: 32px; }
.pin-label {
background: white;
padding: 2px 6px;
font-size: 12px;
border-radius: 6px;
border: 1px solid #ccc;
}
/* ==============================
★ チャット欄(旧レイアウト版)
============================== */
#chatBox {
background: white;
margin: 20px;
padding: 16px;
border-radius: 14px;
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
#chatList {
height: 220px;
background: #f7faff;
border: 1px solid #d0d8e6;
border-radius: 10px;
padding: 10px;
overflow-y: auto;
margin-bottom: 12px;
font-size: 14px;
}
#chatInputArea {
display: flex;
gap: 10px;
}
#chatInput {
flex: 1;
padding: 12px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 12px;
}
#chatSend {
padding: 10px 16px;
background: #4caf50;
border: none;
border-radius: 12px;
color: white;
font-size: 15px;
font-weight: bold;
cursor: pointer;
}