:root {
    --bg-primary: #333;
    --gakusai-color: #dc2804;
    --bg-nav: #ffffff;
    --bg-secondary: #000;
    --text-primary: #000000;
    --text-secondary: #333;
}
body {
    background-color: #fdf8f8;
    background-image: 
        linear-gradient(rgba(220, 50, 50, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 50, 50, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヘッダーのスタイル */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-nav);
    border-bottom: 2px solid var(--gakusai-color);
}

header nav {
    display: flex;
    align-items: center;
    background-color: var(--bg-nav);
    justify-content: space-between;
    padding: 0 32px;
    height: 60px;
}
.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
}
.nav-links {
    display: flex;
    gap: 20px;
    font-size: 18px;
    color: var(--text-secondary);
    list-style: none;
    margin: 0;
    padding: 0;
}
.logo a,
.logo a:link,
.logo a:visited,
.logo a:active,
.nav-links a,
.nav-links a:link,
.nav-links a:visited,
.nav-links a:active {
    color: var(--text-secondary);
    text-decoration: none;
}

.nav-links li + li::before {
    content: "|";
    margin-right: 20px;
    color: var(--text-secondary);
}
/*ハンバーガー*/
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ヒーローセクションのスタイル */
.hero-section{
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.5) brightness(0.85);
    z-index: 0;
}
.main-title {
    position: relative;
    color: #ff6b6b;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 100;
}
.event-date-time{
    position: relative;
    color: #ff6b6b;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    top: 42%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 100;
}
.event-location{
    position: relative;
    color: #ff6b6b;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 100;
}
#about {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.about-info {
    text-align: center;
}
.about-title1 {
    display: inline-flex;
    text-align: center;
    font-size: 25px;
    background-color: var(--gakusai-color);
    padding: 10px 30%;
    color: #ffffff;
}
.about-text {
    max-width: 80%;
    margin: 100px auto;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}
#customer {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.customer-info {
    text-align: center;
}
.thema-block {
    position: relative;
    width: 90%;
    margin: 40px auto;
}
.title1-img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
}
.thema-block-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thema {
    font-size: 250px;
    font-weight: 550;
    color: var(--gakusai-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin: 0;
    padding: 16px 0;
    font-family: Yuji Boku, sans-serif;
}
.thema-text {
    font-size: 15px;
    text-align: center;
    color: #ffffff;
    max-width: 600px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}
.subtitle {
    display: inline-block;
    width: 60%;
    font-size: 30px;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 100px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gakusai-color);
    
}
.customer-text {
    max-width: 80%;
    margin: 100px auto;
    font-size: 18px;
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.9;
}
.access-text {
    font-size: 18px;
    text-align: left;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0px auto;
    line-height: 1.9;
}
.map-container {
    width: 60%;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
}
.map-container iframe {
    display: block;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    border: 0;
}
#gakunai {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.gakunai-info {
    text-align: center;
}
.gaku-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.9;
}
#contact {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.contact-info {
    text-align: center;
}
#event {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.event-info {
    text-align: center;
}
#mogi {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.mogi-info {
    text-align: center;
}
#collabo {
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    text-align: center;
}
.collabo-info {
    text-align: center;
}
/*footerセクションのスタイル*/
footer {
    margin-top: 100px;
    border-top: 3px solid var(--gakusai-color);
    background-color: var(--bg-nav);
    padding: 40px 32px 20px;
}
.footer-content {
    display: flex;
    flex-direction: row;
    gap: 250px;
    width: 100%;
    justify-content: center;
    margin-bottom: 32px;
}
.footer-content h2 {
    font-size: 13px;
    color: var(--gakusai-color);
    margin: 0 0 auto;
    padding-bottom: 4px;
    
}
.footer-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}
.footer-content 
 a:link,
 a:visited,
 a:active {
    color: var(--text-secondary);
    text-decoration: none;
}
footer > p {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/*レスポンシブ対応*/
@media (max-width: 768px) {
    .nav-links li + li::before {
        display: none;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        width: 100%;
        background-color: var(--bg-nav);
        padding: 10px 20px;
        border: 1px solid var(--gakusai-color);
        border-radius: 4px;
        box-sizing : border-box;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--bg-nav);
        border-bottom: 2px solid var(--gakusai-color);
    }
    header nav {
        display: flex;
        align-items: center;
        background-color: var(--bg-nav);
        justify-content: space-between;
        padding: 0 12px;
        height: 60px;
    }
    .hero-section{
        width: 100%;
        position: relative;
        height: 60vh;
        overflow: hidden;
    }
    .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    .main-title {
        font-size: 32px;
        font-weight: 700;
        top: 50%;
        left: 60%;
    }
    .event-date-time{
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
        top: 42%;
        left: 60%;
    }
    .event-location{
        font-size: 12px;
        font-weight: 500;
        top: 40%;
        left: 60%;
    }
    .slider-item img{
        width: 100%;
        max-width: 100%;
    }
    #about {
        position: relative;
        scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    }
    .about-info {
        text-align: center;
    }
    .about-title1 {
        display: inline-block;
        text-align: center;
        font-size: 25px;
        background-color: var(--gakusai-color);
        margin-top: 100px;
        margin-bottom: 10px;
        color: #ffffff;
    }
    .about-text {
        max-width: 80%;
        margin: 20px auto;
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-secondary);
        text-align: center;
    }
    #customer {
        position: relative;
        scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
    }
    .thema-block-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .thema-text {
        font-size: 15px;
        text-align: center;
        color: #ffffff;
        max-width: 600px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
         margin: 0 auto;
        margin-top: -40px; /* お好みで数値調整。マイナスにすると上に詰まる */
    }
    .subtitle {
        width: 100%;
        font-size: 25px;
        margin-top: 40px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--gakusai-color);
        
    }
    .customer-text {
        max-width: 80%;
        margin: 40px auto;
        font-size: 18px;
        text-align: left;
        color: var(--text-secondary);
        line-height: 1.9;
    }
    .access-text {
        font-size: 18px;
        text-align: left;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0px auto;
        line-height: 1.9;
    }
    .map-container {
            width: 100%;
            margin: 25px auto;
    }
    .map-container iframe {
            width: 100%;
            height: 200px;
    }
    footer {
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
            padding: 10px 16px 10px;
    }
    .footer-content {
            flex-direction: column;
            gap: 16px;
            width: 100%;
            justify-content: flex-start;
            padding: 0;
    }
    .footer-content h2 {
            font-size: 14px;
    }
    .footer-content p {
            font-size: 12px;
    }
}
