body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.title-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-text {
    text-align: left;
}

h1 {
    color: #2d3748;
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.2;
}

.subtitle {
    color: #718096;
    margin: 0;
    font-size: 0.9em;
    font-weight: 500;
}

.description {
    color: #2d3748;
    margin: 8px 0 0 0;
    font-size: 0.9em;
    font-weight: 400;
}

.password-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.password-item {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 20px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.2s ease;
    word-break: break-all;
    position: relative;
    text-align: center;
}

.password-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.password-item:active {
    background: #e2e8f0;
}

.copy-hint {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75em;
    color: #a0aec0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.generate-btn {
    background: #4A473B;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    display: block;
    margin: 24px auto 0;
    transition: background-color 0.2s ease;
    min-width: 120px;
}

.generate-btn:hover {
    background: #3a362c;
}

.generate-btn:active {
    background: #2d2922;
    transform: translateY(0);
}

.controls {
    margin: 20px 0;
    padding: 16px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.control-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.control-row:last-child {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.slider-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #2d3748;
    flex: 1;
}

.slider-label input[type="range"] {
    flex: 1;
    max-width: 200px;
    margin: 0 8px;
}

#numberCountValue {
    font-weight: 600;
    color: #3182ce;
    min-width: 20px;
    text-align: center;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2d3748;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.password-breakdown {
    font-size: 0.75em;
    color: #a0aec0;
    margin-top: 4px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.symbol { color: #e53e3e; font-weight: 600; }
.letter { color: #3182ce; font-weight: 600; }
.number { color: #2d3748; font-weight: 600; }
.zero { color: #38a169; font-weight: 600; }

/* モバイル対応 */
@media (max-width: 600px) {
    body { 
        padding: 20px 16px; 
    }
    
    .container { 
        padding: 20px; 
    }
    
    .title-section {
        gap: 8px;
    }
    
    .title-icon {
        width: 40px;
        height: 40px;
    }
    
    h1 { 
        font-size: 1.4em; 
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .password-item { 
        font-size: 1.2em; 
        padding: 10px 12px; 
    }
    
    .copy-hint { 
        display: none; 
    }
    .control-row {
        gap: 0;
    }

    
    
}