@charset "UTF-8";

:root {
    --main-yellow: #f2b842;
    --main-blue: #60748e;
    --hero-blue: #004098;
    --text-black: #333333;
    --font-base: "M PLUS Rounded 1c", sans-serif;
    --color-blog: #7ecef4;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--text-black);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    word-wrap: break-word;
}
html { scroll-behavior: smooth; overflow-x: hidden; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.site-header {
    background-color: var(--main-yellow);
    min-height: 70px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    font-weight: 800;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.header-logo {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-right: 15px;
}
.header-logo a { color: inherit; text-decoration: none; }

.site-header nav ul {
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
}
.site-header nav a { font-size: 0.95rem; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a.active { border-bottom: 2px solid white; }

.hamburger-btn {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative; z-index: 2000; padding: 0;
}
.hamburger-btn span {
    position: absolute; left: 0; width: 100%; height: 3px;
    background-color: white; border-radius: 2px; transition: 0.3s;
}
.hamburger-btn span:nth-of-type(1) { top: 0; }
.hamburger-btn span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.hamburger-btn span:nth-of-type(3) { bottom: 0; }
.hamburger-btn.active span:nth-of-type(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger-btn.active span:nth-of-type(2) { opacity: 0; }
.hamburger-btn.active span:nth-of-type(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.page-header-bar { background-color: var(--main-blue); color: white; text-align: center; padding: 50px 20px; margin-bottom: 40px; }
.page-header-bar h1 { margin: 0; font-size: 2.2rem; letter-spacing: 0.1em; }

.hero-section { display: flex; min-height: 500px; }
.hero-left { width: 50%; display: flex; align-items: center; padding-left: 8%; background-color: var(--main-blue); color: white; }
.hero-right { width: 50%; display: flex; justify-content: center; align-items: center; background-color: white; }
.hero-right img { max-width: 60%; max-height: 400px; }
.hero-text-content h1 { font-size: 4.5rem; color: white; margin: 10px 0; line-height: 1.2; }
.hero-text-content p { color: white; font-size: 1.1rem; margin: 0; opacity: 0.9; }

.news-section { background-color: var(--main-yellow); padding: 60px 20px; color: white; }
.news-title-border { border-left: 5px solid white; padding-left: 15px; font-style: italic; font-size: 2rem; margin-bottom: 30px; }
.news-list { border-top: 1px solid rgba(255, 255, 255, 0.4); }
.news-list li { border-bottom: 1px dotted rgba(255, 255, 255, 0.6); }

.news-list li a, 
.news-list li .news-content { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    padding: 15px 10px; 
    text-decoration: none; 
    color: white; 
    position: relative;
}

.news-list li a { transition: background-color 0.3s; cursor: pointer; padding-right: 30px; }
.news-list li a:hover { background-color: rgba(255, 255, 255, 0.1); }

.news-date { font-weight: bold; min-width: 90px; white-space: nowrap; }
.news-tag { background-color: white; color: var(--main-yellow); width: 90px; text-align: center; padding: 4px 0; border-radius: 2px; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; }
.news-title { flex-grow: 1; text-align: left; }

.news-list li a::after { 
    content: "＞"; 
    font-weight: bold; 
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white; 
}

/* 一覧ページ用の矢印色調整 */
#js-news-page-list li a::after {
    color: var(--main-yellow);
}

.accordion-container { background-color: var(--main-blue); margin-top: 20px; }
.accordion-item { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.accordion-header { width: 100%; padding: 25px; background: none; border: none; color: white; display: flex; justify-content: space-between; font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.accordion-content { max-height: 0; overflow: hidden; transition: 0.3s ease-out; background: rgba(0,0,0,0.1); }
.member-list-mini { list-style: none; padding: 30px 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.member-list-mini li { color: white; border-left: 4px solid var(--main-yellow); padding-left: 15px; }
.member-list-mini li b { font-size: 1.4rem; display: inline-block; margin-bottom: 5px; }
.member-list-mini li small { font-size: 1rem; color: #ddd; display: block; }

.sns-grid-3col { display: flex; justify-content: center; gap: 30px; margin: 40px 0; flex-wrap: wrap; }
.sns-card { width: 250px; padding: 40px 20px; border-radius: 12px; color: white !important; text-align: center; font-weight: 800; }
.sns-x { background-color: #000; }
.sns-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sns-blog { background-color: var(--color-blog); color: white !important; }

footer { background-color: #333; color: #ccc; text-align: center; padding: 20px; font-size: 0.8rem; margin-top: auto; }
.image-modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); cursor: zoom-out; }
.image-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; max-height: 90vh; }
.stage-image-container { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; align-items: flex-start; }
.stage-image-container img { max-width: 45%; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); cursor: zoom-in; }

.page-top-btn { position: fixed; bottom: 20px; right: 20px; background-color: var(--main-yellow); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 1.5rem; padding-bottom: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 900; }
.page-top-btn.show { opacity: 1; visibility: visible; }
.page-top-btn:hover { background-color: var(--main-blue); }

@media (max-width: 768px) {
    .news-list li a, 
    .news-list li .news-content { 
        flex-wrap: wrap; 
        align-items: center; 
        gap: 5px 15px; 
        padding: 15px 10px; 
    }
    .news-date { 
        min-width: auto; 
        font-size: 0.9rem;
    }
    .news-tag { 
        width: auto; 
        padding: 2px 10px; 
        font-size: 0.8rem;
    }
    .news-title { 
        width: 100%; 
        display: flex;
        align-items: flex-start;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .news-list li a::after { 
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 1100px) {
    .site-header { padding: 10px; flex-wrap: nowrap; }
    .header-logo { font-size: 0.9rem; white-space: normal; margin-right: 10px; }
    .hamburger-btn { display: block; }
    .site-header nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(242, 184, 66, 0.98); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1500; }
    .site-header nav.active { opacity: 1; visibility: visible; }
    .site-header nav ul { flex-direction: column; gap: 30px; text-align: center; }
    .site-header nav a { font-size: 1.5rem; display: block; }
    .hero-section { flex-direction: column; }
    .hero-left, .hero-right { width: 100%; text-align: center; padding: 40px 20px; }
    .hero-text-content h1 { font-size: 3rem; }
    .stage-image-container img { max-width: 100%; }
}
