body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #0056b3;
    text-align: center;
}

.input-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-section input[type="datetime-local"],
.input-section input[type="number"] {
    width: calc(100% - 22px); /* Padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

.output-section {
    margin-top: 20px;
    padding-top: 10px;
}

.output-section p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.output-section span {
    font-weight: bold;
    color: #007bff;
}

.message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

/* セクションごとの色分け */
.calculation-section {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

#priceToTimeSection {
    background-color: #e6f7ff; /* 淡い青 */
    border: 1px solid #99d6ff;
}

#timeToPriceSection {
    background-color: #e6ffe6; /* 淡い緑 */
    border: 1px solid #99ff99;
}

.common-inputs {
    padding-bottom: 20px; /* 基本情報セクションのパディング */
}
