body {
    margin: 0;
    padding: 0;
}

/*#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}*/

#map {
    width: 100%;
    height: 400px;
}

#route-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    z-index: 1000;
    display: none; /* 初期非表示 */
}

#steps {
    /*background: yellow;
    color: black;
    min-height: 200px;*/
    padding: 20px;
}

.step-card {
	background: #ffffff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	/*display: flex;
	align-items: center;*/
}

.step-instruction {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.step-distance {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}

.preset-buttons {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;

    background: rgba(255,255,255,0.9);
    padding: 6px;
    border-radius: 8px;
}

.preset-buttons button {
    padding: 8px 12px;
    margin-right: 5px;
}

.destination-panel {
    display: flex;
    gap: 8px;
    padding: 10px;
}

#destination-input {
    flex: 1;
    padding: 8px;
}

#search-btn {
    padding: 8px 16px;
}

#status-message {
    margin-top: 10px;
    text-align: center;
    color: #007AFF;
    font-size: 14px;
    font-weight: bold;
}

#candidate-list {
    margin-top: 10px;
    padding: 10px;
}

.candidate {
    padding: 12px;
    margin-bottom: 8px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 8px;

    cursor: pointer;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1);

    transition:
        background-color 0.2s ease;
}

.candidate:hover {
    background: #f5f5f5;
}

.candidate:active {
    background: #e8f0fe;
}

.candidate-name {
    font-weight: 600;
    font-size: 1rem;
}

.candidate-distance {
    margin-top: 4px;
    color: #666666;
    font-size: 0.9em;
}