:root {
    --primary-color: #98D8C8;
    --secondary-color: #F5F5F5;
    --accent-color: #FFB6C1;
    --text-color: #333333;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mochiy Pop One', sans-serif;
}

/* Hero Section */
.hero-section {
    background: url('../images/banner01.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    margin-bottom: 4rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* YouTube Section */
.youtube-section {
    background-color: var(--secondary-color);
}

.youtube-video {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Profile Section */
.profile-section {
    background-color: white;
}

.profile-content {
    padding: 2rem;
}

.profile-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
}

.social-icon:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Works Section */
.works-section {
    background-color: var(--secondary-color);
}

.filter-buttons {
    margin-bottom: 2rem;
}

.btn-filter {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: white;
}

.filter-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-nav-button:hover {
    background: var(--accent-color);
}

.filter-nav-button.prev {
    left: 0;
}

.filter-nav-button.next {
    right: 0;
}

.works-grid {
    margin-top: 2rem;
}

.work-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.work-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.work-thumbnail {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
}

.work-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-thumbnail img {
    transform: scale(1.1);
}

.work-content {
    flex-grow: 1;
    position: relative;
}

.work-type {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.work-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    padding-right: 80px;
}

.work-item p {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .work-item {
        flex-direction: column;
        gap: 15px;
    }

    .work-thumbnail {
        width: 100%;
        height: calc(100vw * 0.5625); /* 16:9のアスペクト比を維持 */
        max-height: 200px;
    }

    .work-content {
        width: 100%;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .social-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
    }

    .btn-filter {
        padding: 6px 15px;
        font-size: 0.9rem;
        margin: 0;
    }

    .filter-nav-button {
        width: 25px;
        height: 25px;
    }
}

/* Recruitment Section */
.recruitment-section {
    background-color: white;
}

.recruitment-content {
    padding: 2rem;
}

.recruitment-content h2 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.recruitment-content i {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Mochiy Pop One', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 30px;
    }
    
    .hero-content {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .profile-section img {
        max-width: 300px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Animations */
.hero-section,
.profile-section,
.youtube-section,
.works-section,
.recruitment-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-section.visible,
.profile-section.visible,
.youtube-section.visible,
.works-section.visible,
.recruitment-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Works List */
.works-list {
    max-width: 800px;
    margin: 0 auto;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--secondary-color);
}

/* スクロールバーのスタイリング（Webkitブラウザ用） */
.works-list::-webkit-scrollbar {
    width: 8px;
}

.works-list::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 4px;
}

.works-list::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.works-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

/* SNS Section */
.sns-section {
    background-color: var(--secondary-color);
}

.sns-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.sns-link {
    text-decoration: none;
    color: var(--text-color);
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.sns-link:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.sns-link i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sns-link h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sns-link p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sns-links {
        flex-direction: column;
        align-items: center;
    }

    .sns-link {
        width: 100%;
        max-width: 100%;
    }
}

.profile-section .col-md-6 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-section img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .profile-section .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
}

.gallery-swiper {
    padding: 20px 0;
}

.gallery-swiper .swiper-slide {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 1s ease;
}

.gallery-swiper .swiper-slide:hover {
    transform: scale(1.02);
}

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

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #333;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.gallery-swiper .swiper-pagination-bullet {
    background: #333;
}

@media (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        height: 250px;
    }
    
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .gallery-swiper .swiper-button-next:after,
    .gallery-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.2rem;
    font-weight: 500;
}

.lb-data .lb-close {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 250px;
        height: 167px;
    }
    
    .gallery-swiper {
        padding: 30px 0;
    }
} 