body {
    margin: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    /* 欧文和文統一: AIなどの英字もNoto Sans JPで表示 */
    color: #333;
}

canvas {
    display: block;
    position: fixed;
    /* Fixed background */
    top: 0;
    left: 0;
    z-index: -1;
    /* Bring to front */
    pointer-events: none;
    /* Allow clicks to pass through to text */
    width: 100vw;
    height: 100vh;
}

/* --- Layout --- */
.main-layout-wrapper {
    position: relative;
    z-index: 1;
    /* Lower than canvas */
}

.inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    justify-content: flex-start;
    /* Text at left */
    padding: 5rem;
    box-sizing: border-box;
    position: relative;
    /* 子要素のabsolute配置の基準にする */
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    margin-bottom: 5vh;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    background: linear-gradient(45deg, #0077ff, #00e0ff);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
}

.typewriter {
    font-size: 1.5rem;
    font-weight: 300;
    min-height: 1.5em;
    /* Prevent layout shift */
    border-right: 2px solid #333;
    /* Cursor */
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #333
    }
}

/* Content Sections */
.section {
    min-height: 80vh;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 2.5rem;
    color: #0077ff;
    margin-bottom: 2rem;
}

.section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    color: #333;
    /* 濃いグレーに変更 */
    font-weight: 500;
    /* Mediumでクッキリさせる */
    letter-spacing: 0.05em;
    /* 読みやすさ調整 */
}

/* About Us セクションのみフォントを変更してテスト */
#about h2 {
    font-family: 'Montserrat', sans-serif;
    /* タイトルはMontserrat維持 */
}

#about p {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    /* 本文は英数字含めてZen角ゴシックNewで統一 */
    font-weight: 700;
    /* 太字維持 */
}


/* --- Mobile Responsiveness (New) --- */
@media (max-width: 768px) {
    .hero {
        padding: 2rem;
        align-items: flex-start;
        /* Move content to TOP */
        justify-content: center;
        padding-top: 20vh;
        /* Lifted higher for visibility (was 38vh) */
    }

    .hero-text-box {
        padding: 1.5rem;
        width: 90%;
        margin-bottom: 0;
        /* Remove bottom margin */
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller Title */
    }

    .typewriter {
        font-size: 1.1rem;
        /* Smaller Subtitle */
    }

    .section {
        padding: 3rem 1.5rem;
        /* Reduced padding */
        min-height: auto;
        /* Allow flexible height */
    }

    .section h2 {
        font-size: 2rem;
    }

    .section p {
        font-size: 1rem;
    }
}