/* Hero Section */
.hero {
    padding: 140px 0 1px;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -30px;
    right: -200px;
    animation: float 30s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(-10px);
    }
    75% {
        transform: translateY(20px) translateX(5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-highlight {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent-yellow);
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

.hero-subtitle {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.9;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.hero-feature-item h3 {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-stats {
    max-width: 800px;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 0px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stats-text {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.stats-highlight {
    font-family: var(--font-display), var(--font-japanese);
    color: var(--accent-yellow);
    font-weight: 700;
    font-size: 16px;
}

.hero-cta {
    margin-bottom: 50px;
}

.hero-primary-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent-orange);
    color: var(--bg-white);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.5);
}

.button-text {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 5px;
}

.button-subtext {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0.9;
}

.hero-primary-button:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.6);
}

.hero-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.trust-item p {
    text-align: left;
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 14px;
    line-height: 1.4;
}

.trust-item strong {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 18px;
    color: var(--accent-yellow);
}

/* モバイル用の中央揃え調整 */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 2rem; /* セクション全体のパディングを縮小 */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem; /* 子要素間の間隔を統一 */
    }

    .hero-badge {
        margin-bottom: 1rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 0rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }

    .hero-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 1.5rem 0;
    }
    
    .hero-feature-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-feature-item .feature-icon {
        flex-shrink: 0;
    }
    
    .hero-feature-item h3 {
        margin: 0;
        font-size: 1rem;
        text-align: center;
        flex: 1;
    }
    
    .hero-stats {
        text-align: center;
        margin: 2rem 0;
    }
    
    .hero-cta {
        text-align: center;
        margin: 1.5rem 0;
    }
    
    .hero-trust-indicators {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin: 1rem 0 0.5rem; /* 下マージンを特に小さく */
        width: 100%;
        padding: 0 10px;
    }
    
    .trust-item {
        flex: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        min-width: 0; /* フレックスアイテムの最小幅を0に */
    }
    
    .trust-item .trust-icon {
        width: 16px;
        height: 16px;
        margin-bottom: 4px;
    }
    
    .trust-item .trust-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .trust-item p {
        margin: 0;
        text-align: center;
        font-size: 0.8rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .trust-item strong {
        display: block;
        font-size: 0.9rem;
        font-weight: 700;
        color: #fbbf24;
        margin-top: 2px;
    }

}

@media (max-width: 360px) {
    .hero {
        padding: 3rem 0 1.5rem; /* さらに縮小 */
    }
    
    .hero-content {
        gap: 0.8rem;
    }
    

    .hero-trust-indicators {
        margin: 0.8rem 0 0.3rem; /* さらに縮小 */
    }
    
    .trust-item p {
        font-size: 0.75rem;
    }
    
    .trust-item strong {
        font-size: 0.85rem;
    }
    
    .trust-item .trust-icon {
        width: 14px;
        height: 14px;
    }
    
    .trust-item .trust-icon svg {
        width: 14px;
        height: 14px;
    }
}
