body {
    margin: 0;
    font-family: 'Zen Maru Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background: #f8fafc;
    padding-top: 80px;
    overflow-y: scroll;
}

body.menu-open {
    overflow: hidden;
}

h2 {
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    overflow: hidden;
}

header {
    background: #7aa9ff;
    color: white;
    padding: clamp(15px, 4vw, 20px) clamp(20px, 6vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: wrap;
    width: 100%;
}
header h1 {
    margin: 0;
    font-size: 24px;
}
header h1 a {
  color: white; /* ヘッダーの文字色に合わせる */
  text-decoration: none; /* 下線消す */
}

/* メニューボタンスタイル */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
}

.menu-toggle:hover {
    transform: scale(1.15) rotate(5deg);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle .material-symbols-outlined {
    font-size: 28px;
}

/* サイドバースタイル */
.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaf6 100%);
    border-left: 1px solid #e0e0e0;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 16px rgba(0,0,0,0.08);
}

.sidebar.active {
    transform: translateX(0);
}

/* サイドバー背後のオーバーレイ */
body.menu-open::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sidebar-header {
    padding: 24px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #7aa9ff;
    border-bottom: 2px solid #7aa9ff;
    background: white;
    user-select: none;
    -webkit-user-select: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(122, 169, 255, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
}

.sidebar-menu li {
    border-bottom: none;
    padding: 4px 12px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    border-radius: 8px;
    position: relative;
    font-weight: 500;
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #7aa9ff;
    border-radius: 0 3px 3px 0;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu a:hover {
    background: #e3f2fd;
    color: #7aa9ff;
    transform: translateX(-4px);
}

.sidebar-menu a:hover::before {
    height: 24px;
}

.sidebar-menu .material-symbols-outlined {
    font-size: 22px;
    color: #7aa9ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu a:hover .material-symbols-outlined {
    transform: translateX(2px);
    font-variation-settings: 'FILL' 1;
}

@media (max-width: 1000px) {
    body {
        padding-right: 0;
    }

    .sidebar {
        width: 280px;
    }

    h2 {
        font-size: clamp(24px, 5vw, 36px);
    }

    .cards {
        grid-template-columns: 1fr !important;
    }

    .scroll-text-section {
        min-height: auto;
        padding: 50px 20px;
    }

    .scroll-text-container {
        gap: 80px;
    }
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* WebGLキャンバス */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-icon {
    position: absolute;
    font-size: 48px;
    color: rgba(122, 169, 255, 0.4);
    opacity: 0;
    animation: floatIcon 4s ease-in-out infinite;
}

.hero-icon-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.hero-icon-2 {
    top: 15%;
    right: 20%;
    animation-delay: 0.8s;
}

.hero-icon-3 {
    top: 60%;
    left: 10%;
    animation-delay: 1.6s;
}

.hero-icon-4 {
    top: 65%;
    right: 12%;
    animation-delay: 2.4s;
}

.hero-icon-5 {
    top: 40%;
    left: 8%;
    animation-delay: 3.2s;
}

.hero-icon-6 {
    top: 35%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8) rotate(0deg);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(1.1) rotate(15deg);
    }
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 700;
    margin: 0 0 30px;
    color: #5f5f5f;
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        0 4px 20px rgba(192, 192, 192, 0.4),
        0 0 40px rgba(138, 138, 138, 0.3);
    animation: fadeInDown 1s ease-out;
    letter-spacing: 4px;
    line-height: 1.2;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.15));
}

.hero-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    max-width: 90vw;
    margin: 0 auto;
    line-height: 1.5;
    color: #8b8b8b;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* スクロールインジケータ */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-indicator .material-symbols-outlined {
    font-size: 40px;
    color: #7aa9ff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.7;
    }
}

/* スクロールアニメーション */
.scroll-text-section {
    min-height: auto;
    padding: clamp(50px, 8vw, 100px) clamp(15px, 5vw, 20px) clamp(60px, 10vw, 150px);
    position: relative;
    z-index: 1;
    background: #f8fafc;
}

.scroll-text-container {
    max-width: 1000px;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(60px, 10vw, 150px);
    padding: 0;
}

.scroll-text {
    font-size: clamp(24px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.8;
    color: #1a1a1a;
    text-align: center;
    will-change: opacity, transform;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
}

.char.char-animate {
    animation: charSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scroll-text-1 {
    animation: textSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scroll-text-2 {
    animation: textSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.5s;
}

@keyframes charSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    70% {
        opacity: 1;
        transform: translateY(-3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    70% {
        opacity: 1;
        transform: translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textRevealBold {
    0% {
        opacity: 0;
        transform: translateY(80px) scaleY(0.5) rotateX(45deg) scaleX(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scaleY(1.1) rotateX(-5deg) scaleX(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1) rotateX(0deg) scaleX(1);
        filter: blur(0px);
    }
}

@keyframes textRevealEva {
    0% {
        opacity: 0;
        transform: translateY(40px) scaleY(0.8);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

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

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

@keyframes cardFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    70% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 4vw, 30px);
    padding: clamp(30px, 5vw, 60px) clamp(15px, 5vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    padding: clamp(15px, 3vw, 30px) clamp(10px, 3vw, 20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
}

.card.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.2);
    border-color: #7aa9ff;
    background: rgba(255, 255, 255, 1);
}
.card-icon {
    background: #7aa9ff;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.card-icon .material-symbols-outlined {
    font-size: 32px;
}
.cards a.card {
  text-decoration: none; /* 下線なくす */
  color: inherit;        /* 親要素の色を使う */
  display: block;        /* ブロック要素にする */
}
.cards.development_diary {
    display: flex;
    flex-direction: column;
  gap: 30px; /* カードの間隔 */
    padding: 40px;
}

footer {
    background: #7aa9ff;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content .sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-content .sns-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.footer-content .sns-links a:hover {
    opacity: 0.7;
}

.footer-content p {
    margin: 0;
    color: white;
}

/* タイムライン（経歴ページ） */
.timeline-section {
    padding: clamp(30px, 5vw, 60px) clamp(15px, 5vw, 20px);
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #7aa9ff;
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 50px);
    opacity: 0;
    transform: translateY(40px);
}

.timeline-node.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.timeline-node:nth-child(odd) {
    flex-direction: row;
}

.timeline-node:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #7aa9ff;
    padding: 10px;
}

.timeline-node:nth-child(odd) .timeline-date {
    text-align: right;
    padding-right: 20px;
}

.timeline-node:nth-child(even) .timeline-date {
    text-align: left;
    padding-left: 20px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #7aa9ff;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px #7aa9ff;
}

.timeline-node:nth-child(odd) .timeline-content::before {
    left: -37px;
}

.timeline-node:nth-child(even) .timeline-content::before {
    right: -37px;
}

.timeline-icon {
    display: inline-block;
    background: #7aa9ff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.timeline-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-node {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        gap: 5px;
        margin-bottom: 30px;
    }

    .timeline-node:nth-child(even) {
        flex-direction: column !important;
    }

    .timeline-date {
        text-align: left !important;
        margin-bottom: 5px;
        font-size: 14px;
        flex: 0 0 auto;
    }

    .timeline-content::before {
        left: -37px !important;
    }
}
@media (max-width: 768px) {
    .hero h2 {
    font-size: 32px;
    }
}

.logo-links {
    display: flex;
    align-items: center;
}

.logo-links h1 {
    margin: 0;
    font-size: 24px;
}

.sns-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    font-size: 14px;
}

.projects {
    padding: clamp(30px, 5vw, 40px) clamp(15px, 5vw, 20px);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.projects h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #004aad;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(15px, 4vw, 30px);
    margin-bottom: 40px;
}

.project-list:last-child {
    margin-bottom: 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.2s;
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(40px);
}

.project-card.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.project-card:hover {
    transform: translateY(-5px);  
}

.project-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
}

.project-card p {
    margin: 0 0 15px;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.project-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #7aa9ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #bbdefb;
}

.project-link {
    color: #7aa9ff;
    font-weight: bold;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

/* 自己紹介ページ */
.intro-section {
    padding: clamp(30px, 5vw, 60px) clamp(15px, 5vw, 20px);
    max-width: 1000px;
    margin: 0 auto;
}

.intro-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.intro-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(40px);
}

.intro-card.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(122, 169, 255, 0.15);
    border-color: #7aa9ff;
}

.card-icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7aa9ff 0%, #5a8fe5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.intro-card:hover .card-icon-container {
    transform: scale(1.1) rotate(-5deg);
}

.card-main-icon {
    font-size: 36px !important;
    color: white;
}

.intro-card h3 {
    font-size: 22px;
    color: #333;
    margin: 0 0 20px;
    font-weight: 700;
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.intro-list li:last-child {
    border-bottom: none;
}

.intro-list li:hover {
    padding-left: 8px;
    color: #7aa9ff;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: #7aa9ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid #bbdefb;
    min-width: 110px;
    text-align: center;
}

.intro-badge.success {
    background: #e8f5e9;
    color: #4caf50;
    border-color: #c8e6c9;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 40px 20px;
    }

    .intro-card {
        padding: 30px 20px;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 制作プロセス */
.process-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.process-section h2 {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
    font-size: clamp(24px, 5vw, 36px);
    color: #333;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 20px);
}

.process-step {
    flex: 0 0 clamp(120px, 20vw, 180px);
    text-align: center;
    padding: clamp(15px, 3vw, 30px) clamp(10px, 2vw, 20px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.process-step.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(122, 169, 255, 0.15);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7aa9ff 0%, #5a8fe5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1) rotate(10deg);
}

.process-icon .material-symbols-outlined {
    font-size: 32px;
    color: white;
}

.process-step h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.process-arrow {
    flex: 0 0 40px;
    text-align: center;
}

.process-arrow .material-symbols-outlined {
    font-size: 32px;
    color: #7aa9ff;
}

@media (max-width: 768px) {
    .process-arrow {
        display: none;
    }
    
    .process-step {
        flex: 0 0 100%;
        max-width: 400px;
    }
}

/* ロードマップ */
.roadmap-section {
    padding: clamp(40px, 8vw, 80px) clamp(15px, 5vw, 20px);
    background: #f8fafc;
}

.roadmap-section h2 {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
    font-size: clamp(24px, 5vw, 36px);
    color: #333;
}

.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #7aa9ff 0%, #5a8fe5 100%);
}

.roadmap-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

.roadmap-item.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.roadmap-date {
    flex: 0 0 80px;
    font-weight: 700;
    font-size: 16px;
    color: #7aa9ff;
    text-align: right;
    padding-top: 10px;
}

.roadmap-content {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.roadmap-icon {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.roadmap-icon.completed {
    background: #4caf50;
}

.roadmap-icon.current {
    background: #7aa9ff;
    animation: pulse 2s ease-in-out infinite;
}

.roadmap-icon.future {
    background: #bdbdbd;
}

.roadmap-icon .material-symbols-outlined {
    font-size: 24px;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 4px 12px rgba(122, 169, 255, 0.3);
    }
    50% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 20px rgba(122, 169, 255, 0.6);
    }
}

.roadmap-content h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
}

.roadmap-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .roadmap-container::before {
        left: 60px;
    }
    
    .roadmap-date {
        flex: 0 0 60px;
        font-size: 14px;
    }
    
    .roadmap-icon {
        left: -50px;
        width: 36px;
        height: 36px;
    }
    
    .roadmap-icon .material-symbols-outlined {
        font-size: 20px;
    }
}

/* AACS詳細ページ */
.project-detail {
    padding: clamp(20px, 4vw, 40px) clamp(15px, 5vw, 20px);
    max-width: 900px;
    margin: 0 auto;
}

.detail-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-section {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(40px);
}

.detail-section.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #7aa9ff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.detail-icon .material-symbols-outlined {
    font-size: 28px;
}

.detail-section h3 {
    font-size: 28px;
    color: #333;
    margin: 0 0 20px;
}

.detail-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7aa9ff;
    font-weight: bold;
    font-size: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.card-animate {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 40px !important;
    color: #7aa9ff;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-tag {
    background: #7aa9ff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.detail-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #7aa9ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.2s;
}

.detail-button:hover {
    background: #5a8fe5;
}

.detail-button.secondary {
    background: #6c757d;
}

.detail-button.secondary:hover {
    background: #5a6268;
}

.detail-button .material-symbols-outlined {
    font-size: 20px;
}

@media (max-width: 768px) {
    .detail-container {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .detail-links {
        flex-direction: column;
    }

    .detail-button {
        justify-content: center;
    }
}
