/* ========================================
   リセット & 基本スタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 30%, #ffe8cc 70%, #ffd9a6 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   スクリーン管理
   ======================================== */
.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   スタート画面
   ======================================== */
#startScreen {
    text-align: center;
}

.header-illustration {
    position: relative;
    height: 150px;
    margin-bottom: 30px;
}

.illustration-circle {
    position: absolute;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    left: 20%;
    top: 20px;
    animation-delay: 0s;
    box-shadow: 0 5px 15px rgba(255, 183, 77, 0.3);
}

.circle-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    right: 25%;
    top: 0;
    animation-delay: 0.5s;
    box-shadow: 0 5px 15px rgba(255, 183, 77, 0.2);
}

.circle-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffecb3, #ffd54f);
    right: 15%;
    top: 60px;
    animation-delay: 1s;
    box-shadow: 0 5px 15px rgba(255, 213, 79, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.title-accent {
    color: #ff6f00;
    font-size: 2rem;
    display: block;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #2c2c2c;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ボタンスタイル */
.btn {
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5);
}

.btn-secondary {
    background: white;
    color: #ff9800;
    margin-top: 30px;
    border: 2px solid #ffe0b2;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    background: #fff8f0;
    border-color: #ffcc80;
}

.btn-cta {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    width: 100%;
    margin-top: 30px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

/* 特徴リスト */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ========================================
   質問画面
   ======================================== */
.progress-container {
    margin-bottom: 40px;
    position: relative;
}

.back-button {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ffe0b2;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff6f00;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-button:hover {
    background: #fff3e0;
    border-color: #ff9800;
    transform: translateX(-5px);
}

.back-button:active {
    transform: translateX(-3px);
}

.progress-bar {
    background: rgba(255, 255, 255, 0.8);
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    background: linear-gradient(90deg, #ffcc80, #ff9800);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.question-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.question-number {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.question-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.options {
    display: grid;
    gap: 15px;
}

.option-btn {
    background: #f8f9fa;
    border: 3px solid transparent;
    padding: 20px 30px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}

.option-btn:hover {
    background: #fff8f0;
    border-color: #ffcc80;
    transform: translateX(10px);
}

.option-btn.selected {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-color: #ff9800;
    color: #ff6f00;
    font-weight: 700;
}

/* ========================================
   年収入力画面
   ======================================== */
#salaryInputScreen {
    text-align: center;
}

.salary-input-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease;
    position: relative;
}

.back-button-salary {
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid #ffe0b2;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6f00;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-button-salary:hover {
    background: #fff3e0;
    border-color: #ff9800;
    transform: translateX(-5px);
}

.salary-input-header {
    margin-bottom: 40px;
}

.salary-input-title {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
}

.salary-input-subtitle {
    font-size: 1.3rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
}

.salary-input-note {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    padding: 15px;
    background: #fff8f0;
    border-radius: 10px;
    border-left: 4px solid #ffcc80;
}

.salary-input-form {
    margin-top: 30px;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.salary-input {
    width: 200px;
    padding: 20px 25px;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid #ffe0b2;
    border-radius: 15px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.salary-input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
}

.input-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff9800;
}

.salary-quick-select {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.quick-select-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-select-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-select-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid #ffe0b2;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.quick-select-btn:hover {
    background: #fff3e0;
    border-color: #ff9800;
    transform: translateY(-2px);
}

.quick-select-btn.active {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    border-color: #ff9800;
}

.btn-submit-salary {
    width: 100%;
    margin-bottom: 15px;
}

.btn-skip {
    background: none;
    border: none;
    color: #999;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 10px;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-skip:hover {
    color: #666;
}

/* ========================================
   ローディング画面
   ======================================== */
.loading-animation {
    text-align: center;
    margin-bottom: 40px;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffd54f;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.loading-dots span {
    width: 15px;
    height: 15px;
    background: #ff9800;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loading-title {
    font-size: 2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.loading-text {
    font-size: 1.2rem;
    color: #2c2c2c;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ========================================
   結果画面
   ======================================== */
.result-header {
    text-align: center;
    margin-bottom: 50px;
}

.result-celebration {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: celebrate 1s ease-in-out;
}

@keyframes celebrate {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.result-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.result-subtitle {
    font-size: 1.2rem;
    color: #2c2c2c;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: cardAppear 0.6s ease forwards;
    opacity: 0;
}

.result-card:nth-child(1) {
    animation-delay: 0.1s;
}

.result-card:nth-child(2) {
    animation-delay: 0.2s;
}

.result-card:nth-child(3) {
    animation-delay: 0.3s;
}

.result-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.card-content {
    margin-top: 15px;
}

.salary-amount, .job-title, .workstyle-type, .company-type {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-salary .salary-amount {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-job .job-title {
    background: linear-gradient(135deg, #ffa726, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-workstyle .workstyle-type {
    background: linear-gradient(135deg, #ffb74d, #ff7043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-company .company-type {
    background: linear-gradient(135deg, #ffab40, #ff6d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-reason {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
}

/* 職種リスト表示 */
.job-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.job-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job-rank {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffa726, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 働き方リスト表示 */
.workstyle-item, .company-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff8f0;
    border-radius: 15px;
    border-left: 4px solid #ffcc80;
}

.workstyle-item:last-child, .company-item:last-child {
    margin-bottom: 0;
}

.workstyle-item.primary, .company-item.primary {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-left-color: #ff9800;
}

.workstyle-badge, .company-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.workstyle-type, .company-type {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
}

.workstyle-item .card-reason, .company-item .card-reason {
    background: white;
    font-size: 0.95rem;
}

/* ========================================
   キャリアロードマップ
   ======================================== */
.roadmap-section {
    background: white;
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    animation: cardAppear 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.roadmap-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.roadmap-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

.roadmap-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
}

.roadmap-step {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #fff8f0, #fff3e0);
    border: 3px solid #ffe0b2;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.2);
    border-color: #ffcc80;
}

.roadmap-step[data-step="4"] {
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    border-color: #ff9800;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description span {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.1rem;
}

.step-goals {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 0.9rem;
    color: #555;
}

.step-goals li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.step-goals li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: 700;
}

.roadmap-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #ffcc80;
    font-weight: 900;
    flex-shrink: 0;
}

/* ========================================
   強みグラフセクション
   ======================================== */
.traits-section {
    background: white;
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    animation: cardAppear 0.6s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.traits-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.traits-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

.traits-chart {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   キャリデリCTAセクション
   ======================================== */
.cta-section {
    margin: 60px 0 40px;
}

.cta-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: cardAppear 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.cta-comparison {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.comparison-item {
    flex: 1;
    min-width: 280px;
}

.comparison-label {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.comparison-label.old {
    background: #e9ecef;
    color: #6c757d;
}

.comparison-label.new {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.comparison-list.highlight li {
    color: #333;
    font-weight: 600;
}

.comparison-arrow {
    font-size: 2rem;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.cta-highlight {
    background: linear-gradient(135deg, #fff8f0, #fff3e0, #ffe0b2);
    border: 3px solid #ffcc80;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 25px rgba(255, 183, 77, 0.15);
}

.highlight-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-title {
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.4;
}

.highlight-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-weight: 700;
    color: #333;
}

.cta-note {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .title-accent {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    .features {
        gap: 15px;
    }

    .feature-item {
        padding: 12px 20px;
    }

    .question-card {
        padding: 30px;
    }

    .question-text {
        font-size: 1.4rem;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .salary-amount, .job-title, .workstyle-type, .company-type {
        font-size: 1.6rem;
    }

    .cta-card {
        padding: 30px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-comparison {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .cta-highlight {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .highlight-title {
        font-size: 1.1rem;
    }

    .highlight-text {
        font-size: 0.95rem;
    }

    .roadmap-section, .traits-section {
        padding: 30px;
    }

    .roadmap-container {
        flex-direction: column;
        gap: 20px;
    }

    .roadmap-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }

    .roadmap-step {
        min-width: 100%;
    }

    .salary-input-card {
        padding: 30px;
    }

    .salary-input-title {
        font-size: 1.5rem;
    }

    .salary-input-subtitle {
        font-size: 1.1rem;
    }

    .salary-input {
        width: 150px;
        font-size: 1.5rem;
        padding: 15px 20px;
    }

    .input-unit {
        font-size: 1.2rem;
    }

    .quick-select-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-button {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .back-button-salary {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .result-celebration {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .screen {
        padding: 15px;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .title-accent {
        font-size: 1.2rem;
    }

    .question-card {
        padding: 20px;
    }

    .cta-card {
        padding: 20px;
    }

    .cta-highlight {
        padding: 20px;
    }

    .highlight-icon {
        font-size: 2.5rem;
    }

    .highlight-title {
        font-size: 1rem;
    }

    .highlight-text {
        font-size: 0.9rem;
    }

    .roadmap-section, .traits-section {
        padding: 20px;
    }

    .roadmap-title, .traits-title {
        font-size: 1.5rem;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .salary-input-card {
        padding: 20px;
    }

    .salary-input-title {
        font-size: 1.3rem;
    }

    .salary-input {
        width: 120px;
        font-size: 1.3rem;
        padding: 12px 15px;
    }

    .quick-select-buttons {
        grid-template-columns: 1fr;
    }

    .quick-select-btn {
        font-size: 0.95rem;
    }

    .back-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .back-button-salary {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
