/* ==============================
共通
============================== */
body {
margin: 0;
font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
user-select: none;
}
/* ==============================
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: 95%;
max-width: 450px;
padding: 25px;
background: #ffffff;
border-radius: 18px;
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
text-align: center;
animation: fadeIn 0.6s ease-out;
}
.index-container h1 {
margin: 0 0 15px;
font-size: 26px;
font-weight: 700;
color: #333;
}
.index-container input[type="text"] {
width: 100%;
padding: 12px;
margin: 10px 0;
font-size: 17px;
border: 2px solid #ddd;
border-radius: 10px;
}
.index-container button {
width: 100%;
padding: 12px;
font-size: 18px;
border: none;
border-radius: 10px;
background: #4ba3ff;
color: white;
cursor: pointer;
}
/* ==============================
map4.html
============================== */
body.map-page {
background: linear-gradient(135deg, #d7efff, #e8ffef);
min-height: 100vh;
box-sizing: border-box;
}
/* レイアウト */
.map-layout {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 20px;
}
/* PC版 */
@media (min-width: 900px) {
.map-layout {
flex-direction: row;
align-items: flex-start;
}
.map-area {
width: 70%;
}
.member-area {
width: 30%;
}
}
/* カード */
.card {
background: #fff;
border-radius: 18px;
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
/* 地図用パディング(ここだけ適用) */
.card-content {
padding: 18px;
}
/* 地図構造 */
#map-wrapper {
padding: 0;
margin: 0;
}
#map {
width: 100%;
height: 480px;
display: block;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
/* メンバー一覧 */
.member-area h2 {
text-align: center;
}
/* メンバーアイコン */
.member-icon {
width: 28px;
height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #6db9ff, #4a90e2);
position: relative;
}
/* オンライン/オフライン */
.online .member-icon::after {
content: "";
position: absolute;
right: -4px;
bottom: -4px;
width: 12px;
height: 12px;
border-radius: 50%;
background: #35cc62;
border: 2px solid white;
}
.offline .member-icon::after {
content: "";
position: absolute;
right: -4px;
bottom: -4px;
width: 12px;
height: 12px;
border-radius: 50%;
background: #ff6b6b;
border: 2px solid white;
}
/* fadeIn */
.fadeIn {
animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(15px); }
to { opacity: 1; transform: translateY(0); }
}