/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 固定バッジ */
.fixed-badge {
    position: fixed;
    top: 26.9375rem;
    right: 3.25rem;
    z-index: 1000;
    width: 171px;
    height: 171px;
    overflow: hidden;
    border-radius: 50%;
}

.badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* ハイライトアニメーション */
.fixed-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    z-index: 2;
    animation: highlight 3s infinite;
    pointer-events: none;
}

@keyframes highlight {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* ファーストビュー（FV） */
.fv {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5;
}

.fv-image {
    width: 100%;
    max-width: 1280px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* デスクトップ用画像（デフォルト表示） */
.fv-image-mobile {
    display: none;
}

/* モバイル用画像（デフォルト非表示） */
.fv-image-desktop {
    display: block;
}

/* 1280px以上でFV画像を画面いっぱいに拡大 */
@media screen and (min-width: 1280px) {
    .fv-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* メインコンテンツ */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.75rem 1.25rem;
}

/* 横スクロールカードリスト */
.card-list-section {
    margin-bottom: 3.75rem;
    padding: 0 1.25rem;
}

.card-list-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.card-list-container::-webkit-scrollbar {
    height: 0.5rem;
}

.card-list-container::-webkit-scrollbar-track {
    background: transparent;
}

.card-list-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 0.25rem;
}

.card-list {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 0.625rem;
    width: fit-content;
}

.card {
    width: 364px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 364px;
    height: 215px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-text {
    width: 364px;
    height: 335px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #333;
}

.card-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* 画像用コンテナ */
.image-section {
    margin-bottom: 3.75rem;
}

.image-container {
    width: 800px;
    height: auto;
    margin: 0 auto;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LINEバナーセクション（image-sectionと同じスタイル） */
.linebanner-section {
    margin-bottom: 3.75rem;
}

.linebanner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SVGセクション */
.svg-section {
    margin-bottom: 3.75rem;
    display: flex;
    justify-content: center;
    min-height: 400px;
}

.svg-container {
    width: 100%;
    max-width: 1280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-image {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(3.125rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    pointer-events: none;
}

/* アクティブなSVG画像 */
.svg-image.svg-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

/* コンテンツセクション */
.content-section {
    margin-bottom: 3.75rem;
    text-align: center;
    padding: 2.5rem 1.25rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    font-size: 1.1rem;
    color: #666;
}

/* パーソナルキャリアアドバイザーセクション */
.career-advisor-section {
    margin-bottom: 3.75rem;
    padding: 3.75rem 1.25rem;
    background-color: #fff;
}

.career-advisor-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.career-advisor-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.5;
}

.career-advisor-subtitle {
    margin-bottom: 2rem;
}

.career-advisor-subtitle h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
}

.career-advisor-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.career-advisor-intro p {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 2;
    color: #000;
}

.career-advisor-intro strong {
    color: #000;
    font-weight: 800;
}

.career-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.career-feature-item {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    position: relative;
    padding-bottom: 0.75rem;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    border-radius: 2px;
}

.feature-description {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: #000;
}

.feature-description strong {
    color: #000;
    font-weight: 800;
}

/* フッター */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.875rem 1.25rem;
    margin-top: 3.75rem;
}

/* ブレイクポイント: 1280px以下 */
@media screen and (max-width: 1280px) {
    .main-content {
        max-width: 100%;
        padding: 2.5rem 1.25rem;
    }

    .card-list-section {
        padding: 0 1.25rem;
    }

    .image-container {
        width: 100%;
        max-width: 800px;
        height: auto;
    }

    /* タブレット用固定バッジ */
    .fixed-badge {
        top: 17.9375rem;
        right: 1.25rem;
        width: 143px;
        height: 143px;
    }
}

/* ブレイクポイント: 800px以下 */
@media screen and (max-width: 800px) {
    .fv-image {
        height: auto;
    }

    /* モバイルで画像を切り替え */
    .fv-image-desktop {
        display: none;
    }

    .fv-image-mobile {
        display: block;
    }

    .image-container {
        width: 100%;
        height: auto;
    }

    /* モバイル用固定バッジ */
    .fixed-badge {
        top: 31.625rem;
        right: 0.25rem;
        width: 97px;
        height: 97px;
    }

    .main-content {
        padding: 1.875rem 0.9375rem;
    }

    .card-list-section {
        padding: 0 0.9375rem;
        margin-bottom: 2.5rem;
    }

    .card {
        width: 280px;
    }

    .card-image {
        width: 280px;
        height: 165px;
    }

    .card-text {
        width: 280px;
        height: 258px;
        padding: 0.9375rem;
    }

    .card-text h3 {
        font-size: 1.1rem;
    }

    .card-text p {
        font-size: 0.85rem;
    }

    .content-section {
        padding: 1.875rem 0.9375rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    /* パーソナルキャリアアドバイザーセクション（モバイル） */
    .career-advisor-section {
        padding: 2.5rem 0.9375rem;
    }

    .career-advisor-title {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .career-advisor-subtitle h3 {
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .career-advisor-intro {
        margin-bottom: 2rem;
    }

    .career-advisor-intro p {
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1.8;
        color: #000;
    }

    .career-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .career-feature-item {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        color: #000;
        position: relative;
        padding-bottom: 0.625rem;
    }

    .feature-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
        border-radius: 2px;
    }

    .feature-description {
        font-size: 1.15rem;
        font-weight: 500;
        line-height: 1.6;
        color: #000;
    }
}

