:root {
    /* Color Palette - Mint Green Theme */
    --primary-color: #4DB6AC;
    /* Teal 300 - Fresh Mint */
    --primary-dark: #00897B;
    /* Teal 600 - Darker Mint for text/hover */
    --primary-light: #E0F2F1;
    /* Teal 50 - Very light mint for backgrounds */
    --accent-color: #FFAB91;
    /* Deep Orange 200 - Warm accent */
    --text-color: #37474F;
    /* Blue Grey 800 - Dark text */
    --text-light: #78909C;
    /* Blue Grey 400 - Lighter text */
    --white: #FFFFFF;
    --bg-color: #FAFAFA;
    /* Off-white background */

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-sm:hover {
    background-color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary-color);
  align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    /* Header height + spacing */
    padding-bottom: var(--spacing-lg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--primary-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(77, 182, 172, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    padding-left: 10%;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-title-sub {
    font-size: 1.2rem;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Shapes for Hero */
.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background-color: #80CBC4;
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
    z-index: 1;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-dark);
    position: absolute
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);

}

.section-title .ja {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

/* Philosophy */
.philosophy {
    background-color: var(--white);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.philosophy-text p {
    font-size: 1.1rem;
    line-height: 2;
}

/* Role */
.role {
    background-color: var(--primary-light);
}

.role-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    font-size: 1.1rem;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.role-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    transform: translateY(-5px);
}

.role-icon {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.5;
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
}

.role-card h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.role-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.role-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.work-body {
    padding: 1.5rem;
}

.work-body h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.work-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-light);
}

.work-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

/* Access */
.access-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.access-info {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.access-map {
    flex: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 100px;
        text-align: center;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .access-content {
        flex-direction: column;
    }
}