/* ============================================================
   Career Anchor Diagnosis - Style Sheet
   ============================================================ */

/* ----------------------------------------------------------
   Design Tokens (CSS Custom Properties)
   ---------------------------------------------------------- */
:root {
    --dx-color-main:       #3ab5b4;
    --dx-color-cta:        #ffa80d;
    --dx-color-cta-shadow: rgba(188, 102, 25, 0.42);
    --dx-color-bg:         #FFFDF9;
    --dx-color-text:       #1a1a1a;
    --dx-color-border:     #c1bcb8;
    --dx-color-sub-text:   #4d4d4d;
    --dx-color-muted:      #9e938b;
    --dx-color-light-bg:   #f9f7f2;
    --dx-color-light-border: #e8e3d9;

    --dx-font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
                      "Hiragino Sans", Meiryo, sans-serif;

    --dx-cat1: #3ab5b4;
    --dx-cat2: #5B8DEF;
    --dx-cat3: #FF8C42;
    --dx-cat4: #E55B8A;
    --dx-cat5: #7B61FF;
}

/* ----------------------------------------------------------
   Base Reset
   ---------------------------------------------------------- */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--dx-font-family);
    font-size: 1.8rem;
    line-height: 1.7;
    color: var(--dx-color-text);
    background: var(--dx-color-bg);
    margin: 0;
    padding: 0;
}

a {
    transition: 0.3s all;
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ----------------------------------------------------------
   Container
   ---------------------------------------------------------- */
.dx-container {
    max-width: 728px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.dx-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 1100px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(184, 179, 172, 0.56);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.dx-header__logo {
    max-width: min(45vw, 216px);
}

.dx-header__cta {
    background: var(--dx-color-cta);
    color: var(--dx-color-text);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: 0.3s all;
}

.dx-header__cta:hover {
    opacity: 0.7;
}

/* ----------------------------------------------------------
   Section (header offset)
   ---------------------------------------------------------- */
.dx-section {
    padding-top: 120px;
}

/* ----------------------------------------------------------
   Intro
   ---------------------------------------------------------- */
.dx-intro {
    text-align: center;
}

.dx-intro__hero {
    padding: 0 0 40px;
}

.dx-intro__badge {
    display: inline-block;
    background: var(--dx-color-main);
    color: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 1.4rem;
}

.dx-intro__title {
    font-size: 3.6rem;
    font-weight: 900;
    margin: 20px 0;
}

.dx-intro__title-accent {
    color: var(--dx-color-main);
}

.dx-intro__subtitle {
    font-size: 2rem;
    color: var(--dx-color-sub-text);
}

.dx-intro__description {
    font-size: 1.6rem;
    color: var(--dx-color-sub-text);
    line-height: 2;
    margin: 20px 0;
}

/* Features */
.dx-intro__features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.dx-intro__feature-item {
    background: #fff;
    border: 2px solid var(--dx-color-light-border);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    min-width: 120px;
}

.dx-intro__feature-icon {
    color: var(--dx-color-main);
    margin-bottom: 8px;
}

.dx-intro__feature-text {
    font-size: 1.4rem;
}

.dx-intro__feature-text strong {
    font-size: 2.4rem;
    display: block;
}

/* Types */
.dx-intro__types {
    margin: 40px 0;
}

.dx-intro__types-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dx-intro__types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.dx-intro__type-chip {
    background: var(--chip-color);
    color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Start */
.dx-intro__start {
    margin: 40px 0;
}

.dx-intro__note {
    font-size: 1.3rem;
    color: var(--dx-color-muted);
    margin-bottom: 60px;
}

/* ----------------------------------------------------------
   Button
   ---------------------------------------------------------- */
.dx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s all;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.4;
}

.dx-btn:hover {
    opacity: 0.7;
}

.dx-btn--primary {
    background: var(--dx-color-cta);
    color: #fff;
    padding: 18px 40px;
    font-size: 2.2rem;
    box-shadow: 7px 7px 12px 0 var(--dx-color-cta-shadow);
}

.dx-btn--secondary {
    background: #fff;
    color: var(--dx-color-text);
    border: 2px solid var(--dx-color-border);
    padding: 12px 30px;
    font-size: 1.6rem;
}

.dx-btn--lg {
    padding: 20px 25px;
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.dx-btn__sub {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

/* ----------------------------------------------------------
   Progress
   ---------------------------------------------------------- */
.dx-progress {
    margin-bottom: 40px;
}

.dx-progress__bar {
    height: 8px;
    background: var(--dx-color-light-border);
    border-radius: 4px;
    overflow: hidden;
}

.dx-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #39d8aa, #3ab5b4);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.dx-progress__text {
    text-align: center;
    font-size: 1.4rem;
    color: var(--dx-color-muted);
    margin-top: 8px;
}

/* ----------------------------------------------------------
   Questions
   ---------------------------------------------------------- */
.dx-questions {
    padding-bottom: 40px;
    min-height: 100vh;
}

.dx-questions .dx-container {
    max-width: 900px;
}

.dx-results .dx-container {
    max-width: 900px;
}

/* ----------------------------------------------------------
   Question Card
   ---------------------------------------------------------- */
.dx-question-card {
    background: #fff;
    border: 2px solid var(--dx-color-main);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

.dx-question-card__number {
    font-size: 3.6rem;
    color: var(--dx-color-main);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    line-height: 1;
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
}

.dx-question-card__number span {
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 0.8;
}

.dx-question-card__text {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 0;
    min-height: 3.2em;
}

/* ----------------------------------------------------------
   Scale Guide (⑪)
   ---------------------------------------------------------- */
.dx-scale-guide {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.dx-scale-guide li {
    font-size: 1.3rem;
    color: var(--dx-color-text);
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dx-scale-guide__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dx-color-main);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dx-scale-guide__label {
    font-weight: 700;
    min-width: 4.5em;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: left;
}

.dx-scale-guide__desc {
    color: var(--dx-color-text-light, #666);
    font-size: 1.2rem;
    text-align: left;
}

/* ----------------------------------------------------------
   Scale
   ---------------------------------------------------------- */
.dx-scale__labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dx-scale__label {
    font-size: 1.2rem;
    color: var(--dx-color-muted);
}

.dx-scale__options {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.dx-scale__btn {
    flex: 1;
    height: 60px;
    border-radius: 12px;
    border: 2px solid var(--dx-color-border);
    background: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    transition: 0.3s all;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.dx-scale__btn:hover {
    border-color: var(--dx-color-main);
    background: #e8f7f7;
}

.dx-scale__btn--selected {
    background: var(--dx-color-main);
    color: #fff;
    border-color: var(--dx-color-main);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(58, 181, 180, 0.3);
}

/* ----------------------------------------------------------
   Diagnosis Name (⑬)
   ---------------------------------------------------------- */
.dx-diagnosis-name {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dx-color-main);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   Question Nav
   ---------------------------------------------------------- */
.dx-question-nav {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dx-question-nav button[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ----------------------------------------------------------
   Restart Button (②)
   ---------------------------------------------------------- */
.dx-btn--outline {
    display: inline-block;
    background: transparent;
    color: var(--dx-color-muted);
    border: 1px solid var(--dx-color-border);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 1.3rem;
    font-family: inherit;
    cursor: pointer;
    transition: 0.3s all;
}

.dx-btn--outline:hover {
    color: var(--dx-color-main);
    border-color: var(--dx-color-main);
}

/* ----------------------------------------------------------
   Instagram Share Button (⑫)
   ---------------------------------------------------------- */
.dx-share-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

/* ----------------------------------------------------------
   Results
   ---------------------------------------------------------- */
.dx-results {
    padding-bottom: 80px;
}

.dx-results__header {
    text-align: center;
    margin-bottom: 40px;
}

.dx-results__label {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dx-color-text);
    margin-bottom: 16px;
}

/* Type Card */
.dx-results__type-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease;
}

.dx-results__type-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background: var(--dx-color-light-bg);
}

.dx-results__type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dx-results__type-name {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.dx-results__type-catch {
    font-size: 1.6rem;
    color: var(--dx-color-sub-text);
}

/* Block */
.dx-results__block {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.dx-results__section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dx-color-light-border);
    position: relative;
}

.dx-results__section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--dx-color-main);
}

/* ----------------------------------------------------------
   Chart Wrapper
   ---------------------------------------------------------- */
.dx-chart-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   Results Page Navigation
   ---------------------------------------------------------- */
.dx-results__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px;
    padding: 20px;
    background: var(--dx-color-light-bg);
    border-radius: 12px;
    border: 1px solid var(--dx-color-light-border);
}

.dx-results__nav-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dx-color-main);
    background: #fff;
    border: 1px solid var(--dx-color-main);
    border-radius: 100px;
    text-decoration: none;
    transition: 0.3s all;
    line-height: 1.4;
}

.dx-results__nav-item:hover {
    background: var(--dx-color-main);
    color: #fff;
}

.dx-results__block[id] {
    scroll-margin-top: 100px;
}

/* ----------------------------------------------------------
   Score Bars
   ---------------------------------------------------------- */
.dx-score-bar {
    margin-bottom: 16px;
}

.dx-score-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dx-score-bar__name {
    font-size: 1.4rem;
    font-weight: 700;
}

.dx-score-bar__value {
    font-size: 1.4rem;
    font-weight: 700;
}

.dx-score-bar__track {
    height: 20px;
    background: #f0ede8;
    border-radius: 10px;
    overflow: hidden;
}

.dx-score-bar__fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.2s ease;
}

/* ----------------------------------------------------------
   Ranking
   ---------------------------------------------------------- */
.dx-ranking__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.dx-ranking__item--gold {
    background: linear-gradient(135deg, #FFF8E1, #FFE082);
    border: 2px solid #FFD54F;
}

.dx-ranking__item--silver {
    background: linear-gradient(135deg, #F5F5F5, #E0E0E0);
    border: 2px solid #BDBDBD;
}

.dx-ranking__item--bronze {
    background: linear-gradient(135deg, #FFF3E0, #FFCC80);
    border: 2px solid #FFB74D;
}

.dx-ranking__item--other {
    background: var(--dx-color-light-bg);
}

.dx-ranking__medal {
    font-size: 2.4rem;
}

.dx-ranking__rank {
    font-size: 1.4rem;
    font-weight: 700;
    min-width: 24px;
}

.dx-ranking__name {
    font-size: 1.6rem;
    font-weight: 700;
    flex: 1;
}

.dx-ranking__score {
    font-size: 1.6rem;
    font-weight: 700;
}

/* ----------------------------------------------------------
   Workstyle
   ---------------------------------------------------------- */
.dx-workstyle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dx-workstyle__item {
    text-align: center;
    padding: 20px 12px;
    background: var(--dx-color-light-bg);
    border-radius: 12px;
}

.dx-workstyle__icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.dx-workstyle__item p {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ----------------------------------------------------------
   Description & Advice Content
   ---------------------------------------------------------- */
.dx-results__desc-content,
.dx-results__advice-content {
    font-size: 1.6rem;
    line-height: 1.8;
}

.dx-results__desc-content p,
.dx-results__advice-content p {
    margin-bottom: 16px;
}

/* ----------------------------------------------------------
   CTA Box
   ---------------------------------------------------------- */
.dx-cta-box {
    background: linear-gradient(135deg, #39d8aa, #3ab5b4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.dx-cta-box__lead {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.6;
}

.dx-cta-box .dx-btn--primary {
    background: #fff;
    color: var(--dx-color-text);
}

.dx-cta-box__note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    margin-top: 16px;
}

/* ----------------------------------------------------------
   Share Buttons
   ---------------------------------------------------------- */
.dx-share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.dx-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s all;
}

.dx-share-btn svg {
    fill: #fff;
}

.dx-share-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.dx-share-btn--x {
    background: #000;
}

.dx-share-btn--line {
    background: #06C755;
}

.dx-share-btn--fb {
    background: #1877F2;
}

/* ----------------------------------------------------------
   Results Retry
   ---------------------------------------------------------- */
.dx-results__retry {
    text-align: center;
    margin: 40px 0;
}

/* ----------------------------------------------------------
   Results Notes
   ---------------------------------------------------------- */
.dx-results__notes {
    margin-top: 40px;
}

.dx-results__notes p {
    font-size: 1.3rem;
    color: var(--dx-color-text);
    margin-bottom: 8px;
    line-height: 1.8;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.dx-footer {
    background: var(--dx-color-light-bg);
    padding: 40px 16px;
    margin-top: 60px;
}

.dx-footer__inner {
    max-width: 728px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.dx-footer__logo {
    max-width: 160px;
}

.dx-footer__company {
    font-size: 1.4rem;
    margin-top: 8px;
    color: var(--dx-color-sub-text);
}

.dx-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dx-footer__links a {
    font-size: 1.4rem;
    color: var(--dx-color-sub-text);
}

.dx-footer__links a:hover {
    color: var(--dx-color-main);
}

.dx-footer__copy {
    text-align: center;
    font-size: 1.2rem;
    color: #A16B2D;
    margin-top: 24px;
    padding: 0 16px;
}

/* ----------------------------------------------------------
   Animations
   ---------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ----------------------------------------------------------
   Utility: PC line break
   ---------------------------------------------------------- */
.dx-pc-br {
    display: inline;
}

/* ----------------------------------------------------------
   Responsive: Tablet (~890px)
   ---------------------------------------------------------- */
@media (max-width: 890px) {
    .dx-header {
        width: 90vw;
    }
}

/* ----------------------------------------------------------
   Responsive: SP (~768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    body {
        font-size: 1.6rem;
    }

    .dx-header {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(184, 179, 172, 0.3);
    }

    .dx-header__cta {
        display: none;
    }

    .dx-section {
        padding-top: 20px;
    }

    .dx-intro__title {
        font-size: 2.8rem;
    }

    .dx-intro__features {
        flex-direction: row;
        gap: 12px;
    }

    .dx-intro__feature-item {
        padding: 16px 12px;
        min-width: 0;
        flex: 1;
    }

    .dx-intro__feature-text strong {
        font-size: 2rem;
    }

    /* Header z-index override (layout.css sets 1 on mobile) */
    #header {
        z-index: 1000;
    }

    .dx-questions .dx-container {
        margin-top: 55px;
    }

    /* ① Progress on mobile */
    .dx-questions .dx-progress {
        margin-top: 0;
        padding: 4px 0 12px;
        margin-bottom: 20px;
    }

    .dx-scale__options {
        gap: 4px;
    }

    .dx-scale__btn {
        height: 46px;
        font-size: 1.6rem;
    }

    .dx-question-card {
        padding: 24px 16px;
        scroll-margin-top: 160px;
    }

    .dx-question-card__number {
        font-size: 3rem;
    }

    .dx-question-card__number span {
        font-size: 4.2rem;
    }

    .dx-question-card__text {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .dx-results__label {
        font-size: 2rem;
    }

    .dx-results__type-name {
        font-size: 2.8rem;
    }

    .dx-results__block {
        padding: 24px 16px;
    }

    .dx-btn--primary {
        font-size: 1.9rem;
        padding: 14px 30px;
    }

    .dx-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dx-pc-br {
        display: none;
    }
}

/* ----------------------------------------------------------
   Responsive: XS (~490px)
   ---------------------------------------------------------- */
@media (max-width: 490px) {
    .dx-intro__title {
        font-size: 2.4rem;
    }

    .dx-scale__btn {
        height: 40px;
        font-size: 1.4rem;
    }

    .dx-scale__options {
        gap: 3px;
    }

    .dx-question-card__number {
        font-size: 2.6rem;
    }

    .dx-question-card__number span {
        font-size: 3.6rem;
    }

    .dx-workstyle {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------
   SSR Result Page (result.php)
   ---------------------------------------------------------- */
.dx-results__header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
}

.dx-results__label {
    font-size: 1.4rem;
    color: #888;
    margin: 0 0 8px;
    letter-spacing: 0.1em;
}

.dx-results__type-name {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.dx-results__catchphrase {
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.dx-results__description {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #444;
}

.dx-results__advice {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #444;
}

/* ランキング */
.dx-results__ranking {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.dx-results__ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.dx-results__ranking-rank {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    min-width: 30px;
}

.dx-results__ranking-name {
    font-size: 1.5rem;
    font-weight: 700;
    flex: 1;
}

.dx-results__ranking-score {
    font-size: 1.4rem;
    color: #666;
}

/* 向いている働き方 */
.dx-results__workstyles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.dx-results__workstyle-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.dx-results__workstyle-icon {
    font-size: 2.0rem;
}

/* シェアボタン */
.dx-results__share {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.dx-results__share-label {
    font-size: 1.3rem;
    color: #888;
    margin: 0 0 12px;
}

.dx-results__share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 600px) {
    .dx-results__label {
        margin: 20px 0 8px;
    }

    .dx-results__type-name {
        font-size: 2.2rem;
    }
}

/* ----------------------------------------------------------
   SEO Content Block (crawler-visible, JS-hidden)
   ---------------------------------------------------------- */
.dx-seo-content {
    padding: 60px 0 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.dx-seo-content__heading {
    font-size: 2.0rem;
    font-weight: 700;
    color: #333;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3ab5b4;
}

.dx-seo-content__heading:first-child {
    margin-top: 0;
}

.dx-seo-content__type {
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dx-seo-content__type h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}

.dx-seo-content__catchphrase {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3ab5b4;
    margin: 0 0 8px;
}

.dx-seo-content__type h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #555;
    margin: 12px 0 6px;
}

.dx-seo-content__type p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 8px;
}

.dx-seo-content__type ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dx-seo-content__type ul li {
    font-size: 1.3rem;
    color: #555;
    padding: 4px 12px;
    background: #f0fafa;
    border-radius: 4px;
}

.dx-seo-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

.dx-seo-content p a {
    color: #3ab5b4;
    text-decoration: underline;
}

/* ----------------------------------------------------------
   Responsive: XXS (~390px)
   ---------------------------------------------------------- */
@media (max-width: 390px) {
    .dx-scale__btn {
        height: 42px;
        font-size: 1.4rem;
    }

    .dx-intro__feature-item {
        padding: 12px 8px;
    }
}
