
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #FDFDED;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    background-image: url('ノート.png'); 
    background-repeat: repeat; 
    background-size: auto; 
    background-attachment: fixed; 
}


.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3);
}

.logo {
    max-width: 50vw;
    height: auto;
    display: block;
}

.content-section {
    padding: 5vh 5vw;
    text-align: center;
    margin: 50px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 3;
    position: relative;
}

.content-section h2 {
    font-size: 6vw; 
    color: #000000;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.2vw;
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    background-color: rgba(173, 216, 230, 0.85); 
    padding: 3vw 6vw;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
}


.live-section {
    background-color: rgba(250, 245, 222, 0.7); 
    padding: 50px 20px;
    margin: 500px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   
    overflow: hidden;
}

.slide-in-container {
    position: relative;
    width: 100%;
    height: auto;
}

.white-image {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    to {
        right: 0;
    }
}

.live-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 11;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInList 0.5s ease-out forwards 1s;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInList {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.live-list li {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInUp 0.5s ease-out forwards var(--delay);
}

.live-list li:last-child {
    border-bottom: none;
}

.live-list li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 1.5rem;
    padding: 0;
    transition: background-color 0.3s ease;
}

.live-list li a:hover {
    background-color: #f0f0f0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.scroll-gallery-section {
    background-color: rgba(253, 253, 237, 0.9);
    padding: 50px 0;
    text-align: center;
    margin: 50px auto;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 3;
    position: relative;
    overflow: hidden;
}

.scroll-gallery-section h3 {
    font-size: 8vw;
    color: #000000;
    margin-bottom: 30px;
    padding: 0 20px;
}

.gallery-container {
    display: flex;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 25px;
    gap: 25px;
    scroll-snap-type: x mandatory;
}

.gallery-item {
    flex: 0 0 auto;
    width: 40vw;
    max-width: 500px;
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    padding: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    scroll-snap-align: center;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size:0.8vw;
    margin: 0;
    color: #000000;
}


.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px;
}

.menu-toggle {
    position: absolute;
    top: 20px;
    right: 60px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 60px;
    height: 40px;
    z-index: 20000;
}

.hamburger {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.is-active .hamburger:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle.is-active .hamburger:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active .hamburger:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: rgba(173, 216, 230 ,0.95);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 80px;
    transition: right 0.4s ease-out;
    z-index: 10000;
    overflow-y: auto;
}

.main-nav.is-active {
    right: 0;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
     text-align: center; 
}

.main-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.main-nav ul li:last-child {
    border-bottom: none;
}

.main-nav ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #0056b3;
}


@media (max-width: 768px) {
    .logo-container {
        padding: 5vw 10vw;
    }
    .logo {
        max-width: 40vw;
    }
    .content-section h2 {
        font-size: 6vw;
    }
    .content-section p {
        font-size: 3.5vw;
    }
    .action-button {
        font-size: 4vw;
        padding: 3vw 6vw;
    }
    .scroll-gallery-section h3 {
        font-size: 5vw;
    }
    .gallery-item {
        width: 40vw;
    }
    .live-list {
        max-width: 90%;
    }
    .live-list li {
        padding: 12px 15px;
    }
    .live-list li a {
        font-size: 1.2rem;
    }
    .gallery-item p {
        font-size: 2.5vw;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 60vw;
    }
    .content-section {
        margin: 20px auto;
        padding: 3vh 3vw;
    }
    .content-section h2 {
        font-size: 8vw;
    }
    .content-section p {
        font-size: 4.5vw;
    }
    .action-button {
        font-size: 5vw;
        padding: 4vw 8vw;
    }
    .scroll-gallery-section h3 {
        font-size: 7vw;
    }
    .gallery-item {
        width: 70vw;
    }
    .gallery-item p {
        font-size: 3.5vw;
    }
    .live-list {
        max-width: 95%;
    }
    .live-list li {
        padding: 10px 10px;
    }
    .live-list li a {
        font-size: 1rem;
    }
    .main-nav {
        width: 80%;
        right: -80%;
    }
    .main-nav.is-active {
        right: 0;
    }
    .main-header {
        padding: 15px;
    }
}



.profile-icons-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 100px; 
}

.profile-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #6c7a89;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.profile-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; 
    visibility: hidden; 
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s; 
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}


.popup-content {
    background-color: #FDFDED; 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 60vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9); 
    transition: transform 0.3s ease-out;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}


.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.close-button:hover {
    color: #333;
}


.profile-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
}


     
.profile-item {
    text-align: center;
    background-color: rgba(173, 216, 230, 0.85); 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none; 
    margin: 0 auto; 
    max-width: 80vw; 
}

.profile-item.active {
    display: block;
}

.profile-item .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 80%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #555;
}

.profile-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.5rem;
}

.profile-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.profile-item .profile-description {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 15px;
    color: #444;
}