/*
Theme Name: AImity
Theme URI: https://aimity.com
Author: AImity Team
Author URI: https://aimity.com
Description: AImity AI×副業コミュニティの公式WordPressテーマ。完全無料で始められるAI学習と副業支援を提供するコミュニティプラットフォーム。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aimity
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, one-column, two-columns
*/

/* ==========================================================================
   リセット & ベース設定
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #1F2937;
    --primary-dark: #111827;
    --primary-light: #374151;
    --accent-color: #E87B5A;
    --accent-dark: #D6654A;
    --accent-light: #F49475;
    
    /* グレースケール */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* テキストカラー */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-white: #FFFFFF;
    
    /* 背景カラー */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gradient: linear-gradient(135deg, #E88B6F 0%, #D97B5F 100%);
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* フォントサイズ */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* ボーダー */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

/* メインコンテンツエリアの幅を確保 */
.site-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   タイポグラフィ
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: var(--font-5xl); }
h2 { font-size: var(--font-4xl); }
h3 { font-size: var(--font-3xl); }
h4 { font-size: var(--font-2xl); }
h5 { font-size: var(--font-xl); }
h6 { font-size: var(--font-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   コンテナ & レイアウト
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
    width: 100%;
    overflow-x: hidden;
}

.section-light {
    background-color: var(--bg-light);
}

/* セクション内のコンテナは必ず中央揃え */
.section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.site-header:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.site-logo {
    display: flex;
    align-items: center;
    font-size: var(--font-2xl);
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    outline: none;
}

.site-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.site-logo img {
    height: 40px;
    margin-right: var(--spacing-sm);
}

/* 動画ロゴスタイル */
.logo-video-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    border: none;
    background: transparent;
    outline: none;
}

.logo-video {
    height: 85px;
    width: auto;
    display: block;
    object-fit: contain;
    border: none;
    background: transparent;
    outline: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .logo-video {
        height: 68px;
    }
    
    .site-logo,
    .logo-video-link,
    .logo-video {
        border: none !important;
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* 全デバイスでロゴ枠削除 */
.site-logo,
.site-logo *,
.logo-video-link,
.logo-video-link *,
.logo-video {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1F2937;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover {
    color: var(--primary-color);
    background: rgba(31, 41, 55, 0.05);
}

.main-navigation a:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-2xl);
    cursor: pointer;
    color: var(--text-primary);
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-lg);
}

/* ==========================================================================
   カード
   ========================================================================== */

.card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   フッター
   ========================================================================== */

/* ==========================================================================
   デザイン統一 v3.0 - シンプル・クリーンデザイン
   ========================================================================== */

/* シンプルなヒーローセクション */
.hero-simple {
    background: linear-gradient(180deg, #FFF5F0 0%, #FFFAF7 50%, #FFFFFF 100%);
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-simple h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-simple .subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-simple .highlight {
    color: #1F2937;
    font-weight: 700;
}

.hero-simple .highlight-orange {
    color: #E87B5A;
    font-weight: 700;
}

/* シンプルなボタン */
.btn-simple {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #1F2937;
    color: white;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-simple:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-simple-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #1F2937;
    border: 2px solid #1F2937;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-simple-outline:hover {
    background: #1F2937;
    color: white;
}

/* シンプルなセクション */
.section-simple {
    padding: 5rem 0;
    background: #FFFFFF;
}

.section-simple-gray {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFF5F0 0%, #FFFAF7 100%);
}

/* シンプルなカード */
.card-simple {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.card-simple:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-simple h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.card-simple p {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.6;
}

/* シンプルな見出し */
.heading-simple {
    text-align: center;
    margin-bottom: 3rem;
}

.heading-simple h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.heading-simple p {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

/* グリッドレイアウト */
.grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* CTA セクション */
.cta-simple {
    background: #F9FAFB;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 4rem 0;
    border: 1px solid #E5E7EB;
}

.cta-simple h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.cta-simple p {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.cta-simple .btn-simple {
    background: #1F2937;
    color: white;
}

.cta-simple .btn-simple:hover {
    background: #111827;
    color: white;
}

/* 統一されたスペーシング */
.spacing-xl {
    padding: 8rem 0;
}

.spacing-lg {
    padding: 6rem 0;
}

.spacing-md {
    padding: 4rem 0;
}

.spacing-sm {
    padding: 2rem 0;
}

/* テキストユーティリティ */
.text-center {
    text-align: center;
}

.text-large {
    font-size: 1.25rem;
}

.text-muted {
    color: #6B7280;
}

.text-primary {
    color: #1F2937;
}

.text-accent {
    color: #E87B5A;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .hero-simple h1 {
        font-size: 2rem;
    }
    
    .hero-simple .subtitle {
        font-size: 1.125rem;
    }
    
    .heading-simple h2 {
        font-size: 2rem;
    }
    
    .grid-simple {
        grid-template-columns: 1fr;
    }
    
    .cta-simple {
        padding: 3rem 1.5rem;
    }
    
    .cta-simple h2 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   プレミアムデザイン拡張 v2.0 - Ultra Modern Enhancement
   ========================================================================== */

/* グラスモーフィズム効果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-effect-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3D浮遊効果 */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* グラデーションアニメーション */
.gradient-animated {
    background: linear-gradient(270deg, #1F2937, #374151, #10B981);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* プレミアムカード強化 */
.card-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* 3Dボタンエフェクト */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translateZ(-2px);
    filter: brightness(0.8);
}

.btn-3d:hover {
    transform: translateY(-4px) translateZ(10px);
}

.btn-3d:active {
    transform: translateY(-2px) translateZ(5px);
}

/* グラデーションボタン強化 */
.btn-gradient {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

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

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.5);
}

/* プレミアムグラデーションテキスト */
.gradient-text-premium {
    background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

/* ネオン効果 */
.neon-glow {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5),
                 0 0 20px rgba(16, 185, 129, 0.3),
                 0 0 30px rgba(16, 185, 129, 0.2);
}

/* パーティクル背景アニメーション */
.particle-bg {
    position: relative;
    overflow: hidden;
}

.particle-bg::before,
.particle-bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: particleFloat 20s infinite;
}

.particle-bg::before {
    background: #1F2937;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.particle-bg::after {
    background: #10B981;
    bottom: -150px;
    right: -150px;
    animation-delay: 10s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* プライシングカード専用スタイル */
.pricing-card-free {
    background: white;
    border: 2px solid #E5E7EB;
    transition: all 0.4s ease;
}

.pricing-card-free:hover {
    border-color: #1F2937;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.1);
}

.pricing-card-premium {
    background: #1F2937;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.pricing-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pricing-card-premium:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(31, 41, 55, 0.4);
}

/* 人気バッジ */
.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

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

/* 高度なホバーエフェクト */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(232, 139, 111, 0.3);
}

/* ヒーローセクション強化 */
.hero-section-enhanced {
    position: relative;
    background: linear-gradient(135deg, rgba(232, 139, 111, 0.95) 0%, rgba(217, 123, 95, 0.95) 100%);
    overflow: hidden;
}

.hero-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: heroShift 15s ease infinite alternate;
}

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

/* アイコン3D効果 */
.icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #1F2937;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(232, 139, 111, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
}

.icon-3d:hover {
    transform: translateY(-5px) rotateZ(5deg);
    box-shadow: 0 15px 40px rgba(232, 139, 111, 0.4);
}

/* モダンスペーシング */
.section-premium {
    padding: 8rem 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .section-premium {
        padding: 4rem 0;
    }
    
    .particle-bg::before,
    .particle-bg::after {
        width: 200px;
        height: 200px;
    }
}

.site-footer {
    background-color: #5C5247 !important;
    color: #FFFFFF !important;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: #FFFFFF !important;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: #FFFFFF !important;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: #FFFFFF !important;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #E88B6F;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: #FFFFFF !important;
}

.footer-bottom p {
    color: #FFFFFF !important;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: var(--font-4xl); }
    h2 { font-size: var(--font-3xl); }
    h3 { font-size: var(--font-2xl); }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    /* モバイルでもコンテナは中央揃え */
    .container {
        max-width: 100%;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--accent-color);
    color: var(--text-white);
    font-size: var(--font-sm);
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

/* ==========================================================================
   グリッドレイアウトの修正
   ========================================================================== */

/* すべてのグリッドコンテナに一貫した幅を適用 */
.section [style*="display: grid"],
.section [style*="display:grid"] {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* カードグリッドの最適化 */
.section .card {
    width: 100%;
    max-width: none;
}

/* セクション内のすべての要素が同じ幅を保つ */
.section > .container {
    width: 100%;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* ヒーローセクションのコンテナも中央揃え */
.hero-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
