html, body { 
    height: 100%; 
    /*overflow: hidden;*/
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; 
    background-color: #f8fafc; 
    color: #333; 
    display: flex; 
    flex-direction: column; 
}

header { 
    background: linear-gradient(135deg, #1e3a8a, #2563eb); 
    color: white; 
    padding: 15px 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    flex-shrink: 0; 
}

.header-title { 
    font-size: 1.4rem; 
    font-weight: bold; 
    margin: 0; 
}

.help-btn { 
    background-color: white; 
    color: #1e3a8a; 
    padding: 10px 24px; 
    border-radius: 40px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    border: none; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.q-mark { 
    background-color: #ef4444; 
    color: white; 
    width: 24px; height: 24px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1rem; 
    font-weight: bold; 
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px 30px;
	height: 100vh;
	/*overflow: hidden;*/
}

button:not(:disabled):active {
    transform: scale(0.95); 
    filter: brightness(0.95); 
    transition: transform 0.1s;
}

button, a, input, textarea, label {
    -webkit-tap-highlight-color: transparent !important;
}

.container-fluid {
	height: 100%;
	display: flex;
	flex-direction: column;
}