@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

body {
    background-color: #000;
    color: #fff;
    font-family: 'Space Mono', 'Courier New', monospace;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

body.is-home {
}

body.is-content {
    background-color: #000;
}

/* Decorative background elements */
.slash-bg {
    background-image: url('/img/slash-pattern.svg');
    background-size: 40px 40px;
    opacity: 0.1;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.glitch-element {
    background-image: url('/img/pixel-glitch.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 250px;
    height: 250px;
    position: absolute;
    opacity: 0.7;
    pointer-events: none;
    filter: drop-shadow(0 0 10px white);
}

.divider {
    background-image: url('/img/divider-line.svg');
    background-size: auto 40px;
    background-repeat: repeat-x;
    background-color: #000;
    height: 40px;
    width: 100%;
    margin: 60px 0;
    position: relative;
    z-index: 10;
}

h1, h2, h3 {
    margin: 0;
    padding: 40px 20px;
    border-bottom: 12px solid #fff;
    font-weight: 700;
    font-size: 5rem;
    line-height: 0.9;
}

a {
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    padding: 8px 16px;
    display: inline-block;
    transition: all 0.1s ease;
}

a:hover {
    background-color: #fff;
    color: #000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    border-left: 8px solid #fff;
    border-right: 8px solid #fff;
    min-height: 100vh;
}

/* Landing Page Scrolling Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 60px;
    border-bottom: 12px solid #fff;
    position: sticky;
    top: 0;
    background: #000;
    box-sizing: border-box;
    overflow: hidden; /* 余計なはみ出しを防止 */
}

/* Ensure sections stack on top of each other in order */
#hero { z-index: 1; }
.divider:nth-of-type(1) { z-index: 2; }
#mission { z-index: 3; }
.divider:nth-of-type(2) { z-index: 4; }
#news { z-index: 5; position: relative; min-height: auto; } /* ニュースセクションは最後に通常の配置 */

.hero-title {
    font-size: 11vw;
    line-height: 0.8;
    white-space: nowrap;
    font-weight: 900;
}

.sub-title {
    font-size: 2rem;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-weight: 700;
}

.quote {
    font-size: 1.8rem;
    margin-top: 60px;
    font-style: italic;
    border-left: 15px solid #fff;
    padding-left: 30px;
    max-width: 800px;
}

.posts-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.posts-list li {
    padding: 60px;
    border-bottom: 8px solid #fff;
    position: relative;
}

.posts-list li:hover {
    background: #111;
}

.post-meta {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 700;
}

.post-header .post-meta {
    padding: 20px;
}

.post-title {
    font-size: 4rem;
    margin: 20px 0;
    display: block;
    line-height: 1;
}

.post-title-main {
    font-size: 8vw;
    border-top: 4px solid #fff;
    margin: 0;
    padding: 40px 20px;
    border-bottom: 12px solid #fff;
    font-weight: 700;
    line-height: 0.9;
}

.mission-text {
    font-size: 2rem;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.archive-link-container, .post-footer, .list-footer {
    padding: 40px;
}

.archive-link, .back-link {
    font-size: 1.5rem;
}

.post-footer {
    border-top: 4px solid #fff;
}

.post-title a {
    border: 6px solid #fff;
    padding: 20px 30px;
    display: block;
    box-shadow: 15px 15px 0px #fff;
    font-weight: 700;
}

.post-title a:hover {
    box-shadow: 0px 0px 0px #fff;
    transform: translate(15px, 15px);
}

.content-body {
    padding: 60px;
    font-size: 1.5rem;
    line-height: 1.4;
}

.footer {
    padding: 80px 40px;
    text-align: center;
    border-top: 12px solid #fff;
    background: #000;
    font-size: 1.2rem;
}

/* Animation */
.reveal {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1, h2, h3 {
        font-size: 2.5rem;
        padding: 30px 15px;
        border-bottom: 8px solid #fff;
    }

    .container {
        border-left: 4px solid #fff;
        border-right: 4px solid #fff;
    }

    .section {
        min-height: auto;
        padding: 80px 20px;
        position: relative;
        top: auto;
        border-bottom: 8px solid #fff;
    }

    .hero-title {
        font-size: 18vw;
    }

    .sub-title {
        font-size: 1.1rem;
        padding: 8px 12px;
        margin-top: 15px;
        line-height: 1.2;
    }

    .mission-text {
        font-size: 1.4rem;
    }

    .quote {
        font-size: 1.2rem;
        margin-top: 40px;
        border-left: 8px solid #fff;
        padding-left: 20px;
    }

    .posts-list li {
        padding: 40px 15px;
        border-bottom: 4px solid #fff;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .post-title-main {
        font-size: 3rem;
        padding: 30px 15px;
        border-bottom: 8px solid #fff;
    }

    .post-title a {
        border: 4px solid #fff;
        padding: 15px 20px;
        box-shadow: 8px 8px 0px #fff;
    }

    .post-title a:hover {
        transform: translate(8px, 8px);
    }

    .archive-link-container, .post-footer, .list-footer {
        padding: 30px 15px;
    }

    .archive-link, .back-link {
        font-size: 1.2rem;
    }

    .content-body {
        padding: 40px 20px;
        font-size: 1.2rem;
    }

    .footer {
        padding: 60px 20px;
        font-size: 1rem;
    }

    .divider {
        margin: 40px 0;
        height: 30px;
        background-size: auto 30px;
    }

    .glitch-element {
        width: 150px;
        height: 150px;
    }

    #news.section h1 {
        padding: 40px 15px;
    }
}

