/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Brand Colors */
:root {
    --brand-orange: #E07B39;
    --brand-purple: #6A329F;
    --brand-black: #1a1a1a;
    --brand-white: #ffffff;
    --brand-orange-light: #F08C4A;
    --brand-purple-light: #8A4FCF;
    --brand-gray: #f8f9fa;
    --brand-gray-dark: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #fffff8 0%, #fefef5 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--brand-black);
    line-height: 1.6;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Header */
.header {
    padding: 2rem 2rem 1.5rem 2rem;
    position: relative;
    z-index: 10;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50% / 40%;
    padding: 12px;
}

.logo-type-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ロゴのレイアウト調整 */
.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-japanese {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-white);
}

.logo-english {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--brand-white);
    opacity: 0.9;
}

/* Main content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(224, 123, 57, 0.05) 0%, 
        rgba(106, 50, 159, 0.03) 25%, 
        rgba(224, 123, 57, 0.04) 50%, 
        rgba(106, 50, 159, 0.02) 75%, 
        rgba(224, 123, 57, 0.05) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(224, 123, 57, 0.08) 0%, 
        rgba(106, 50, 159, 0.06) 100%);
    border-radius: 50%;
    opacity: 1;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, 
        rgba(106, 50, 159, 0.06) 0%, 
        rgba(224, 123, 57, 0.08) 100%);
    border-radius: 50%;
    opacity: 1;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

/* 追加の装飾要素 */
.hero-section .decoration-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(224, 123, 57, 0.15);
    border-radius: 50%;
    opacity: 1;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.hero-section .decoration-2 {
    position: absolute;
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: rgba(106, 50, 159, 0.1);
    border-radius: 50%;
    opacity: 1;
    animation: pulse 4s ease-in-out infinite;
    z-index: 1;
}

.hero-section .decoration-3 {
    position: absolute;
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(224, 123, 57, 0.12);
    border-radius: 50%;
    opacity: 1;
    animation: bounce 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.2); opacity: 0.15; }
}

.hero-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
    color: var(--brand-black);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(224, 123, 57, 0.8), 
        rgba(106, 50, 159, 0.8));
    border-radius: 2px;
    animation: expandWidth 1.5s ease 1s forwards;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    position: relative;
}

.title-line:nth-child(1) { 
    animation-delay: 0.2s; 
}

.title-line:nth-child(2) { 
    animation-delay: 0.4s; 
}

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

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.6s forwards;
    color: var(--brand-gray-dark);
    position: relative;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border-left: 4px solid rgba(224, 123, 57, 0.8);
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 1;
    position: relative;
}

.section-header i {
    font-size: 3rem;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    display: block;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--brand-black);
    position: relative;
    opacity: 1;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(224, 123, 57, 0.8), 
        rgba(106, 50, 159, 0.8));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--brand-gray-dark);
    line-height: 1.6;
    opacity: 1;
}

/* Purpose Section */
.purpose-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fffff8 0%, #fefef5 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.purpose-section::before {
    display: none;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.purpose-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #fffff8 0%, #fefef5 100%);
    border-radius: 20px;
    border: 1px solid var(--brand-gray);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.purpose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.purpose-item:hover::before {
    left: 100%;
}

.purpose-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #fefef5 0%, #fafaf0 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--brand-black);
    border-color: var(--brand-orange);
}

.purpose-icon {
    margin-bottom: 1.5rem;
}

.purpose-icon i {
    font-size: 3rem;
    color: var(--brand-orange);
}

.purpose-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brand-black);
}

.purpose-item p {
    font-size: 1rem;
    color: var(--brand-gray-dark);
    line-height: 1.6;
}

.purpose-item:hover .purpose-icon i {
    color: var(--brand-purple);
    transform: scale(1.1);
}

/* Mission Section */
.mission-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fefef5 0%, #fafaf0 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    display: none;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #fffff8 0%, #fefef5 100%);
    border-radius: 20px;
    border: 1px solid var(--brand-gray);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.mission-item:hover::before {
    left: 100%;
}

.mission-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #fefef5 0%, #fafaf0 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--brand-black);
    border-color: var(--brand-purple);
}

.mission-icon {
    margin-bottom: 1.5rem;
}

.mission-icon i {
    font-size: 3rem;
    color: var(--brand-purple);
}

.mission-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brand-black);
}

.mission-item p {
    font-size: 1rem;
    color: var(--brand-gray-dark);
    line-height: 1.6;
}

.mission-item:nth-child(1) { animation-delay: 0.2s; }
.mission-item:nth-child(2) { animation-delay: 0.4s; }
.mission-item:nth-child(3) { animation-delay: 0.6s; }

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fffff8 0%, #fefef5 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--brand-gray);
}

.cta-section::before {
    display: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--brand-black);
    position: relative;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(224, 123, 57, 0.8), 
        rgba(106, 50, 159, 0.8));
    border-radius: 2px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--brand-gray-dark);
    line-height: 1.6;
    max-width: 600px;
}

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

.cta-button.primary {
    background: var(--brand-orange);
    color: var(--brand-white);
    border: 2px solid var(--brand-orange);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button.primary:hover {
    background: var(--brand-orange-light);
    border-color: var(--brand-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--brand-white);
}

.cta-button.secondary:hover {
    background: var(--brand-white);
    color: var(--brand-purple);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--brand-black) 0%, #1a1a1a 100%);
    color: var(--brand-white);
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 4rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-lavender));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.footer-logo .logo-image {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(248, 187, 217, 0.3);
}

.footer-logo .logo-type-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    gap: 0.1rem;
}

.footer-logo .logo-japanese {
    font-size: 1rem;
}

.footer-logo .logo-english {
    font-size: 0.7rem;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--brand-gray-light);
    text-align: center;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }
    
    .logo {
        gap: 1.5rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
    
    .logo-type-image {
        height: 45px;
        width: auto;
    }
    
    .logo span {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-section::before {
        width: 250px;
        height: 250px;
        top: -30%;
        right: -15%;
    }
    
    .hero-section::after {
        width: 200px;
        height: 200px;
        bottom: -20%;
        left: -10%;
    }
    
    .purpose-section,
    .mission-section {
        padding: 3rem 1rem;
    }
    
    .purpose-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
} 