/*
Theme Name: ICPMB 2026 Theme
Description: A custom theme for the 14th International Conference for Plant Molecular Biology (ICPMB 2026).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: icpmb2026
*/

/* 
================================================
ここに、元のHTMLプロジェクトで使用していた
style.cssファイルの内容をすべて貼り付けてください。
================================================
*/


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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Arvo', serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Arvo', serif;
    font-weight: 700;
    color: #007304;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-title-under {
    font-family: 'Arvo', serif;
    font-weight: 700;
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Header Section */
.header-section {
    position: relative;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    height: 300px;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.conference-logo {
    text-align: center;
    color: white;
    max-width: 500px;
    margin: 0 auto;
}

.conference-logo img{
    max-width: 200px;
}

.footer-conference-logo {
color: #000;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.footer-conference-logo img {
    max-width: 100px;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Arvo', serif;
        line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-family: 'Arvo', serif;
    line-height: 1.2;
}

.hero-date {
    font-size: 1rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-family: 'Arvo', serif;
}

.footer-conference-logo .hero-date  {
    margin-bottom: 0;
}

/* Slick Slider Customization */
.slick-dots {
    bottom: 20px;
    z-index: 15;
}

.slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.7;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #007304;
}

.slick-prev,
.slick-next {
    z-index: 15;
    width: 40px;
    height: 40px;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 30px;
    color: white;
    opacity: 0.8;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    opacity: 1;
    color: #94ebbb;
}

/* Main Navigation */
.main-navigation {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #000;
        border-top: 1px solid #000;
}

.header-inner .main-navigation {
    position: static;
    /* 位置の固定を解除 */
    background-color: #ffffff;
    /* 背景色を白に設定 */
}

/* トップページ以外ではメインコンテンツとの間に少し余白を設ける */
body:not(.home) main {
    padding-top: 2rem;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #000 !important;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font-family: 'Arvo', serif;
}

.nav-link:hover {
    color: #007304 !important;
    background-color: rgba(78, 205, 196, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    background-color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 220px;
}

.dropdown-item {
    color: #333;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #2d5016;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Language Toggle */
.language-toggle {
    color: white;
    font-size: 0.9rem;
    padding: 1rem;
}

/* Mobile Menu Button - Fixed Position */
.mobile-menu-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1002;
    background-color: rgba(45, 80, 22, 0.9);
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(45, 80, 22, 1);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
    transform-origin: center;
}

.mobile-menu-btn.active {
    background-color: #007304;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #007304;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-menu-item {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu-item:hover {
    color: #4ECDC4;
}

/* Mobile Dropdown */
.mobile-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 300px;
}

.mobile-dropdown-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.mobile-dropdown-item:hover {
    color: #4ECDC4;
}

/* main section */

main {
    background-image: url(./images/main-back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
}


/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* News Section */
.news-section {
    background-color: white;
    padding: 4rem 0;
}

.news-container {
    border-bottom: 1px solid #333;
}

.news-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    height: 150px;
    overflow-y: scroll;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-text {
    font-weight: 600;
    color: #333;
}

.news-badge {
    background-color: #FF6B9D;
    color: white;
    padding: 0 0.1rem;
    font-size: 0.8rem;
    margin-right: 5px;
}

.news-title {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* Important Days Section */
.important-days-section {
    padding: 4rem 0;
}

.important-days-list {
    background-color: white;
    overflow: hidden;
}

.important-day-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #333;
}

.important-day-item:last-child {
    border-bottom: none;
}

.day-date {
    font-weight: 600;
    color: #333;
    min-width: 100px;
    margin-right: 0.5rem;
}

.day-event {
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Footer */
.footer-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0.5rem;
}

.footer-dropdown .dropdown-menu {
    display: none;
    text-align: left;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    padding: 0.5rem 1rem;
}

.footer-dropdown .dropdown-item {
    color: #2c2b2b;
    padding: 0.25rem 0;
    text-decoration: none;
    display: block;
}

.footer-dropdown .dropdown-item:hover {
    color: #202020;
    background-color: transparent;
}



.footer-section {
    color: #000;
    padding: 3rem 0 0;
}

.footer-logo {
    margin-bottom: 2rem;
        display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img{
    max-width: 200px;
    width: 30%;
}

.footer-title {
    font-size: 3rem;
    margin-bottom: 0;
    color: #007304;
}

.text-pink {
    color: #D20077;
}

.footer-subtitle {
      font-size: 0.85rem;
    margin-bottom: 0.05rem;
    opacity: 0.9;
    font-family: 'Arvo', serif;
    font-weight: 700;
}

.footer-date {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 0;
        font-family: 'Arvo', serif;
}



.footer-nav-title {
    font-family: 'Arvo', serif;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #000;
    margin-bottom: 10px;
}

.footer-nav-title a{
    text-decoration: none;
    color: #000;
}
.footer-nav-title a:hover{
    opacity: 0.8;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    word-break: break-word;
    padding: 0 10px;
}

.footer-nav-list li {
      margin-bottom: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
    color: #333;
}

.footer-nav-list li a {
    color:  #333;
    text-decoration: none;
}

.footer-nav-list li a:hover {
    opacity: 0.8;
}

/* 
.footer-images {
    margin-top: 2rem;
}
 */
.footer-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.footer-bottom {
    background-color: #007304;
    padding: 1rem 0;
    margin-top: 0;
}



.copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

@media (min-width:768px) {
    .footer-nav-container .col-md-2 {
        border-right: 1px solid #ccc;
    }

    .footer-nav-container .col-md-2:first-child {
        border-left: 1px solid #ccc;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .welcome-section,
    .news-section,
    .important-days-section {
        padding: 3rem 0;
    }

    /* Adjust mobile menu button position for smaller screens */
    .mobile-menu-btn {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
    }

    .footer-logo {
        /* margin: 2rem 0; */
        padding: 2rem 0;
        text-align: center;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-section {
        height: 250px;
    }

    .hero-slide {
        height: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-date {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .important-day-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .day-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
        min-width: auto;
    }

    .news-item,
    .important-days-list {
        margin: 0 1rem;
    }

    .footer-images img {
        height: 200px;
    }

    /* Mobile menu button adjustments */
    .mobile-menu-btn {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }




}

@media (max-width: 575.98px) {


    .hero-slider-section {
                height: 250px;
    }

    .hero-slide {
                height: 250px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-date {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .news-item {
        padding: 1.5rem;
    }

    .important-day-item {
        padding: 1rem 1.5rem;
    }

    .footer-section {
        padding: 2rem 0 0;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-logo {
        /* margin: 2rem 0; */
        padding: 2rem 0;
        text-align: center;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }

    .footer-nav-container .col-md-2:nth-child(odd) {
        border-right: 1px solid #ccc;
    }


    /* Mobile menu button for very small screens */
    .mobile-menu-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .mobile-menu-btn span {
        width: 18px;
        height: 2px;
        margin: 2px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover Effects */
.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.important-day-item:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

/* Loading Animation */
.loading {
    overflow: hidden;
}

.loading * {
    animation-play-state: paused;
}

/* Ensure mobile menu button is always visible on mobile */
@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: block !important;
    }
}

/* Hide mobile menu button on desktop */
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none !important;
    }
}