body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc; /* 非常に薄い青灰色 */
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #d1e2e9; /* 優しい水色 */
    color: #004d40; /* 濃い緑 */
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

header p {
    margin-top: 10px;
    font-size: 1.1em;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

#simulator-container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 影を柔らかく */
}

.step {
    text-align: left;
}

.form-group {
    margin-bottom: 30px;
}
/* スライダーと目盛りを配置するための親要素 */
.form-group-with-labels {
    position: relative;
    padding-bottom: 25px; /* 数字分のスペースを確保 */
}

/* スライダーの数字の配置 */
.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 12px; /* スライダーのつまみに合わせるための調整 */
    box-sizing: border-box;
}

.slider-labels span {
    font-size: 0.9em;
    color: #666;
    transform: translateX(-50%); /* 数字を中央に配置 */
}

.form-group p {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.form-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #d1e2e9;
    border-radius: 5px;
    outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #00796b;
    cursor: pointer;
    border-radius: 50%;
}

.form-group .radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f8f8;
    border: 1px solid #d1e2e9;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-group label:hover {
    background-color: #e9eef5;
    border-color: #b1cce8;
}

.form-group input[type="radio"] {
    margin-right: 10px;
}

#calculate-button {
    background-color: #81c784; /* 優しい緑色 */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
}

#calculate-button:hover {
    background-color: #66bb6a;
}

#result-step {
    text-align: center;
}

.result-box {
    margin-top: 30px;
    padding: 25px;
    border: 2px solid #81c784;
    border-radius: 8px;
    background-color: #e8f5e9; /* 薄い緑 */
}

.result-box h3 {
    margin-top: 0;
    color: #004d40;
}

.result-box .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #00796b;
    margin: 10px 0;
}

.result-box .breakdown {
    text-align: left;
    margin-top: 20px;
    font-size: 0.9em;
}

.result-box .breakdown ul {
    list-style-type: none;
    padding: 0;
}

.result-box .breakdown li {
    margin-bottom: 5px;
}

.disclaimer {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}
.back-button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 15px;
}

.back-button:hover {
    background-color: #e0e0e0;
}

.note {
    font-size: 0.8em;
    color: #666;
    margin-top: 15px;
    padding: 10px;
    border-left: 3px solid #66bb6a;
    background-color: #f0f7f6;
}
footer {
    text-align: center; /* この行を追加します */
    padding: 20px;
    color: #666;
    font-size: 0.9em;
}