/* 名瀬地区社会福祉協議会 ヒーローセクション CSS */

/* カスタムプロパティ（オレンジテーマ） */
:root {
    --shakyo-primary: #FF8C00;      /* ダークオレンジ */
    --shakyo-secondary: #FF6347;    /* トマト */
    --shakyo-accent: #FFB347;       /* ライトオレンジ */
    --shakyo-warm: #FFF8DC;         /* コーンシルク */
    --shakyo-gold: #FF7F00;         /* オレンジゴールド */
    --shakyo-text: #2F4F4F;         /* ダークスレートグレー */
    --shakyo-light: #FFF5EE;        /* シーシェル */
}
:root {
  --shakyo-primary: #ffd000a0;      /* ダークオレンジ（温かさ・活力） */
  --shakyo-secondary: #ffb547;    /* トマト（親しみやすさ） */
  --shakyo-accent: #ffe647;       /* ライトオレンジ（明るさ） */
  --shakyo-warm: #FFF8DC;         /* コーンシルク（優しいクリーム） */
  --shakyo-gold: #ffb300;         /* オレンジゴールド */
  --shakyo-text: #2F4F4F;         /* ダークスレートグレー */
  --shakyo-light: #FFF5EE;        /* シーシェル（淡いオレンジ） */
  --shakyo-border: #DDD;
}

/* ヒーローセクション全体 */
.shakyo-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--shakyo-primary) 0%, var(--shakyo-secondary) 100%);
}

/* 背景画像コンテナ */
.shakyo-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shakyo-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    display: block;
}

/* オーバーレイ */
.shakyo-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(46, 139, 87, 0.6) 0%,
        rgba(34, 139, 34, 0.7) 100%
    );
    z-index: 2;
}

/* コンテンツ */
.shakyo-hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

/* バッジ */
.shakyo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

/* タイトル */
.shakyo-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 100, 0, 0.5);
    line-height: 1.2;
}

/* サブタイトル */
.shakyo-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #f0f8ff;
    text-shadow: 1px 1px 2px rgba(0, 100, 0, 0.5);
}

/* 説明文 */
.shakyo-hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #e6f2ff;
}

/* アクションボタン */
.shakyo-hero-actions {
    margin-bottom: 3rem;
}

.shakyo-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.shakyo-btn-primary {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.shakyo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
    color: white;
}

.shakyo-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.shakyo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}

/* 統計情報 */
.shakyo-hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shakyo-stat-item {
    padding: 10px;
}

.shakyo-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.shakyo-stat-label {
    font-size: 0.9rem;
    color: #e6f2ff;
    font-weight: 500;
}

/* スクロール案内 */
.shakyo-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.shakyo-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.shakyo-scroll-indicator:hover {
    color: #ffd700;
}

.shakyo-scroll-indicator i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.shakyo-scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* アニメーション */
.shakyo-fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .shakyo-hero-title {
        font-size: 2.8rem;
    }
    
    .shakyo-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .shakyo-hero-description {
        font-size: 1rem;
    }
    
    .shakyo-hero-actions .shakyo-btn {
        display: block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .shakyo-hero {
        min-height: 80vh;
    }
    
    .shakyo-hero-title {
        font-size: 2.2rem;
    }
    
    .shakyo-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .shakyo-hero-stats {
        padding: 20px;
    }
    
    .shakyo-stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .shakyo-hero-title {
        font-size: 1.8rem;
    }
    
    .shakyo-hero-description br {
        display: none;
    }
    
    .shakyo-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
