/* ==========================================
   木の葉あんこ - Professional Animated Site
   ========================================== */

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8F6FF 0%, #FDF2F8 50%, #F8F6FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOutScreen 0.8s ease-in-out 2.5s forwards;
}

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

.loading-text {
    font-family: 'Hachi Maru Pop', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.loading-text .char {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #F59E0B, #F472B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: charFloat 0.8s ease-out forwards;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.2));
}

.loading-text .char:nth-child(1) { animation-delay: 0s; }
.loading-text .char:nth-child(2) { animation-delay: 0.1s; }
.loading-text .char:nth-child(3) { animation-delay: 0.2s; }
.loading-text .char:nth-child(4) { animation-delay: 0.3s; }
.loading-text .char:nth-child(5) { animation-delay: 0.4s; }
.loading-text .char:nth-child(6) { animation-delay: 0.5s; }
.loading-text .char:nth-child(7) { animation-delay: 0.6s; }

@keyframes charFloat {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #F59E0B, #F472B6);
    border-radius: 10px;
    width: 0%;
    animation: loadingProgress 2.5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeOutScreen {
    from {
        opacity: 1;
        pointer-events: auto;
    }
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #F8F6FF;
    --secondary-dark: #FFFFFF;
    --accent-green: #10B981;
    --accent-yellow: #F59E0B;
    --accent-pink: #F472B6;
    --accent-purple: #A855F7;
    --gradient-primary: linear-gradient(135deg, #10B981, #F59E0B, #F472B6);
    --gradient-secondary: linear-gradient(135deg, #F59E0B, #A855F7, #10B981);
    --gradient-tertiary: linear-gradient(135deg, #F472B6, #10B981, #F59E0B);
    --text-light: #6B5B95;
    --text-muted: #B8A5D4;
    --glass-blur: blur(20px);
    --glass-bg: rgba(16, 185, 129, 0.03);
    --shadow-soft: 0 4px 20px rgba(16, 185, 129, 0.1);
    --shadow-medium: 0 8px 32px rgba(16, 185, 129, 0.15);
    --shadow-strong: 0 20px 60px rgba(16, 185, 129, 0.2);
    --border-radius: 20px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Hachi Maru Pop', cursive;
    --font-button: 'Hachi Maru Pop', cursive;
    --font-body: 'Hachi Maru Pop', cursive;
    --font-display: 'Hachi Maru Pop', cursive;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(244, 114, 182, 0.06) 0%, transparent 50%),
                var(--primary-dark);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    backdrop-filter: var(--glass-blur);
    background: rgba(248, 246, 255, 0.85);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
    will-change: background, box-shadow;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Comfortaa', 'Quicksand', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.logo:hover::after,
.logo:focus::after {
    width: 100%;
}

.logo:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
    border-radius: 4px;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-normal);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    will-change: transform, color;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 80%;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.nav-link:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

.btn-nav {
    padding: 0.8rem 2rem;
    border: 2px solid var(--accent-green);
    border-radius: 50px;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    will-change: transform, box-shadow;
}

.btn-nav:hover,
.btn-nav:focus {
    background: var(--gradient-secondary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-nav:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    gap: 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    will-change: transform;
}

.gradient-bg {
    position: absolute;
    border-radius: var(--border-radius);
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}

.gradient-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -10%;
    left: 5%;
}

.gradient-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    bottom: -10%;
    right: 5%;
    animation-delay: 3s;
}

.gradient-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-tertiary);
    top: 50%;
    right: 20%;
    animation-delay: 6s;
}

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

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-text h1,
.hero-text p {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    position: relative;
    animation: slideUp 0.8s ease 0.2s both;
    will-change: transform, opacity;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: slideUp 0.8s ease 0.4s both;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 4s ease-in-out infinite;
}

.gradient-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite reverse;
    z-index: -1;
    opacity: 0.8;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: slideUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.6s both;
}

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    animation: slideUp 0.8s ease 0.5s both;
}

.floating-card {
    width: 350px;
    height: 400px;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(16, 185, 129, 0.2);
    overflow: hidden;
    position: relative;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-normal);
}

.floating-card:hover {
    transform: scale(1.05) rotateZ(2deg);
    box-shadow: var(--shadow-strong);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-30px) rotateZ(2deg); }
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}


/* ========== BUTTONS ========== */
.btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-button);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    will-change: transform, box-shadow;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn:hover::before,
.btn:focus::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--border-radius);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-primary:hover::after,
.btn-primary:focus::after {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}


/* ========== SECTIONS ========== */
section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #F59E0B, #F472B6);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

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

.about-card {
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-normal);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02) rotateX(5deg);
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: var(--shadow-strong);
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-green);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: #6B5B95;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
    font-weight: 400;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.about-card p {
    color: #B8A5D4;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-description {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.about-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.4s ease;
}

.glass-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

/* ========== CONTENT SECTION ========== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.content-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
    will-change: transform, box-shadow;
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02) rotateY(2deg);
    box-shadow: var(--shadow-strong);
}

.content-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.content-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.content-card:hover .content-image::before {
    opacity: 1;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card:hover .content-image img {
    transform: scale(1.1) rotate(1deg);
}

.content-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.content-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--accent-green);
    font-weight: 400;
    position: relative;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.content-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #10B981, #F59E0B);
    border-radius: 1px;
}

.content-info p {
    color: #B8A5D4;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
    color: #10B981;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: auto;
    width: fit-content;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== HIGHLIGHT SECTION ========== */
.highlight {
    padding: 6rem 2rem;
}

.highlight-content {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(245, 158, 11, 0.1) 50%,
        rgba(244, 114, 182, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.highlight-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.highlight-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.highlight-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========== GALLERY SECTION ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
    will-change: transform, box-shadow;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(-2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.4), 
        rgba(245, 158, 11, 0.4),
        rgba(244, 114, 182, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(245, 158, 11, 0.08) 50%,
        rgba(244, 114, 182, 0.08) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    z-index: -1;
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(245, 158, 11, 0.08) 50%,
        rgba(244, 114, 182, 0.08) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: 5rem 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    z-index: -1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #10B981, #F59E0B);
    border-radius: 1px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #B8A5D4;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 10px;
    position: relative;
}

.social-link:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(5px);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-section a:not(.social-link) {
    color: #B8A5D4;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-section a:not(.social-link)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #10B981, #F59E0B);
    transition: width 0.3s ease;
}

.footer-section a:not(.social-link):hover::before {
    width: 20px;
}

.footer-section a:not(.social-link):hover {
    color: #F59E0B;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    text-align: center;
    color: #B8A5D4;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .highlight-content {
        padding: 2.5rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 15vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .content-card {
        min-height: 320px;
    }
    
    .content-info {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
}

[data-aos="fade-up"] {
    animation: fadeUp 0.8s ease forwards;
}

[data-aos="fade-left"] {
    animation: fadeLeft 0.8s ease forwards;
}

[data-aos="zoom-in"] {
    animation: zoomIn 0.8s ease forwards;
}

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

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 6rem 2rem 2rem;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .floating-card {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    section {
        padding: 4rem 1rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .highlight-content {
        padding: 2.5rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* FAQ 他と同じようなスタイル */
