* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS変数でビューポート高さを管理 */
:root {
    --vh: 1vh;
}

/* フォーカス時の青い枠線を削除 */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    min-height: calc(var(--vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #383838;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}



.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ヘッダー */
.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-title {
    font-size: 32px;
    font-weight: 700;
    color: #E83015;
    text-shadow: none;
    margin-bottom: 4px;
}

.app-subtitle {
    font-size: 14px;
    color: #383838;
    font-weight: 400;
    margin-bottom: 5px;
}

/* オーディオコントロール */
.audio-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.audio-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.audio-toggle i {
    font-size: 16px;
    color: #E83015;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #CCCCCC;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #E83015;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #E83015;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* スクリーン管理 */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.screen.active {
    display: block;
}

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

/* キャラクター */
.character-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 10px;
    position: relative;
    z-index: 500;
    min-height: 120px;
}

.character-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(56, 56, 56, 0.15));
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.character-img:hover {
    transform: scale(1.05);
}

.character-img.clicked {
    animation: bounce-click 0.6s ease-out;
}

.character-img.super-happy {
    animation: jump 0.5s ease-out 3, wiggle 0.3s ease-in-out 3;
}

.character-img.talking {
    animation: float 3s ease-in-out infinite, bounce 0.5s ease-in-out infinite alternate;
}

.character-img.happy {
    animation: float 3s ease-in-out infinite, wiggle 0.3s ease-in-out 3;
}

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

@keyframes bounce {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes bounce-click {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(-10deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    75% {
        transform: scale(1.15) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

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

/* キャラクターの反応吹き出し */
.character-reaction {
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #E83015;
    font-size: 14px;
    font-weight: 600;
    color: #E83015;
    white-space: nowrap;
    animation: pop-in 0.3s ease-out;
    z-index: 9999;
    pointer-events: none;
}

.character-reaction::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #FFFFFF;
    z-index: 1001;
}

.character-reaction::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #E83015;
    z-index: 1000;
}

.character-reaction.fade-out {
    animation: pop-out 0.3s ease-in;
    opacity: 0;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes pop-out {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* スタート画面 */
.welcome-message {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-message h2 {
    font-size: 24px;
    color: #E83015;
    margin-bottom: 12px;
    font-weight: 600;
}

.welcome-message p {
    color: #383838;
    font-size: 14px;
    line-height: 1.8;
}

.username-input-container {
    margin: 30px auto 20px;
    max-width: 300px;
}

.username-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #CCCCCC;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    text-align: center;
    transition: all 0.3s ease;
}

.username-input:focus {
    outline: none;
    border-color: #E83015;
    box-shadow: 0 0 0 3px rgba(232, 48, 21, 0.1);
}

.username-input::placeholder {
    color: #CCCCCC;
}

.start-button {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 16px 32px;
    background: #E83015;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(232, 48, 21, 0.2);
    transition: all 0.3s ease;
    min-height: 44px; /* タッチターゲット最小サイズ */
}

.start-button:hover {
    background: #A91D00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 48, 21, 0.3);
}

/* 質問画面 */
.question-container {
    margin-bottom: 30px;
}

.question-bubble {
    background: #FFFFFF;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(56, 56, 56, 0.1);
    position: relative;
    margin: 0 auto;
    max-width: 90%;
    border: 1px solid #CCCCCC;
}

.question-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFFFFF;
}

.question-bubble::after {
    content: '';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid #CCCCCC;
    z-index: -1;
}

#question-text {
    font-size: 16px;
    color: #383838;
    text-align: center;
    line-height: 1.6;
    font-weight: 500;
}

/* 回答セクション */
.answer-section {
    margin-top: 30px;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1.5px solid #E83015;
    border-radius: 999px;
    color: #E83015;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.back-button i {
    font-size: 12px;
}

.back-button:hover {
    background: #E83015;
    color: #FFFFFF;
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(232, 48, 21, 0.2);
}

.back-button:active {
    transform: translateX(-1px) scale(0.98);
}

.option-button {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 2px solid #CCCCCC;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    min-height: 44px; /* タッチターゲット最小サイズ */
}

.option-button:hover {
    border-color: #E83015;
    background: #FFFFFF;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(232, 48, 21, 0.15);
}

.option-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #E83015;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.option-text {
    font-size: 15px;
    color: #383838;
    flex: 1;
    font-weight: 500;
}

.keyboard-hint {
    margin: 8px 0 0;
    text-align: center;
    font-size: 12px;
    color: #777777;
}

/* プログレスバー */
.progress-indicator {
    margin-top: 40px;
}

.progress-bar {
    height: 8px;
    background: #CCCCCC;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #E83015;
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

/* 結果画面 */
.result-container {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(56, 56, 56, 0.1);
    border: 1px solid #CCCCCC;
}

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

.result-header h2 {
    color: #E83015;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.value-type-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid #E83015;
    position: relative;
}


.value-type-name {
    font-size: 28px;
    font-weight: 700;
    color: #E83015;
    margin-bottom: 16px;
    line-height: 1.4;
}

.value-description {
    font-size: 16px;
    color: #383838;
    line-height: 1.8;
}

.values-list {
    margin-bottom: 30px;
    background: #F8F8F8;
    padding: 20px;
    border-radius: 8px;
}

.values-list h4 {
    font-size: 16px;
    color: #383838;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.values-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.values-list li.value-line {
    background: transparent;
    border-radius: 0;
    padding: 6px 0 6px 18px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #383838;
}
.values-list li.value-line::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 6px;
    color: #E83015;
    font-weight: 700;
}
.value-line .value-name {
    font-weight: 700;
    color: #E83015;
}
.value-line .value-sep {
    color: #999;
    margin: 0 2px;
}
.value-line .value-detail {
    color: #383838;
}

/* 後方互換: 旧構造（カード型）が残っていた場合の見た目 */
.values-list li:not(.value-line) {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
}
.value-item {
    padding: 16px;
    border-left: 4px solid #E83015;
}
.value-item .value-name {
    font-size: 16px;
    font-weight: 600;
    color: #E83015;
    margin-bottom: 8px;
}
.value-item .value-detail {
    font-size: 14px;
    color: #383838;
    line-height: 1.6;
}

.jobs-section {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.suitable-jobs,
.unsuitable-jobs {
    padding: 20px;
    border-radius: 8px;
}

.suitable-jobs {
    background: #FFFFFF;
    border: 2px solid #E83015;
}

.unsuitable-jobs {
    background: #FFFFFF;
    border: 2px solid #CCCCCC;
}

.suitable-jobs h4,
.unsuitable-jobs h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #383838;
}

.suitable-jobs ul,
.unsuitable-jobs ul {
    list-style: none;
}

.suitable-jobs li,
.unsuitable-jobs li {
    padding: 10px 0;
    font-size: 15px;
    color: #383838;
    position: relative;
    padding-left: 24px;
    font-weight: 500;
    line-height: 1.6;
}

.suitable-jobs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E83015;
    font-weight: bold;
}

.unsuitable-jobs li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #CCCCCC;
    font-weight: bold;
}

/* シェアセクション */
.share-section {
    margin: 30px 0;
    padding: 20px;
    background: #F8F8F8;
    border-radius: 8px;
    text-align: center;
}

.share-section h4 {
    font-size: 16px;
    color: #383838;
    margin-bottom: 16px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFFFFF;
    font-family: inherit;
    min-height: 44px; /* タッチターゲット最小サイズ */
    justify-content: center;
}

.share-button i {
    font-size: 18px;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button.twitter {
    background: #1DA1F2;
}

.share-button.twitter:hover {
    background: #1a8cd8;
}

.share-button.line {
    background: #00B900;
}

.share-button.line:hover {
    background: #00a000;
}

.share-button.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-button.instagram:hover {
    background: linear-gradient(45deg, #e88522 0%, #d5572b 25%, #cb1632 50%, #bb1255 75%, #ab0777 100%);
}

.share-button.slack {
    background: #4A154B;
}

.share-button.slack:hover {
    background: #3a0e3b;
}


.restart-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: #383838;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-button:hover {
    background: #A91D00;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(56, 56, 56, 0.3);
}

/* ローディング */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #CCCCCC;
    border-top: 4px solid #E83015;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #383838;
    font-size: 14px;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .share-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .app-title {
        font-size: 40px;
    }
    
    .character-img {
        width: 150px;
        height: 150px;
    }
    
    .options-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .option-button {
        flex: 1;
    }
    
    .jobs-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .audio-controls {
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* 会社情報 */
.company-info {
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-size: 11px;
    color: #383838;
    opacity: 0.9;
    z-index: 100;
    text-align: right;
    line-height: 1.4;
    font-weight: 400;
}

.company-info-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    text-align: right;
    cursor: pointer;
}

/* キーボード表示時の調整 */
.keyboard-open .company-info {
    display: none;
}

.keyboard-open .audio-controls {
    position: absolute;
}

.keyboard-open .container {
    padding-bottom: env(keyboard-inset-height, 0);
}

.company-info span {
    display: block;
}

.company-info span:first-child {
    font-weight: 500;
    color: #A91D00;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }
    
    .header {
        position: relative;
        padding: 20px 0 0 0;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .audio-controls {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 100;
        gap: 0;
    }
    
    .audio-toggle {
        width: 40px;
        height: 40px;
        background: #FFFFFF;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .audio-toggle i {
        font-size: 18px;
    }
    
    .volume-slider {
        display: none;
    }
    
    .app-title {
        font-size: 28px;
    }
    
    .character-img {
        width: 100px;
        height: 100px;
    }
    
    .character-reaction {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .question-bubble {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .options-container {
        grid-template-columns: 1fr;
    }
    
    .option-button {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .result-container {
        padding: 20px;
    }
    
    .value-type-name {
        font-size: 22px;
    }
    
    .jobs-section {
        grid-template-columns: 1fr;
    }
    
    .suitable-jobs,
    .unsuitable-jobs {
        padding: 16px;
    }
    
    .specific-jobs-section {
        padding: 20px;
    }
    
    .specific-jobs-section ul {
        grid-template-columns: 1fr;
    }
    
    /* スクロール時の固定要素 */
    .progress-indicator {
        margin-top: 30px;
    }
    
    /* スクロール時のオーバーフロー制御 */
    body {
        min-height: 100vh;
        height: 100%;
    }
    
    .main-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 小さいスマホ対応 (iPhone SE等) */
@media (max-width: 375px) {
    .container {
        padding: 10px;
    }
    
    /* 背景装飾を小さく */
    .container::before {
        width: 100px;
        height: 100px;
        right: -20px;
        filter: blur(30px);
    }
    
    .container::after {
        width: 80px;
        height: 80px;
        left: -20px;
        filter: blur(25px);
    }
    
    .app-title {
        font-size: 24px;
    }
    
    .welcome-message h2 {
        font-size: 20px;
    }
    
    /* 音声コントロールの調整 */
    .header {
        padding: 15px 0 0 0;
    }
    
    .audio-controls {
        position: fixed;
        top: 8px;
        right: 8px;
    }
    
    .audio-toggle {
        width: 36px;
        height: 36px;
    }
    
    .audio-toggle i {
        font-size: 16px;
    }
    
    .username-input {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .start-button {
        width: 180px;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .question-bubble {
        max-width: 95%;
    }
    
    .option-label {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .values-list li {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .company-info {
        font-size: 9px;
        bottom: 10px;
        right: 10px;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-button {
        flex: 1;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .share-button i {
        font-size: 16px;
    }
    
    .share-button span {
        display: none;
    }
    
    .share-section {
        padding: 16px;
    }
    
    .share-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* トースト通知 */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    pointer-events: none;
}

.toast {
    background: #383838;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-20px);
    animation: toastSlideIn 0.3s ease forwards;
    pointer-events: auto;
    min-width: 250px;
    text-align: center;
}

.toast.success {
    background: #4CAF50;
}

.toast.error {
    background: #E83015;
}

.toast.info {
    background: #2196F3;
}

@keyframes toastSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastSlideOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* === 16タイプ結果表示用 === */
.result-tagline {
    color: #666;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin: 0 0 6px 0;
    text-align: center;
}

.result-reason {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid #E83015;
}

.result-reason h4 {
    margin: 0 0 12px 0;
    color: #E83015;
    font-size: 16px;
    font-weight: 700;
}

.result-reason p {
    margin: 0;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
    font-size: 14px;
}

.reason-toggle-button {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1.5px solid #E83015;
    border-radius: 999px;
    color: #E83015;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.reason-toggle-button:hover {
    background: #E83015;
    color: #FFFFFF;
}
.reason-toggle-button i {
    font-size: 10px;
}
.reason-full-text {
    margin-top: 0;
}

/* ============================================================
   仕事すごろく導線 (旧 share-section の置き換え)
   ============================================================ */
.jobs-experience-section {
    background: #FFF5F2;
    border: 1.5px solid #F2C8BE;
    border-radius: 12px;
    padding: 18px 18px 16px;
    margin: 24px 0 18px;
}
.jobs-experience-section h4 {
    margin: 0 0 6px 0;
    color: #E83015;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.jobs-experience-help {
    margin: 0 0 14px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}
.jobs-experience-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.jobs-experience-item { margin: 0; }
.jobs-experience-btn {
    width: 100%;
    background: #FFFFFF;
    color: #383838;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.25s ease;
    min-height: 56px;
}
.jobs-experience-btn:hover {
    border-color: #E83015;
    background: #FFFAF8;
}
.jobs-experience-btn:active { transform: scale(0.99); }
.jobs-experience-job {
    flex: 1;
    text-align: left;
    font-weight: 600;
    color: #383838;
}
.jobs-experience-cta {
    color: #E83015;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}
.jobs-experience-cta i { margin-left: 4px; }
.jobs-experience-loading,
.jobs-experience-empty {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 16px 0;
}

/* catchcopy 表示モード: 文字色を少し違うトーンに（既存の value-type-name 大文字赤を踏襲） */
.value-type-name.catchcopy-mode {
    font-size: 22px;
}
