@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&display=swap');

body {
    margin: 0;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#p5-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    margin: 0;
}

.hero-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    box-shadow: 0 0 15px #00000040;
}

.hero-image img {
    position: relative;
    top: calc(-220px + (300px / 2));
    left: calc(-600px / 4);
    width: 600px;
    object-fit: contain;
    clip-path: circle(150px at 50% 220px);
}

.hero-title {
    font-size: 4rem;
    margin: 10px 0;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #FFFFFF;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    margin: 0 30px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.15) rotate(5deg);
}

.social-links p {
    width: 150px;
    padding: 5px 0;
    border: 5px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 0 15px #00000040;
    font-size: 1.5rem;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #FFFFFF !important;
}

.X {
    background-color: #000000;
}

.YouTube {
    background-color: #ff0033;
}

.Twitch {
    background-color: #9147ff;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background: #8DBCC7;
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 10px #00000030;
}

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

.pc-nav li {
    margin: 0 30px;
}

.pc-nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.pc-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #272727;
    transition: width 0.3s ease;
}

.pc-nav a:hover {
    color: #272727;
}

.pc-nav a:hover::after {
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
}

.section-title {
    height: 100px;
    text-align: center;
    font-size: 4em;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 10px 50px;
    font-family: "Kaisei Decol", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #444444;
    border-radius: 60px;
    box-shadow: 5px 5px 5px #00000050;
    background-color: #FFFFFF;
}

.about-section {
    background-color: #F5F5F5;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-image {
    position: sticky;
    top: 10%;
    width: 350px;
    margin-bottom: 50px;
    filter: drop-shadow(5px 5px 5px #aaaaaa);
}

.about-text {
    margin: 50px 0;
}

.about-text-content {
    margin: 0;
    margin-bottom: 100px;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 5px 5px 5px #00000050;
    background-color: #FFFFFF;
    outline: 5px dashed #8DBCC7;
    outline-offset: -20px;
}

.about-text-content:last-child {
    margin-bottom: 0;
}

.about-text p {
    margin: 0;
    font-size: 2em;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #444444;
}

.about-text h3 {
    margin: 0;
    font-size: 2em;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #444444;
}

.about-text ul {
    list-style: none;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 1.5em;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #444444;
}

.about-text li::before {
    content: '▶';
    position: absolute;
    left: -1rem;
    color: #8DBCC7;
}

/* 活動内容セクション */
.activities-section {
    background-color: #A4CCD9;
}

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

.activity-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 5px 5px 10px #00000050;
    padding: 25px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.activity-card:hover {
    box-shadow: 5px 5px 20px #00000090;
}

.activity-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.activity-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background-color: #8DBCC7;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: #3D518C;
    transform: scale(1.1);
}

/* ギャラリーセクション */
.gallery-section {
    background-color: #F5F5F5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px #00000030;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.3) rotate(3deg) !important;
    box-shadow: 0 8px 25px #00000060;
    z-index: 10;
}

/* スケジュールセクション */
.schedule-section {
    background-color: #A4CCD9;
}

.schedule-list {
    background-color: #FFFFFF;
    padding: 20px 50px;
    border-radius: 12px;
    box-shadow: 0 6px 15px #00000060;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 2px dashed #272727;
    font-size: 1.3rem;
}

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

.schedule-item .date {
    font-weight: 700;
    color: #272727;
    min-width: 150px;
}

.schedule-item .time {
    color: #555555;
    min-width: 100px;
}

.schedule-item .event {
    margin-left: 20px;
    font-weight: 600;
    color: #272727;
}

/* コンタクトセクション */
.contact-section {
    text-align: center;
    background-color: #F5F5F5;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #272727;
}

/* フッター */
footer {
    background-color: #8DBCC7;
}

footer p {
    text-align: center;
    margin: 0;
    padding: 5px 0;
    color: #FFFFFF;
    font-size: 1.2em;
}




/* スマートフォン向けスタイル */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 20px;
        font-size: 2rem;
        word-break: keep-all;
    }


    .social-links a {
        margin: 5px;
        height: 50px;
    }

    .social-links a p {
        width: 100px;
        margin: 0;
        border: 3px solid #FFFFFF;
        font-size: 1rem;
    }

    nav {
        display: none;
    }

    .container {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2em;
        height: 50px;
        margin-bottom: 20px;
    }

    .about-content {
        display: block;
    }

    .about-image {
        display: block;
        top: 5%;
        width: 300px;
        margin: auto;
    }

    .about-text {
        padding-bottom: 10px;
        overflow: hidden;
    }

    .about-text-content {
        margin: 0 10px;
        margin-bottom: 30px;
        padding: 30px;
        outline: 3px dashed #8DBCC7;
        outline-offset: -12px;
        box-shadow: 3px 3px 7px #00000050;
    }

    .about-text p {
        font-size: 1.2rem;
    }

    .about-text li {
        font-size: 1.2rem;
    }

    .gallery-item:hover {
        transform: scale(1) rotate(0deg) !important;
    }

    .schedule-item {
        display: block;
    }

    .schedule-item .event {
        margin-left: 0;
    }
}