/* ベース設定 */
:root {
    --primary: rgb(80,226,220);
    --secondary: rgb(59,190,196);
    --accent: rgb(198,237,244);
    --dark: rgb(7,42,63);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: white;
    color: var(--dark);
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--accent) 0%, white 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    width: 180px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.company-name-ja {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.company-name-en {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--secondary);
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--dark);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background-color: var(--dark);
    animation: scrollLine 2s ease-in-out infinite;
}

/* 会社概要セクション */
.company-info {
    padding: 8rem 2rem;
    background-color: white;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.company-info h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 2rem;
    background: rgba(198,237,244, 0.1);
    border-radius: 8px;
}

.info-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-item h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    line-height: 1.8;
}

/* フッター */
footer {
    padding: 2rem;
    background-color: var(--dark);
    color: white;
    text-align: center;
    font-size: 0.9rem;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .company-name-ja {
        font-size: 2.5rem;
    }

    .company-name-en {
        font-size: 1.2rem;
    }

    .logo {
        width: 140px;
    }

    .company-info {
        padding: 4rem 1.5rem;
    }

    .company-info h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .info-grid {
        gap: 2rem;
    }
}

@media (hover: none) {
    .cursor {
        display: none;
    }

    body {
        cursor: auto;
    }
}