/* General page styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

/* Header section styling */
header {
    background-color: #bc002d;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Main title styling */
h1 {
    margin: 0;
}

/* Main content layout and styling */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Map container styling */
#map-container {
    margin-bottom: 20px;
    text-align: center;
}

/* Japan map image styling */
#japan-map {
    border: 2px solid #bc002d;
    max-width: 100%;
    height: auto;
}

/* Legend section styling */
#legend {
    margin-top: 20px;
}

/* Legend title styling */
#legend h3 {
    color: #bc002d;
    margin-bottom: 10px;
}

/* City button styling */
.city {
    background-color: #bc002d;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;

    /* Smooth color transition when hovering */
    transition: background-color 0.3s;
}

/* Hover effect for city buttons */
.city:hover {
    background-color: #a80026;
}

/* Itinerary information box */
#itinerary {
    width: 80%;
    max-width: 800px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid #bc002d;
}

/* City title color */
#city-title {
    color: #bc002d;
}

/* Space above the itinerary content */
#city-content {
    margin-top: 10px;
}

/* Bullet list styling */
ul {
    list-style-type: disc;
    margin-left: 20px;
}