/* ===========================
   Apple Store Design System
   Version: 5.0.0
   ========================== */

:root {
    /* カラー: 明るく洗練されたApple Store風 */
    --apple-white: #FFFFFF;
    --apple-light: #F5F5F7;
    --apple-gray: #86868B;
    --apple-dark: #1D1D1F;
    --apple-blue: #0071E3;
    --apple-blue-hover: #0077ED;
    --apple-green: #32D74B;
    --apple-orange: #FF9F0A;
    
    /* タイポグラフィ */
    --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    
    /* スペーシング */
    --section-padding: 80px 20px;
    --container-max: 980px;
    
    /* トランジション */
    --smooth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   グローバルスタイル
   ========================== */
body {
    font-family: var(--apple-font);
    color: var(--apple-dark);
    background: var(--apple-white);
    line-height: 1.47;
    letter-spacing: -0.022em;
    margin: 0;
    padding: 0;
}

.apple-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ヘッダー: 明るくクリーン
   ========================== */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--smooth-transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo .logo-video {
    height: 44px;
    width: auto;
}

/* ナビゲーション */
.main-navigation .menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.main-navigation .menu li a {
    color: var(--apple-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--smooth-transition);
}

.main-navigation .menu li a:hover {
    color: var(--apple-blue);
}

/* ===========================
   ヒーローセクション: 明るく大胆
   ========================== */
.apple-hero {
    background: linear-gradient(135deg, rgba(245, 245, 247, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.apple-hero.has-background {
    background-blend-mode: overlay;
}

.apple-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.apple-hero .apple-container {
    position: relative;
    z-index: 1;
}

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

.apple-hero h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--apple-dark);
    margin: 0 0 24px;
}

.apple-hero .hero-subtitle {
    font-size: 28px;
    line-height: 1.14;
    font-weight: 400;
    color: var(--apple-gray);
    margin: 0 auto 40px;
    max-width: 700px;
}

.apple-hero .hero-description {
    font-size: 21px;
    line-height: 1.38;
    font-weight: 400;
    color: var(--apple-gray);
    margin: 0 auto 40px;
    max-width: 650px;
}

/* ===========================
   ボタン: Appleスタイル
   ========================== */
.apple-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17;
    border-radius: 980px;
    text-decoration: none;
    transition: var(--smooth-transition);
    border: none;
    cursor: pointer;
    min-width: 28px;
}

.apple-btn-large {
    padding: 15px 28px;
    font-size: 19px;
}

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

.apple-btn-primary:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.02);
}

.apple-btn-secondary {
    background: transparent;
    color: var(--apple-blue);
    border: 2px solid var(--apple-blue);
}

.apple-btn-secondary:hover {
    background: var(--apple-blue);
    color: var(--apple-white);
}

/* ===========================
   セクション
   ========================== */
.apple-section {
    padding: var(--section-padding);
}

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

.apple-section-white {
    background: var(--apple-white);
}

/* ===========================
   カード: 洗練されたシャドウ
   ========================== */
.apple-card {
    background: var(--apple-white);
    border-radius: 18px;
    padding: 48px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--smooth-transition);
}

.apple-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* アイコンサークル */
.apple-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    overflow: hidden;
    position: relative;
}

.apple-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 画像付きカード */
.apple-card-with-image {
    position: relative;
    overflow: hidden;
}

.apple-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    margin: -48px -40px 24px;
}

/* 証言カードのアバター */
.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--apple-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    flex-shrink: 0;
}

/* 背景画像付きセクション */
.section-with-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-with-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.section-with-background .apple-container {
    position: relative;
    z-index: 1;
}

/* ===========================
   グリッドレイアウト
   ========================== */
.apple-grid {
    display: grid;
    gap: 24px;
}

.apple-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.apple-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ===========================
   タイポグラフィ
   ========================== */
.apple-headline {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.apple-title-1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.apple-title-2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.apple-headline-reduced {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.01em;
}

.apple-body {
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.022em;
}

.apple-body-large {
    font-size: 21px;
    line-height: 1.38;
    letter-spacing: -0.016em;
}

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

.text-muted {
    color: var(--apple-gray);
}

/* ===========================
   ユーティリティ
   ========================== */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* ===========================
   アニメーション
   ========================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   レスポンシブデザイン
   ========================== */
@media (max-width: 1068px) {
    .apple-hero h1 {
        font-size: 56px;
    }
    
    .apple-headline {
        font-size: 48px;
    }
    
    .apple-grid-2,
    .apple-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 734px) {
    :root {
        --section-padding: 60px 16px;
    }
    
    .apple-hero {
        padding: 60px 16px 50px;
    }
    
    .apple-hero h1 {
        font-size: 40px;
    }
    
    .apple-hero .hero-subtitle {
        font-size: 21px;
    }
    
    .apple-hero .hero-description {
        font-size: 17px;
    }
    
    .apple-headline {
        font-size: 32px;
    }
    
    .apple-title-1 {
        font-size: 32px;
    }
    
    .apple-title-2 {
        font-size: 28px;
    }
    
    .apple-card {
        padding: 32px 24px;
    }
    
    .main-navigation .menu {
        flex-direction: column;
        gap: 16px;
    }
}
