/* ===== HEADER ===== */
header {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100vw;
}

.header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.logo {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex !important;
    align-items: center;
    height: 60px;
}

.logo span.light {
    font-weight: 300;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.logo span.rubik {
    color: #E94560;
}



nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

nav a:hover,
nav a.active {
    color: #E94560;
}

/* ===== FOOTER ===== */
footer {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100vw;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #E94560;
}

.copyright {
    color: #666;
    font-size: 0.7rem;
}

.copyright a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #E94560;
    text-decoration: none;
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 60px;
    position: relative;
}



/* Default main for other pages */
body:not(.index-page) main {
    width: 100%;
    padding: 30px 0 80px 0;
    min-height: calc(100vh - 120px);
}

body:not(.index-page) main>* {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PC版でより狭い幅に調整 */
@media (min-width: 1024px) {
    body:not(.index-page) main>* {
        max-width: 900px;
    }
}

h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 0.3em;
    text-align: center;
    letter-spacing: 0.5px;
    color: #1A1A2E;
    position: relative;
    z-index: 1;
}

/* Make ANTI bold in h1 */
h1 .bold {
    font-weight: 700;
}

/* Logo-style effect for h1 - same color */
h1::after {
    content: attr(data-light);
    font-weight: 300;
    margin-left: 0.2em;
    color: #1A1A2E;
}

/* Index page h1 override - keep white text */
body.index-page h1 {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: white;
}

.subtitle {
    color: #666;
    font-size: 1em;
    text-align: center;
    margin-bottom: 8em;
    position: relative;
}

.subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    margin: 10px auto 0;
    border-radius: 2px;
}

.content {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding-top: 0.25em !important;
    border-radius: 12px;
    padding: 2px 45px 40px 45px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 1.05em;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
