@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@300;400;600&display=swap');

:root {
    /* Color Palette - Premium Slate & Blue */
    --text-primary: #1e293b;
    /* Slate 800 */
    --text-secondary: #475569;
    /* Slate 600 */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --bg-alt: #ffffff;
    /* White */
    --bg-dark: #0f172a;
    /* Slate 900 */

    --accent-color: #0ea5e9;
    /* Sky 500 */
    --accent-glow: rgba(14, 165, 233, 0.4);
    --accent-dark: #0284c7;
    /* Sky 600 */

    --text-on-dark: #f1f5f9;
    /* Slate 100 */
    --text-muted-on-dark: #94a3b8;
    /* Slate 400 */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1,
h2,
h3 {
    margin: 0;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: var(--text-on-dark) !important;
}

.text-light {
    color: var(--text-muted-on-dark) !important;
}

.text-accent {
    color: var(--accent-color);
}

/* Layout & Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bg-dark);
    letter-spacing: -0.02em;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    bottom: 6px;
    right: -10px;
}

/* Hero Section */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 6rem 1rem;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-message-container {
    text-align: center;
    max-width: 900px;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--text-secondary), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--text-primary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--accent-color);
    animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* Content Sections */
.content-section {
    padding: 8rem 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

/* Stylish Underline */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin-top: 1rem;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-subtitle-ja {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
    font-weight: 500;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 2;
}

/* SECI Grid */
.seci-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.seci-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.seci-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seci-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.seci-card:hover::before {
    opacity: 1;
}

.seci-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.seci-card .en {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted-on-dark);
    font-family: var(--font-heading);
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.seci-card p {
    font-size: 0.95rem;
    color: var(--text-on-dark);
    opacity: 0.9;
    margin: 0;
    line-height: 1.8;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card .ja {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    overflow: hidden;
    color: var(--text-on-dark);
}

.cta-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 40%);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-muted-on-dark);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtext {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted-on-dark);
    opacity: 0.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -5px rgba(14, 165, 233, 0.5);
}

.btn-arrow {
    margin-left: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted-on-dark);
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.fade-in-up {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Investment Logic (ROI) Section */
.roi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.roi-box {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.roi-box:hover {
    transform: translateY(-5px);
}

.roi-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.roi-box h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.roi-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.roi-step {
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.roi-arrow {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: bold;
    opacity: 0.6;
}

.roi-result {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.roi-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-main {
        font-size: 2.25rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .seci-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 6rem 0;
    }
}