/* ===== 新デザイン：写真メインレイアウト ===== */

/* ヒーロー写真コラージュ */
.hero-collage {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 90px;
    overflow: hidden;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
    gap: 0;
}

.collage-item {
    position: relative;
    overflow: hidden;
}

.collage-item-large {
    grid-column: span 2;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.5s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.hero-collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-collage-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-playfully-white {
    display: block;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.hero-serious-white {
    display: block;
    background: linear-gradient(135deg, #FF6B6B, #6C5CE7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.hero-collage-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
}

/* 写真 + ブランディング文言セクション */
.photo-branding-section {
    padding: 8rem 0;
    background: #FFFFFF;
}

.photo-branding-section.section-gray {
    background: #F8F9FA;
}

.photo-branding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.photo-branding-grid-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.photo-branding-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.photo-branding-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-branding-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #0D0D0D;
}

.photo-branding-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: #555;
}

/* 既存のスタイルを削除 */

/* コンパクトなミッション・ビジョン */
.mission-vision-compact {
    background: #0D0D0D;
    padding: 6rem 0;
}

.mv-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mv-compact-item {
    text-align: left;
}

.mv-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #C0FF00;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.mv-compact-item h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.4;
}

.mv-compact-item .highlight-neon {
    color: #C0FF00;
}

/* 写真+ブランディング文言セクション（テキスト+2枚写真版） */
.photo-branding-text-photos {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.branding-text-content {
    padding-right: 2rem;
}

.branding-text-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--black);
}

.branding-text-content p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 2;
    color: var(--dark-gray);
}

.branding-photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.branding-photo-item {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.branding-photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.branding-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.branding-photo-item:hover img {
    transform: scale(1.05);
}

/* ボトムギャラリーセクション */
.bottom-gallery-section {
    padding: 0;
    margin: 0;
}

/* 大規模ギャラリーグリッド - 統一サイズ */
.bottom-gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 0;
}

.bottom-gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    grid-column: span 1;
    grid-row: span 1;
}

.bottom-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.bottom-gallery-item:hover::before {
    opacity: 1;
}

.bottom-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.bottom-gallery-item:hover img {
    transform: scale(1.1);
}

/* CTAボックス用 */
.gallery-item-cta {
    /* すべて統一サイズなので特別なスタイルは不要 */
}

/* カラフルな背景グラデーション */
.bg-color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-color-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.bg-color-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Gallery overlay text */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    color: white;
    z-index: 2;
    transition: all 0.4s ease;
}

.gallery-overlay:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
}

.gallery-overlay h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-overlay p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    
    .photo-branding-grid,
    .photo-branding-grid-reverse,
    .photo-branding-text-photos {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .branding-text-content {
        padding-right: 0;
    }
    
    .branding-photos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .branding-photo-item {
        height: 200px;
    }
    
    .bottom-gallery-grid-large {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-overlay h3 {
        font-size: 1.6rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    
    .photo-branding-image img {
        height: 300px;
    }
    
    .mv-compact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-collage {
        margin-top: 80px;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .photo-branding-section {
        padding: 4rem 0;
    }
    
    .hero-collage-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }
    
    .collage-grid {
        grid-template-rows: repeat(4, 150px);
    }
    
    .bottom-gallery-grid-large {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 180px);
    }
    
    .gallery-overlay h3 {
        font-size: 1.4rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}
