/* ========================================
   基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
/*  background: rgb(255 107 53 / 20%); */
    color: #1a1a1a;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top);
}

/* 固定背景パターン */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/haikan2.webp') center center / cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* メインコンテンツを前面に */
body > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   コンテンツラッパー
   ======================================== */
.content-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ヘッダー
   ======================================== */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 20px;
    padding-top: calc(env(safe-area-inset-top) + 16px); 
    margin-top: calc(env(safe-area-inset-top) * -1); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

.logo img {
    height: 40px; 
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icons {
    display: flex;
    gap: 10px;
    margin-right: 8px;
}

.contact-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-icons a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.contact-icons svg {
    width: 22px;
    height: 22px;
    fill: #1a1a1a;
    transition: fill 0.3s;
}

.contact-icons a:hover svg {
    fill: #fff;
}

/* ハンバーガーメニュー */
.hamburger {
    width: 25px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s;
}

/* ========================================
   メニューオーバーレイ
   ======================================== */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    height: 100vh;
    background: #1a1a1a;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.4s;
    z-index: 999;
}

.menu.active {
    transform: translateX(0);
}

.menu nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.menu nav a:hover {
    color: #ff6b35;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================
   共通セクションスタイル
   ======================================== */
section {
    padding: 60px 20px;
    position: relative;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #999;
    text-transform: uppercase;
}

h2 {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ff6b35;
}

/* ========================================
   ファーストビュー
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.75);
}

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

.hero-content .section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero h1 {
    display: flex;
    align-items: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.025em;
    line-height: 1.3;
    white-space: nowrap;
}

.hero-logo {
    width: 55px;
    height: auto;
    flex-shrink: 0;
    margin-right: 15px;
}

.hero h1 .hyphen {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 1em;
    vertical-align: middle;
}

.hero h1 .hyphen::before {
    content: '';
    position: absolute;
    left: 51%;
    top: 65%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 4px;
    background: #ff6b35;
    border-radius: 1px;
}

.hero .subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #ff6b35;
}

.hero .description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.hero .description p + p {
    margin-top: 24px;
}

/* ========================================
   特徴セクション
   ======================================== */
.features {
    background: rgba(255, 255, 255, 0.7);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    padding: 24px;
    background: #fafafa;
    border-left: 4px solid #ff6b35;
    position: relative;
    z-index: 1;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-item p {
    font-size: 15px;
    color: #666;
}

/* ========================================
   施工実績セクション
   ======================================== */
.projects {
    background: rgba(26, 26, 26, 0.75);
    color: #fff;
}

.projects h2 {
    color: #fff;
}

.gallery-section {
    margin-bottom: 60px;
}

.gallery-category {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 16px;
    margin-top: 40px;
}

.gallery-category:first-child {
    margin-top: 0;
}

.project-gallery {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
}

.project-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex-shrink: 0;
    width: calc(33.333% - 8px);
}

.gallery-image {
    height: 200px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #2d2d2d;
    z-index: 1;
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.works-description {
    margin-top: 40px;
}

.works-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff6b35;
    position: relative;
    z-index: 1;
}

.project-item {
    background: #2d2d2d;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ff6b35;
}

.project-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ========================================
   採用セクション
   ======================================== */
.recruit {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.7) 0%, rgba(255, 140, 90, 0.7) 100%);
    color: #fff;
}

.recruit h2 {
    color: #fff;
}

.recruit h2::after {
    background: #fff;
}

.recruit-content {
    margin-bottom: 32px;
}

.recruit-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.job-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.job-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.job-item p {
    font-size: 14px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn {
    display: block;
    text-align: center;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-primary {
    background: #fff;
    color: #ff6b35;
    border-color: transparent;
    z-index: 1;
}

.btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact {
    background: rgba(255, 255, 255, 0.7);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    padding: 20px;
    background: #fafafa;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ff6b35;
}

.contact-item p {
    font-size: 15px;
    color: #666;
}

.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

/* ========================================
   フッター
   ======================================== */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   採用ページ専用スタイル
   ======================================== */
.hero-recruit {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* 背景画像（一番奥） */
.hero-recruit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/wiring2.webp);
    background-position: right center;
    z-index: 0;
}

/* オレンジオーバーレイ（画像の上） */
.hero-recruit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 107, 53, 0.3); 
    z-index: 1;
}

/* テキストを前面に */
.hero-recruit h1,
.hero-recruit .subtitle {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* 文字の視認性向上 */
}

.hero-recruit h1 {
    font-size: 38px;
}

.hero-recruit .subtitle {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255);
}

.job-section::before {
    content: '';
    position: fixed;
    left: calc(50% + 60px + 60px);
    top: 0;
    bottom: 0;
    width: 150px;
    background: url(../images/pipe.webp) center center / contain no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}


/* 社内イベント写真 */
.event-photo {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.event-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
    .event-photo {
        margin-top: 32px;
    }
}


.job-section {
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.job-card {
    background: #fafafa;
    padding: 32px 24px;
    margin-bottom: 32px;
    border-left: 4px solid #ff6b35;
    position: relative;
    z-index: 1;
}

.job-card h3 {
    font-size: 22px;
    color: #ff6b35;
    margin-bottom: 20px;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    font-weight: 700;
    color: #666;
    min-width: 100px;
    font-size: 14px;
}

.detail-content {
    flex: 1;
    color: #1a1a1a;
    font-size: 15px;
}

.detail-content .point {
    display: block;
    padding-left: 20px;
    position: relative;
}

.detail-content .point::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35; 
    font-weight: bold;
    font-size: 18px;
}

.benefits {
    background: rgba(230, 230, 230, 0.7);
}

.benefit-list {
    display: grid;
    gap: 20px;
}

.benefit-item {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    align-items: start;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.benefit-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.benefit-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.interview {
    background: rgba(26, 26, 26, 0.75);
    color: #fff;
}

.interview h2 {
    color: #fff;
}

.interview-card {
    background: #2d2d2d;
    padding: 32px 24px;
    margin-bottom: 32px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.interview-card:last-child {
    margin-bottom: 0;
}

.interview-profile {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.interview-profile h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 8px;
}

.interview-profile p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.interview-qa {
    margin-bottom: 24px;
}

.interview-qa:last-child {
    margin-bottom: 0;
}

.interview-q {
    font-size: 15px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 8px;
}

.interview-a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.company-info {
    background: rgba(255, 255, 255, 0.7);
}

.info-table {
    background: #fafafa;
    padding: 24px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.info-row {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    font-weight: 700;
    color: #666;
    min-width: 100px;
    font-size: 14px;
}

.info-content {
    flex: 1;
    color: #1a1a1a;
    font-size: 15px;
}

.cta-section {
    background: rgba(255, 107, 53, 0.75);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    text-align: center;
}

.cta-section h2::after {
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.9;
}

/* ========================================
   ユーティリティ
   ======================================== */
.sp-br {
    display: none;
}

/* ========================================
   レスポンシブ: スマホ（〜480px）
   ======================================== */
@media (max-width: 480px) {
    .logo img {
        height: 25px; 
    }

    .contact-icons svg {
        width: 18px;
        height: 18px;
    }

    .contact-icons a {
        width: 30px;
        height: 30px;
    }

    .hero h1 {
        font-size: 38px;
        white-space: normal;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    
    .hero h1 .hyphen::before {
        width: 45px;
    }
    
    .hero .subtitle {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .hero .description {
        font-size: 14px;
    }

    .hero .description br {
        display: block;
        content: "";
        margin-top: 12px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero-recruit h1 {
        font-size: 28px;
    }

    .sp-br {
        display: block;
    }

    .project-gallery {
        position: relative;
        padding-bottom: 30px;
    }
    
    .project-gallery::after {
        content: '→';
        position: absolute;
        right: 12px;
        bottom: 0;
        color: rgba(255, 107, 53, 0.9);
        font-size: 18px;
        font-weight: 900;
        pointer-events: none;
        z-index: 1;
    }

    .gallery-item {
        width: 70%;
    }
    
    .gallery-category {
        font-size: 16px;
    }
    
    .works-title {
        font-size: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   レスポンシブ: タブレット（〜767px）
   ======================================== */
@media (max-width: 767px) {
    .gallery-item {
        width: 70%;
    }
    
    .gallery-category {
        font-size: 16px;
    }
    
    .works-title {
        font-size: 20px;
    }
}

/* ========================================
   レスポンシブ: タブレット（〜580px）
   ======================================== */
@media (max-width: 580px) {
    .hero h1 {
        font-size: 35px;
    }
}

/* ========================================
   デスクトップ装飾要素
   ======================================== */
.side-left {
    position: fixed;
    left: calc((100vw - 600px) / 2 - 50px); 
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 26);
    display: none;
    z-index: 2;
}

.side-right {
    position: fixed;
    right: calc((100vw - 600px) / 2 - 220px); 
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26);
    display: none;
    z-index: 2;
}

.side-right span {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    transition: color 0.3s;
}

.side-right span:hover {
    color: #ff6b35;
}

/* デスクトップのパイプ背景 */
.hero::before {
    content: '';
    position: fixed;
    left: calc(50% + 60px + 60px);
    top: 0;
    bottom: 0;
    width: 150px;
    background: url(../images/pipe.webp) center center / contain no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 480px) {
    .hero::before,
    .job-section::before {
        left: calc(50% + 30px + 60px);
    }
} 

/* ========================================
   レスポンシブ: デスクトップ（768px〜）
   ======================================== */
@media (min-width: 768px) {
    section {
        padding: 80px 40px;
    }

    .side-left,
    .side-right {
        display: block;
    }
}


/* ========================================
   ライトボックス
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* 閉じるボタン */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ff6b35;
}

/* 前へ・次へボタン */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    padding: 20px 15px;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 107, 53, 0.8);
}

/* スマホ対応 */
@media (max-width: 480px) {
    .lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 15px 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* ギャラリー画像にホバーエフェクト追加 */
.gallery-image {
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}



/* ========================================
   動画ギャラリー対応
   ======================================== */

/* 動画要素のスタイル */
.gallery-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    background-color: #2d2d2d;
    cursor: pointer;
    z-index: 1;
}

/* 動画にも画像と同じホバーエフェクト */
.gallery-video:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 動画の拡大アイコン（画像と統一） */
.gallery-item:has(.gallery-video) {
    position: relative;
}

.gallery-item:has(.gallery-video)::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:has(.gallery-video):hover::after {
    opacity: 0.9;
}

/* ライトボックス内の動画 */
.lightbox video {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* スマホ対応 */
@media (max-width: 480px) {
    .gallery-video {
        height: 200px;
    }
    
    .gallery-item:has(.gallery-video)::after {
        font-size: 30px;
    }
}