body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}

.navigation {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.navigation button:hover {
    background-color: #45a049;
}

.navigation button.active {
    background-color: #3e8e41;
}

#date-section, #memo-section, #other-section {
    position: fixed;
    bottom: 60px; /* ナビゲーションメニューの上 */
    width: 90%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#date-section button, #memo-section button, #other-section button {
    padding: 10px;
    margin: 5px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#date-section button:hover, #memo-section button:hover, #other-section button:hover {
    background-color: #45a049;
}

/* その他セクションの横並び */
#other-section label {
    display: inline-block;
    width: 150px;
    text-align: center;
    margin-right: 10px;
}

#other-section input {
    display: inline-block;
    width: calc(100% - 170px); /* ラベルとスペースを考慮した幅 */
}

#memo-section textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
}

#status-message {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
}

/* 緊急電話ボタンの優先度を上げて赤背景を強制 */
button[onclick*="tel:"] {
    background-color: #f44336 !important;
}
