body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    background-color: white;
    padding-top: 7vh;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 13vh;
    background: linear-gradient(135deg, rgba(106, 144, 59, 0.9), rgba(78, 116, 35, 0.9));
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display:flex;
    justify-content: space-around;
    align-items: center;
    height: 13vh;
    background-color: rgb(106, 144, 59, 0.65);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 56%;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
}


        /* ハンバーガーメニュー */
        .burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

.nav-active {
    transform: translateX(0%) !important;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

        /* メインコンテンツ */
        .main-content {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 0 2rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 8rem;
        }
        
        .page-title::after {
            content: '';
            height: 4px;
            background-color: #8eb775;
            flex-grow: 1;
            max-width: 100px;
        }
        
        .intro-text {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            margin-bottom: 3rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .intro-text p {
            margin-bottom: 0.5rem;
        }

        .image-row {
        display: flex;
        gap: 20px; /* 画像の間隔 */
        justify-content: center; /* 中央揃え（必要に応じて） */
        margin-top: 20px;
        margin-bottom: 20px;
}

.image-row img {
  width: 45%; /* または max-width: 300px; などサイズ調整 */
  height: auto;
  border-radius: 8px; /* オプションで角丸に */
}



@media screen and (max-width: 1200px) { body {
        overflow-x: hidden;
    }
    .nav-links {
        right: 0;
        height: 87vh;
        flex-direction: column;
        position: absolute;
        align-items: center;
        top: 13vh;
        background-color: rgb(106, 144, 59, 0.8);
        width: 30%;
        transform: translateX(100%);
        z-index: 10;
    }

    .nav-links li {
        opacity: 0;
        z-index: 3;
    }

    .burger {
        display: block;

    }
    body {
        overflow-x: hidden;
    }
    .nav-links {
        right: 0;
        height: 87vh;
        flex-direction: column;
        position: absolute;
        align-items: center;
        top: 13vh;
        background-color: rgb(106, 144, 59, 0.8);
        width: 30%;
        transform: translateX(100%);
        z-index: 10;
    }

    .nav-links li {
        opacity: 0;
        z-index: 3;
    }

    .burger {
        display: block;

    }
}

@keyframes navLinksFade {
    0% {
        opacity: 0;
        transform: translateX(50%);
    }

    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

.labo-name {
    color: white;
}

.labo-name h1 {
    font-size: 15px;
}

.labo-name h2  {
    font-size: 35px;
}

.break-on-small {
    display: none;
}

@media screen and (max-width: 700px) {
    .labo-name h1 {
    font-size: 14px;
    }
    .labo-name h2  {
    font-size: 27px;
    }
    header {
        height: 8vh;
    }
    

    
}

@media screen and (max-width: 550px) {
    .labo-name h1 {
    font-size: 12px;
    }
    .labo-name h2  {
    font-size: 24px;
    }
    .break-on-small {
        display: block;
    }
}
        
        /* 年度セクション */
        .year-section {
            margin-bottom: 3rem;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .year-title {
            font-size: 1.8rem;
            color: #2c3e50;
            padding: 1.5rem 2rem;
            margin: 0;
            background-color: #f8f9fa;
            border-left: 5px solid #8eb775;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }
        
        .year-title:hover {
            background-color: #e9ecef;
        }
        
        .year-title::after {
            content: '▼';
            font-size: 1.2rem;
            color: #8eb775;
            transition: transform 0.3s;
        }
        
        .year-section.collapsed .year-title::after {
            transform: rotate(-90deg);
        }
        
        .year-content {
            padding: 2rem;
            max-height: 7000px;
            overflow: hidden;
            transition: max-height 0.18s ease-out, padding 0.18s ease-out;
        }
        
        .year-section.collapsed .year-content {
            max-height: 0;
            padding: 0 2rem;
        }
        
        /* 発表カード */
        .presentation-card {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            border-left: 4px solid #8eb775;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .presentation-card:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        }
        
        .presentation-type {
            display: inline-block;
            background-color: #e8f4fd;
            color: #2980b9;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            font-weight: 500;
        }
        
        .presentation-type.international {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .presentation-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            color: #2c3e50;
            line-height: 1.5;
        }
        
        .presentation-authors {
            color: #666;
            margin-bottom: 0.5rem;
        }
        
        .presentation-details {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: #666;
        }
        
        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .detail-item::before {
            content: '📍';
            font-size: 1rem;
        }
        
        .detail-item.date::before {
            content: '📅';
        }
        
        .detail-item.conference::before {
            content: '🎓';
        }
        
        /* レスポンシブデザイン */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
            
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 1rem;
            }
            
            .page-title {
                font-size: 2rem;
            }
            
            .presentation-card {
                padding: 1.5rem;
            }
            
            .presentation-details {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
        
        /* アニメーション */
        .fade-in {
            animation: fadeIn 0.6s ease-in;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        

        /* フッター */
        footer {
    width: 100%;
    min-height: 80px;
    background-color: #2f5167;
    padding: 30px 15px; /* 上下パディングを少し増やす */
    color: white;
    margin-top: 40px; /* フッターの上のマージン */
}

div.footerWrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px; /* 要素間の隙間 */
}

    div.footerWrapper h4 {
        color: white;
        margin: 0;
        font-size: 1.1em;
        line-height: 1.4;
    }

    div.footerWrapper p {
        color: white;
        margin: 0;
        font-size: 0.9em;
        text-align: right;
        line-height: 1.4;
    }

        /* レスポンシブ対応 */
        
        @media screen and (max-width: 700px) {
            body {
                padding-top: 10vh;
            }

            header {
                height: 10vh;
            }

            nav {
                height: 10vh;
                padding: 0 15px;
            }

            .labo-name h1 {
                font-size: 12px;
            }

            .labo-name h2 {
                font-size: 20px;
            }

            .nav-links {
                top: 10vh;
            }

            .about-main {
                font-size: 1.8em;
            }

            .about-sub {
                font-size: 1em;
            }

            .wrapper {
                padding: 30px 15px;
            }
        }

        @media screen and (max-width: 600px) {
            .labo-br {
        display: inline;
        }
        }

        @media screen and (max-width: 500px) {
            .labo-name h1 {
                font-size: 10px;
            }

            .labo-name h2 {
                font-size: 18px;
            }

            .about-main {
                font-size: 1.5em;
            }

            .footerWrapper h4 {
                font-size: 14px;
            }

            
        }

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

        /* スクロール効果 */
        .wrapper {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .wrapper:nth-child(2) { animation-delay: 0.2s; }
        .wrapper:nth-child(3) { animation-delay: 0.4s; }
        .wrapper:nth-child(4) { animation-delay: 0.6s; }

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

        .theme {
            display: block;
            font-size: 1.3em;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .theme-sub {
            display: block;
            font-size: 0.8em;
            color: #7f8c8d;
            font-weight: normal;
        }