ul, ol {
    margin-left: 25px;
}

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: white;
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
}

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

.file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-upload__input {
    display: none;
}

.file-upload__name {
    color: #666;
    font-size: 14px;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.result-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
}

.preview-container {
    margin-top: 16px;
    text-align: center;
}

.preview-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.specs-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.specs-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.specs-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* スライダーのスタイリング */
.form-range {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #e1e5e9;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    margin: 0;
}

.form-range:focus {
    background: #d4d8dc;
}

/* Webkitブラウザ用のサム（ツマミ） */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.form-range::-webkit-slider-thumb:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

/* Firefox用のサム */
.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.form-range::-moz-range-thumb:hover {
    background: #5a67d8;
    transform: scale(1.1);
}