/* J-FOOD 見積計算スタイル */

.jfood-estimate-wrapper {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.estimate-form {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.estimate-form h2 {
    color: #1B5E3F;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1B5E3F;
    box-shadow: 0 0 0 3px rgba(27, 94, 63, 0.1);
}

.btn-calculate {
    width: 100%;
    padding: 14px;
    background-color: #1B5E3F;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-calculate:hover {
    background-color: #154a31;
}

.btn-calculate:active {
    transform: scale(0.98);
}

/* 見積結果 */
.estimate-result {
    background: #f9f9f9;
    border: 2px solid #1B5E3F;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.estimate-result h3 {
    color: #1B5E3F;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item span {
    color: #666;
    font-weight: 500;
}

.result-item strong {
    color: #333;
    font-size: 16px;
}

.result-item.total {
    padding: 15px 0;
    margin-top: 10px;
    border-top: 2px solid #1B5E3F;
    border-bottom: 2px solid #1B5E3F;
}

.result-item.total span {
    font-size: 16px;
    font-weight: 600;
    color: #1B5E3F;
}

.result-item.total strong {
    font-size: 24px;
    color: #1B5E3F;
}

.btn-confirm {
    width: 100%;
    padding: 14px;
    background-color: #228B22;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-confirm:hover {
    background-color: #1a6b1a;
}

.btn-confirm:active {
    transform: scale(0.98);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .estimate-form {
        padding: 20px;
    }

    .estimate-form h2 {
        font-size: 20px;
    }

    .result-item {
        font-size: 14px;
    }

    .result-item strong {
        font-size: 14px;
    }

    .result-item.total strong {
        font-size: 20px;
    }
}
