:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #00b4d8;
    /* Cyan-ish blue */
    --accent-gradient: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --section-padding: 100px 0;
}

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

body {
    font-family: var(--font-jp);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.main-copy {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-copy-wrapper {
    height: 1.5em;
    overflow: hidden;
    position: relative;
}

.sub-copy {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    position: absolute;
    width: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: #ccc;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.05em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card h3 {
    font-family: var(--font-en);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Company */
.company-info {
    max-width: 600px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.info-row dt {
    width: 120px;
    font-weight: 700;
    flex-shrink: 0;
}

.info-row dd {
    flex-grow: 1;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .main-copy {
        font-size: 2.5rem;
    }

    .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .info-row dt {
        width: 100%;
        color: #999;
        font-size: 0.9rem;
    }
}

/* Wakuwaku Animation */
.highlight-wakuwaku {
    display: inline-block;
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
    font-size: 1.1em;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.4));
    animation: wakuwakuShake 5s infinite ease-in-out;
    margin: 0 5px;
}

@keyframes wakuwakuShake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* First Shake */
    2% {
        transform: translate(-2px, 1px) rotate(-2deg);
    }

    4% {
        transform: translate(2px, -1px) rotate(2deg);
    }

    6% {
        transform: translate(-2px, -2px) rotate(-1deg);
    }

    8% {
        transform: translate(1px, 2px) rotate(1deg);
    }

    10% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* Short Pause */

    /* Second Shake */
    12% {
        transform: translate(2px, 1px) rotate(2deg);
    }

    14% {
        transform: translate(-1px, -2px) rotate(-2deg);
    }

    16% {
        transform: translate(2px, -1px) rotate(1deg);
    }

    18% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    20% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* Long Pause until 100% */
}