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

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow: hidden;
    background: #ffffff;
    color: #333333;
    height: 100vh;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #6ba3d8;
    padding: 20px 30px 15px;
    text-align: center;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.header-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.container {
    display: flex;
    width: 400%;
    height: 100vh;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding-top: 100px;
}

.page {
    width: 25%;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    padding: 30px 30px 100px;
    overflow-y: auto;
    position: relative;
    background: #ffffff;
}

.page-header {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333333;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    animation: slideDown 0.6s ease-out;
}

/* Page 1 - 実績ページ */
.page-1 .page-header {
    background: #cdf;
}

/* Page 2 - スキルページ */
.page-2 .page-header {
    background: #cfc;
}

/* Page 3 - やりたいことページ */
.page-3 .page-header {
    background: #cff;
}

/* Page 4 - できることページ */
.page-4 .page-header {
    background: #fdc;
}

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

.card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(6) { animation-delay: 0.5s; }
.card:nth-child(7) { animation-delay: 0.6s; }
.card:nth-child(8) { animation-delay: 0.7s; }

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

.card:active {
    transform: scale(0.98);
}

.card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
    display: flex;
    align-items: center;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #4a90e2;
    margin-right: 12px;
    border-radius: 2px;
}

.card-content {
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
}

.card-arrow {
    color: #4a90e2;
    margin-right: 8px;
    font-weight: 700;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #4a90e2;
}

.list-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.list-item:active {
    transform: scale(0.98);
    background: #f0f0f0;
}

/* ページインジケーター */
.page-indicator {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

/* スワイプヒント */
/* .swipe-hint {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #999999;
    font-size: 13px;
    animation: pulse 2s infinite;
} */

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* スクロールバーのカスタマイズ */
.page::-webkit-scrollbar {
    width: 6px;
}

.page::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.page::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;
}

/* 特別なハイライト */
.highlight {
    color: #888;
    font-weight: 700;
}

