@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --blue-gradient: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --surface: #ffffff;
    --surface-elevated: #f7fafc;
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    background: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%,
        rgba(0, 102, 204, 0.1) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--blue-gradient);
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 60%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.title-part {
    display: block;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-part-1 {
    animation: slideInLeft 1s ease-out 0.4s both;
}

.title-part-2 {
    animation: slideInRight 1s ease-out 0.6s both;
}

.sub-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ========== SECTION STYLES ========== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface-elevated);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
    padding: 6rem 0;
    background: var(--surface-elevated);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: var(--blue-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========== TOOLS SECTION ========== */
.tools-section {
    padding: 6rem 0;
    background: var(--surface);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue-gradient);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.tool-card:hover::before {
    opacity: 0.03;
}

.tool-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.tool-icon {
    width: 56px;
    height: 56px;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-icon {
    background: var(--blue-gradient);
    transform: scale(1.1);
}

.tool-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-icon svg {
    color: white;
}

.tool-badge {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-badge:not(.new) {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.tool-badge.new {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 2;
}

.tool-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 2rem 0;
    position: relative;
    z-index: 2;
}

.tool-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--blue-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.tool-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.tool-button:hover::before {
    left: 100%;
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.tool-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-button:hover svg {
    transform: translateX(4px);
}

/* ========== CAREER SECTION ========== */
.career-section {
    padding: 6rem 0;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.08) 0%,
        rgba(118, 75, 162, 0.08) 50%,
        rgba(0, 102, 204, 0.08) 100%);
}

.career-layout {
    display: flex;
    gap: 3rem;
    align-items: stretch;
}

.career-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-section-tag {
    margin-bottom: 1rem;
}

.career-lead {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0 0 2rem;
    line-height: 1.8;
}

.career-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: grid;
    row-gap: 1.5rem;
}

.career-feature-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.career-feature-desc {
    color: var(--text-light);
    line-height: 1.7;
}

.career-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.career-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: var(--blue-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.25);
}

.career-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(102, 126, 234, 0.3);
}

.career-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-button:hover svg {
    transform: translateX(4px);
}

.career-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.career-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.1), rgba(29, 78, 216, 0.6));
    transition: transform 0.3s ease;
    transform-origin: left center;
}

.career-link:hover::after {
    transform: scaleX(1.1);
}

.career-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-link:hover svg {
    transform: translateX(4px);
}

.career-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.career-image-main {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: var(--surface);
}

.career-image-main img {
    width: 100%;
    display: block;
}

.career-image-main--mobile {
    display: none;
}

.career-title-break {
    display: inline;
}

/* ========== LEARNING SECTION ========== */
.learning-section {
    padding: 6rem 0;
    background: var(--surface-elevated);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.learning-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.learning-card.featured {
    background: var(--blue-gradient);

    border-color: transparent;
}

/* 数学入門カード - スカイブルー系 */
.learning-card.math-theme {
    background: linear-gradient(135deg, #37b7e9 0%, #4FC3F7 100%);
    color: white;
    border-color: transparent;
}

.learning-card.math-theme .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card.math-theme .learning-icon svg {
    color: white;
}

.learning-card.math-theme .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.math-theme h3 {
    color: white;
}

.learning-card.math-theme p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.math-theme .learning-button {
    background: white;
    color: #37b7e9;
    border-color: white;
}

.learning-card.math-theme .learning-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* G検定カード - ティール系 */
.learning-card.gcert-theme {
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
    color: white;
    border-color: transparent;
}

.learning-card.gcert-theme .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card.gcert-theme .learning-icon svg {
    color: white;
}

.learning-card.gcert-theme .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.gcert-theme h3 {
    color: white;
}

.learning-card.gcert-theme p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.gcert-theme .learning-button {
    background: white;
    color: #138496;
    border-color: white;
}

.learning-card.gcert-theme .learning-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 統計学入門カード - ヒヤシンス系 */
.learning-card.hyacinth-theme {
    background: linear-gradient(135deg, #659AD2 0%, #87B3E0 100%);
    color: white;
    border-color: transparent;
}

.learning-card.hyacinth-theme .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card.hyacinth-theme .learning-icon svg {
    color: white;
}

.learning-card.hyacinth-theme .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.hyacinth-theme h3 {
    color: white;
}

.learning-card.hyacinth-theme p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.hyacinth-theme .learning-button {
    background: white;
    color: #659AD2;
    border-color: white;
}

.learning-card.hyacinth-theme .learning-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 統計学応用テーマボタン */
.learning-card.applied-theme {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%);
    color: white;
}

.learning-card.applied-theme .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card.applied-theme .learning-icon svg {
    color: white;
}

.learning-card.applied-theme .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.applied-theme h3 {
    color: white;
}

.learning-card.applied-theme p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.applied-theme .learning-button {
    background: white;
    color: #3F51B5;
    border-color: white;
}

.learning-card.applied-theme .learning-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.learning-card.sql-theme {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
}

.learning-card.sql-theme .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card.sql-theme .learning-icon svg {
    color: white;
}

.learning-card.sql-theme .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.sql-theme h3 {
    color: white;
}

.learning-card.sql-theme p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.sql-theme .learning-button {
    background: white;
    color: #2563eb;
    border-color: white;
}

.learning-card.sql-theme .learning-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.sql-theme-color {
    color: #2563eb;
}

.learning-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.learning-icon {
    width: 64px;
    height: 64px;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.learning-card.featured .learning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.learning-card:hover .learning-icon {
    transform: scale(1.1);
}

.learning-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
}

.learning-card.featured .learning-icon svg {
    color: white;
}

.learning-card.featured .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card.featured h3 {
    color: white;
}

.learning-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.learning-card.featured .learning-button {
    background: white;
    color: var(--text-primary);
    border-color: white;
}

.learning-level {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.learning-card.featured .learning-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.learning-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.learning-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.learning-button {
    width: 100%;
    padding: 12px 24px;
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.learning-card.featured .learning-button {
    background: white;
    color: var(--text-primary);
    border-color: white;
}

.learning-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 6rem 0;
    background: var(--blue-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 15s infinite ease-in-out;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 20s infinite ease-in-out reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.75rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #ff8f5a 0%, #f24b88 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: none;
    border-radius: 999px;
    position: relative;
    box-shadow: 0 12px 25px rgba(242, 75, 136, 0.35);
}

.cta-ribbon::before,
.cta-ribbon::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 18px;
    height: 18px;
    background: inherit;
    opacity: 0.9;
    transform: rotate(45deg);
    z-index: -1;
    filter: brightness(0.9);
}

.cta-ribbon::before {
    left: 24px;
}

.cta-ribbon::after {
    right: 24px;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    margin: 0 auto 3rem auto;
    max-width: 600px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    min-width: 200px;
    justify-content: center;
}

.cta-primary {
    background: white;
    color: var(--text-primary);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cta-primary svg, .cta-secondary svg {
    width: 16px;
    height: 16px;
}

/* ========== VIEW ALL BUTTONS ========== */
/* View All Button Styles */
.view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 16px;
}

.view-all-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.view-all-button:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.view-all-button:hover::before {
    left: 100%;
}

.tools-view-all {
    background: linear-gradient(135deg, #659AD2 0%, #87B3E0 100%);
    box-shadow: 0 4px 15px rgba(101, 154, 210, 0.3);
}

.tools-view-all:hover {
    box-shadow: 0 8px 25px rgba(101, 154, 210, 0.4);
}

.practice-view-all {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.practice-view-all:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.test-view-all {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.test-view-all:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* 中央配置の強制 */
.view-all-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    
    .pc-only {
        display: none;
    }
    
    /* View All Button responsive */
    .view-all-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .benefits-grid,
    .tools-grid,
    .learning-grid,
    .mock-test-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .career-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .career-visual {
        display: none;
    }

    .career-image-main {
        max-width: 100%;
    }

    .career-image-main--mobile {
        display: block;
        margin: 1.5rem 0 0;
    }

    .career-title-break {
        display: block;
    }

    .career-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .career-button {
        width: 100%;
    }

    .career-link {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    .benefits-section,
    .tools-section,
    .career-section,
    .learning-section,
    .mock-test-section,
    .cta-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .benefit-card,
    .tool-card,
    .learning-card,
    .mock-test-card {
        padding: 2rem 1.5rem;
    }

    .career-actions {
        gap: 1rem;
    }

    .hero-section {
        min-height: 80vh;
    }
}

/* ========== UTILITY CLASSES ========== */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    
    .pc-only {
        display: none;
    }
}
