body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    max-width: 900px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
}
h1, h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.question-group {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background-color: #fafbfd;
}
.question-text {
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 15px;
}
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.options label {
    background-color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.options input[type="radio"] {
    display: none;
}
.options input[type="radio"]:checked + label {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
}
.button-container {
    text-align: center;
    margin-top: 30px;
}
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    background-color: #3498db;
    color: #fff;
}
.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
#result-section {
    display: none;
}
#top-questions-section {
    display: none;
}
.chart-container {
    width: 100%;
    max-width: none;
    margin: 30px 0;
}
.result-summary {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}
.result-summary h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}
#ranking-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#ranking-list li {
    background: #e9f5ff;
    border: 1px solid #bce0fd;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    color: #34495e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    width: 80%;
}
#ranking-list li strong {
    color: #e74c3c;
    margin-right: 5px;
}
.anchor-explanation {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}
.anchor-explanation h3 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
}
.top-questions-list {
    list-style-type: none;
    padding: 0;
}
.top-questions-list li {
    background: #ecf0f1;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.top-questions-list li label {
    cursor: pointer;
}
.top-questions-list li input[type="checkbox"] {
    margin-right: 10px;
}
.options-description {
    text-align: left;
    font-size: 0.9em;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    color: #777;
    font-size: 0.8em;
}
.footer a {
    color: #3498db;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.sns-share-buttons {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.sns-share-buttons p {
    font-weight: bold;
    margin-bottom: 10px;
}
.share-btn {
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s;
}
.twitter-btn {
    background-color: #1DA1F2;
}
.twitter-btn:hover {
    background-color: #1789c6;
}
.native-share-btn {
    background-color: #555;
}
.native-share-btn:hover {
    background-color: #333;
}