:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, #2563eb, #10b981);
    --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: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

#header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Sections */
section {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#hero h1 {
    font-size: clamp(2.2rem, 7.5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.inline-block {
    display: inline-block;
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-large {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
}

.newsletter-cta {
    margin: 2rem 0;
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
}

/* Hero Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

/* About Section */
#about {
    background: var(--bg-alt);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Vision Section */
.vision-card {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.vision-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.vision-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Newsletter Section */
#newsletter {
    display: flex;
    align-items: center;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gift-box {
    background: var(--gradient);
    padding: 3rem;
    border-radius: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.gift-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.gift-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter-form p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.st-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.st-form input {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.st-form input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-note {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.link-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 32px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.link-card:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.link-card:hover::before {
    opacity: 0.03;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border);
}

/* 各アイコンに個別のグラデーションとグロウ効果 */
.link-card:nth-child(1) .icon-wrapper { color: #2563eb; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15); }
.link-card:nth-child(2) .icon-wrapper { color: #8b5cf6; box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15); }
.link-card:nth-child(3) .icon-wrapper { color: #10b981; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15); }

.link-card:hover .icon-wrapper {
    transform: scale(1.1) translateY(-5px) rotate(5deg);
    background: var(--gradient);
    color: white;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: transparent;
}

.icon-wrapper i {
    width: 40px;
    height: 40px;
    stroke-width: 2.5px;
}

.link-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.link-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    section { padding: 5rem 0; }
    
    .mobile-menu-toggle {
        display: flex;
    }

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

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

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Menu Open State Animation */
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Hero */
    #hero { height: auto; padding: 10rem 0 5rem; }
    #hero h1 { 
        font-size: clamp(2rem, 10vw, 3rem); 
        text-align: center; 
        text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    #hero p { 
        text-align: center; 
        margin-left: auto; 
        margin-right: auto; 
        text-shadow: 0 1px 5px rgba(0,0,0,0.1);
        color: #4b5563; /* 少し濃いめにして読みやすく */
    }
    .hero-bg-shapes .shape {
        opacity: 0.1; /* 大幅に薄くする */
        filter: blur(100px);
    }
    .cta-buttons { justify-content: center; flex-direction: column; }
    
    /* About */
    .about-grid { grid-template-columns: 1fr; }
    
    /* Vision */
    .vision-card { padding: 2.5rem 1.5rem; }
    .vision-card h3 { font-size: 1.5rem; }
    
    /* Newsletter */
    .newsletter-content { grid-template-columns: 1fr; gap: 3rem; }
    .gift-box { padding: 2rem; }
    .gift-box h3 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    #hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .link-card { padding: 2.5rem 1.5rem; }
}
