:root {
    /* Premium Color Palette */
    --primary: hsl(210, 100%, 15%);
    /* Ultra Deep Navy */
    --primary-light: hsl(210, 80%, 25%);
    --secondary: hsl(340, 80%, 75%);
    /* Elegant Sakura Pink */
    --secondary-dark: hsl(340, 60%, 65%);
    --accent: hsl(45, 100%, 50%);
    /* Gold accent */

    --text-main: hsl(210, 20%, 15%);
    --text-muted: hsl(210, 10%, 45%);
    --text-light: hsl(210, 10%, 65%);
    --white: #ffffff;
    --bg-light: hsl(340, 100%, 98%);
    --bg-dark: hsl(210, 30%, 8%);

    --border: hsla(210, 20%, 90%, 1);
    --glass: hsla(0, 0%, 100%, 0.8);
    --glass-border: hsla(0, 0%, 100%, 0.2);

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

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.container.narrow {
    max-width: 800px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header {
    margin-bottom: 4rem;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.15);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--primary-light);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.25);
    color: var(--white);
}

.btn-premium-small {
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 100px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.main-header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: var(--transition);
}

.main-header.scrolled .logo-text {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.main-header.scrolled .mobile-toggle span,
.mobile-toggle.active span {
    background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover:not(.btn-primary-small)::after {
    width: 100%;
}

.main-header.scrolled .nav-links a:not(.btn-premium-small) {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('hero-bg.png') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}

/* SNS Icons in Nav */
.sns-icons {
    display: flex;
    gap: 1.5rem;
}

.sns-icons a {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.8;
}

.main-header.scrolled .sns-icons a {
    color: var(--primary);
}

.sns-icons a:hover {
    color: var(--secondary) !important;
    opacity: 1;
    transform: translateY(-3px);
}

.footer-sns a {
    color: var(--white);
    opacity: 0.8;
    transition: 0.3s;
}

.footer-sns a:hover {
    color: var(--secondary);
    opacity: 1;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 16, 28, 0.95) 0%, rgba(8, 16, 28, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 1.5rem 0;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--secondary);
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.badge {
    background: rgba(255, 183, 197, 0.2);
    color: #e07a9b;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

.about-image {
    position: relative;
}

.about-image .img-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.lead {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: left;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--white);
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-item h4 {
    font-weight: 800;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Section */
.grey-bg {
    background-color: var(--bg-light);
}

.services-section {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 4rem 2.5rem;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary);
    box-shadow: 0 30px 60px rgba(18, 43, 85, 0.08);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.contact-card {
    background: var(--white);
    padding: 5rem;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.form-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    width: 100%;
}

.contact-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fcfdfe;
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 183, 197, 0.1);
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-item {
    text-align: left;
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-item:hover {
    background: var(--white);
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.step-item span {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary);
    opacity: 0.15;
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: var(--font-heading);
}

.step-item h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

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

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .features-grid,
    .services-grid,
    .philosophy-grid,
    .team-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: contents;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Nav Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--primary);
        font-size: 1.25rem;
    }

    .nav-links a.btn-premium-small {
        color: var(--white) !important;
    }

    .nav-links .sns-icons {
        margin-top: 2rem;
    }

    .btn-premium-small {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .about-image img {
        height: 400px;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }

    .contact-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

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

    .lead {
        font-size: 1.25rem;
    }

    .phi-card,
    .team-card,
    .industry-card {
        padding: 2rem 1.5rem;
    }
}

/* Subpage Styles */
.subpage-hero {
    padding: 160px 0 80px;
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, #003366 100%);
    color: var(--white);
    text-align: center;
}

.subpage-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.subpage-hero .lead {
    color: var(--white);
    opacity: 0.9;
}

.about-intro,
.program-details {
    padding: 100px 0;
}

.management-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.philosophy {
    padding: 100px 0;
}

.highlight-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.phi-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--secondary);
    background: var(--glass);
}

.ind-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 80px 0;
}

.nav-links a.active {
    color: var(--secondary);
    font-weight: 700;
}

/* Team Section Styles */
.team-section {
    padding: 100px 0;
}

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

.team-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

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

.team-img {
    height: 350px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-info .role {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info .desc {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* CTA Section Styles */
.cta-section {
    padding: 100px 0 140px;
    background: var(--bg-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}