@charset "UTF-8";

/* --- 1. 基本設定 --- */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; background-color: #000; color: #fff; line-height: 1.8; font-weight: 300; overflow-x: hidden; max-width: 100vw; font-feature-settings: "palt" 1, "kern" 1; }
h1, h2, h3, h4, .logo, .btn, .step-num { font-family: 'Oswald', sans-serif; font-weight: 700; }

.section-bg-dark { background-color: #000000; }
.section-bg-light { background-color: #080808; }

/* 背景共通設定 */
.section-bg-concept {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}
.section-bg-concept { background-image: url('bg-concept.jpg'); }
.section-bg-concept::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: -1;
}

/* --- 2. ヘッダー --- */
header { position: fixed; top: 0; width: 100%; z-index: 100; display: flex; justify-content: space-between; padding: 22px 40px; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); align-items: center; border-bottom: 1px solid #1a1a1a; }
.logo a { color: #fff; text-decoration: none; font-size: 22px; letter-spacing: 3px; display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }
nav ul { display: flex; list-style: none; gap: 5px; align-items: center; }
nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; font-family: 'Oswald', sans-serif; transition: all 0.25s; text-transform: uppercase; padding: 6px 11px; border-radius: 5px; border: 1px solid transparent; }
nav a:hover { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }
nav a.active { color: #007aff; background: rgba(0,122,255,0.12); border-color: rgba(0,122,255,0.45); }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-sns { display: flex; align-items: center; gap: 14px; }
.header-sns a { color: rgba(255,255,255,0.7); font-size: 20px; transition: color 0.2s, transform 0.2s; }
.header-sns a:hover { color: #fff; transform: translateY(-2px); }

/* --- 3. ヒーロー --- */
.hero { position: relative; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2; }
.hero-content { position: relative; z-index: 10; padding: 0 20px; }
.hero-content h1 { font-family: 'Noto Serif JP', serif; font-weight: 300; font-size: clamp(14px, 5vw, 64px); line-height: 1.6; margin-bottom: 20px; letter-spacing: 0.1em; font-feature-settings: "palt" 1, "kern" 1; }
.punct-tight { letter-spacing: -0.35em; }
.hero-line1 {
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 6px;
}
.hero-line1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.55), rgba(255,255,255,0.08));
}
.hero-line2 {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}
.hero-line2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.55), rgba(255,255,255,0.08));
}
.hero-content p { font-size: clamp(13px, 2vw, 18px); margin-bottom: 40px; color: #ccc; letter-spacing: 4px; }
.btn { display: inline-block; padding: 16px 40px; background: #007aff; color: #fff; text-decoration: none; border: 2px solid #007aff; border-radius: 4px; font-weight: 700; font-size: 13px; cursor: pointer; text-align: center; transition: 0.3s; }
.btn:hover { background: #005bb5; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,122,255,0.3); }

/* --- 4. 共通セクション --- */
section { padding: 100px 0; border-bottom: 1px solid #151515; }
.container { max-width: 1200px; /* 横並びしやすく */ margin: 0 auto; padding: 0 20px; }
.section-title { display: table; margin: 0 auto 50px; font-size: clamp(22px, 5vw, 32px); letter-spacing: 5px; position: relative; text-align: center; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; width: 100%; height: 3px; background: #007aff; transform: translateX(-50%) scaleX(0); transform-origin: center; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.section-title.line-visible::after { transform: translateX(-50%) scaleX(1); }
.section-lead { text-align: center; color: #007aff; margin-bottom: 50px; font-weight: 700; letter-spacing: 2px; }

/* 4列グリッド設定 (SERVICES & WHY) */
.fourth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 常に4列 */
    gap: 20px;
}

.service-item {
    background: rgba(17, 17, 17, 0.85);
    border-radius: 8px;
    border: 1px solid #222;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s ease, z-index 0s;
    cursor: default;
    z-index: 0;
}
.service-item:hover {
    border-color: #007aff;
    box-shadow: 0 16px 48px rgba(0,122,255,0.2);
    transform: scale(1.2);
    z-index: 10;
    overflow: visible;
}
.service-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.service-item:hover .service-front { transform: translateY(-8px); opacity: 0.08; }
.service-item h3 { font-size: 15px; margin-bottom: 0; color: #007aff; }
.service-detail {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 22px;
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.8;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(17,17,17,0.95);
    border-radius: 8px;
}
.service-item:hover .service-detail { opacity: 1; transform: translateY(0); }
.service-detail--sm { font-size: 12px; line-height: 1.75; }

/* ABOUT */
.concept-box { max-width: 680px; margin: 0 auto 0; padding: 0; display: table; }
.concept-box p { color: #ccc; font-size: 14px; margin-bottom: 12px; text-align: left; }
.about-section-wrap { margin-top: 60px; position: relative; height: 480px; overflow: hidden; border-radius: 4px; }
.about-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; overflow: visible; }

.about-section-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.5) 100%); pointer-events: none; }
.about-section-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: brightness(0.8) saturate(0.85); transition: transform 8s ease; }
.about-section-wrap:hover .about-section-img { transform: scale(1.04); }

/* SERVICEアイコン (Font Awesome) */
.service-icon { margin-bottom: 20px; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; }
.service-icon i { font-size: 34px; color: #007aff; filter: drop-shadow(0 0 8px rgba(0,122,255,0.5)); }
.drone-svg { width: 34px; height: 34px; color: #007aff; filter: drop-shadow(0 0 8px rgba(0,122,255,0.5)); }

/* REPRESENTATIVE */
.about-flex { display: flex; gap: 40px; align-items: flex-start; background: #111; padding: 40px; border-radius: 8px; border: 1px solid #222; max-width: 860px; margin: 0 auto; }
.about-image { flex: 0 0 180px; display: flex; flex-direction: column; align-items: center; }
.about-image img { width: 100%; height: auto; border-radius: 4px; border: 1px solid #333; }
.ceo-title { color: #007aff; font-size: 18px; margin-bottom: 20px; }
.bio p { margin-bottom: 15px; color: #ccc; font-size: 14px; }
.badges-label { font-size: 10px; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: #666; margin-top: 24px; margin-bottom: 8px; }
.badge { padding: 5px 12px; border: 1px solid #007aff; color: #007aff; font-size: 10px; border-radius: 3px; margin-right: 8px; margin-top: 8px; display: inline-block; }
.profile-website { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 12px; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); text-decoration: none; border: 1px solid rgba(255,255,255,0.25); padding: 8px 16px; border-radius: 4px; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.profile-website:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }
.profile-website i { font-size: 10px; }

/* MUSIC CREDITS (PROFILE内統合) */
.profile-music-credits { margin-top: 50px; border-top: 1px solid #2a2a2a; padding-top: 40px; max-width: 860px; margin-left: auto; margin-right: auto; }
.profile-music-header { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.profile-music-header i { color: #007aff; font-size: 16px; }
.profile-music-header span { font-size: 13px; font-weight: 700; letter-spacing: 0.15em; color: #888; text-transform: uppercase; }
.credits-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.credit-category { background: rgba(0,122,255,0.05); border: 1px solid rgba(0,122,255,0.15); border-left: 3px solid #007aff; padding: 24px 28px; border-radius: 0 6px 6px 0; }
.credit-category h4 { color: #007aff; margin-bottom: 16px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid rgba(0,122,255,0.2); padding-bottom: 10px; }
.credit-list { list-style: none; font-size: 13px; color: #bbb; }
.credit-list li { margin-bottom: 10px; line-height: 1.6; }

/* WORKS */
.works-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { background: none; border: 1px solid #333; color: #888; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 7px 16px; border-radius: 4px; cursor: pointer; transition: all 0.2s; font-family: 'Oswald', sans-serif; }
.filter-btn:hover { border-color: #007aff; color: #007aff; }
.filter-btn.active { background: #007aff; border-color: #007aff; color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-item { background: #111; border: 1px solid #222; border-radius: 8px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.work-item:hover { border-color: #007aff; transform: translateY(-4px); }
.work-item.hidden { display: none; }
.work-thumb { aspect-ratio: 16/9; overflow: hidden; background: #1a1a1a; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.work-item:hover .work-thumb img { transform: scale(1.04); }
.work-info { padding: 16px 18px 20px; }
.work-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #007aff; border: 1px solid rgba(0,122,255,0.4); padding: 2px 8px; border-radius: 3px; margin-bottom: 8px; font-family: 'Oswald', sans-serif; }
.work-info h4 { font-size: 15px; margin-bottom: 6px; color: #fff; }
.work-info p { font-size: 12px; color: #888; line-height: 1.7; }
.work-item--hidden { display: none; }
.works-load-more { text-align: center; margin-top: 40px; }
.btn--outline { background: none; border-color: #444; color: #aaa; }
.btn--outline:hover { background: none; border-color: #007aff; color: #007aff; box-shadow: none; transform: none; }
.load-more-count { font-size: 11px; opacity: 0.6; font-family: 'Noto Sans JP', sans-serif; font-weight: 300; letter-spacing: 0; }
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* FLOW */
.flow-horizontal { display: flex; align-items: center; gap: 0; overflow: visible; }
.flow-card {
    flex: 1;
    position: relative;
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 28px 16px 24px;
    text-align: center;
    cursor: default;
    overflow: hidden;
    min-height: 160px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s ease;
    z-index: 0;
}
.flow-card:hover {
    border-color: #007aff;
    box-shadow: 0 16px 48px rgba(0,122,255,0.2);
    transform: scale(1.2);
    z-index: 10;
    overflow: visible;
}
.flow-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.flow-card:hover .flow-card-front { transform: translateY(-8px); opacity: 0.08; }
.flow-card-front i { font-size: 24px; color: #007aff; }
.flow-num { font-size: 11px; font-weight: 700; color: #007aff; letter-spacing: 0.1em; }
.flow-title { font-size: 14px; font-weight: 700; color: #fff; }
.flow-card-detail {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 18px;
    font-size: 13px;
    color: #e0e0e0;
    line-height: 1.8;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(17,17,17,0.95);
    border-radius: 8px;
}
.flow-card:hover .flow-card-detail { opacity: 1; transform: translateY(0); }
.flow-arrow { display: flex; align-items: center; padding: 0 8px; color: #444; font-size: 11px; flex-shrink: 0; }

/* COMPANY / CONTACT / SOCIAL */
.company-table-wrapper { max-width: 680px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; background: #111; border: 1px solid #222; }
.company-table th, .company-table td { padding: 15px; border-bottom: 1px solid #222; text-align: left; font-size: 13px; }
.company-table th { width: 30%; color: #007aff; background: #151515; }

.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.social-link { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 25px 15px; background: #111; border: 1px solid #222; text-align: center; color: #fff; text-decoration: none; transition: 0.3s; border-radius: 6px; }
.social-link i { font-size: 26px; }
.social-platform { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.social-handle { font-size: 10px; color: #555; letter-spacing: 0; font-weight: 400; }
.social-link:hover { border-color: #007aff; color: #007aff; transform: translateY(-3px); }
.social-link:hover .social-handle { color: rgba(0,122,255,0.6); }

/* --- 6. モーダル --- */
.modal { display: none; position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); align-items: center; justify-content: center; backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.4s ease; }
.modal.is-active { opacity: 1; }
.modal-content { position: relative; width: 90%; max-width: 1000px; background: #000; transform: scale(0.8) translateY(30px); transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
.modal.is-active .modal-content { transform: scale(1) translateY(0); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.close-btn { position: absolute; top: -48px; right: -8px; color: rgba(255,255,255,0.8); font-size: 36px; cursor: pointer; transition: color 0.2s; line-height: 1; z-index: 1001; }
.close-btn:hover { color: #fff; }

/* HERO */
.hero-logo { margin-bottom: 28px; }
.hero-logo img { height: 64px; width: auto; opacity: 0.9; }
.hero-note { font-size: 13px; letter-spacing: 3px; margin-top: -20px; margin-bottom: 40px; }
.hero-note-inner {
    color: #aaa;
}

/* REPRESENTATIVE */
.ceo-subtitle { color: #fff; font-size: 13px; letter-spacing: 1px; margin-bottom: 12px; opacity: 0.7; }
.ceo-position { font-size: 11px; color: #007aff; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.ceo-role { font-size: 12px; color: #888; font-weight: 300; }

/* CONTACT select */
.contact-form select { width: 100%; background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 12px 15px; border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color 0.3s; appearance: none; cursor: pointer; }
.contact-form select:focus { outline: none; border-color: #007aff; }
.required { color: #007aff; font-size: 10px; }
.contact-body { color: #aaa; font-size: 14px; margin-bottom: 40px; line-height: 1.8; max-width: 600px; margin-left: auto; margin-right: auto; display: table; }

/* WORKS */
.works-lead { text-align: center; color: #aaa; font-size: 14px; margin-bottom: 40px; margin-top: -30px; line-height: 1.8; max-width: 700px; margin-left: auto; margin-right: auto; }
.works-grid--highlight { margin-bottom: 0; }
.works-more-link { display: flex; justify-content: center; align-items: center; margin-top: 40px; width: 100%; }

/* SOCIAL */

/* FOOTER */
footer { text-align: center; padding: 60px 0; color: #444; font-size: 11px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo-img { height: 28px; width: auto; opacity: 0.4; }
.footer-tagline { color: #333; font-size: 12px; margin-bottom: 10px; letter-spacing: 1px; }
.footer-sns { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.footer-sns a { color: #888; font-size: 24px; transition: color 0.2s, transform 0.2s; }
.footer-sns a:hover { color: #fff; transform: translateY(-3px); }
.footer-links { margin-bottom: 12px; }
.footer-links a { color: #555; font-size: 11px; text-decoration: none; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom: 1px; transition: color 0.2s; }
.footer-links a:hover { color: #aaa; }

/* CONTACT BOX */
.contact-box { max-width: 700px; margin: 0 auto; background: #111; padding: 40px; border-radius: 8px; border: 1px solid #222; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 12px; color: #aaa; margin-bottom: 8px; letter-spacing: 1px; }
.contact-form input, .contact-form textarea { width: 100%; background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 12px 15px; border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #007aff; }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* WHY セクション 統合図 */
.why-image-wrap { text-align: center; margin-bottom: 40px; }
.why-integration-img { max-width: 800px; width: 100%; border-radius: 8px; opacity: 0.9; }

/* WORKS プレースホルダー */
.work-placeholder { width: 100%; aspect-ratio: 16/9; background: #1a1a1a; border: 1px dashed #333; display: flex; align-items: center; justify-content: center; color: #444; font-size: 13px; margin-bottom: 15px; border-radius: 4px; }

/* ハンバーガーボタン */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; z-index: 101; }
.hamburger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* レスポンシブ */
@media (max-width: 1024px) { header { padding: 15px; } nav ul { gap: 6px; } }
@media (max-width: 850px) { .logo-img { height: 30px; } }
@media (max-width: 900px) {
    .fourth-grid { grid-template-columns: 1fr 1fr; }
    .about-services { grid-template-columns: 1fr 1fr; }
    .flow-horizontal { flex-wrap: wrap; gap: 10px; }
    .flow-arrow { display: none; }
    .flow-card { flex: 1 1 calc(50% - 10px); min-width: 130px; }
}
@media (max-width: 850px) {
    .hamburger { display: flex; }
    nav#mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.97);
        border-top: 1px solid #222;
        padding: 20px 0;
    }
    nav#mainNav.is-open { display: block; }
    nav#mainNav ul { flex-direction: column; gap: 0; align-items: stretch; }
    nav#mainNav ul li a { display: block; padding: 12px 30px; font-size: 14px; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.12em; border-bottom: 1px solid #111; }
}
@media (max-width: 600px) {
    .fourth-grid { grid-template-columns: 1fr; justify-items: center; }
    .fourth-grid .service-item { max-width: 320px; width: 100%; }
    .about-services { grid-template-columns: 1fr; justify-items: stretch; }
    .about-services .service-item {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: unset;
        overflow: visible;
    }
    .about-services .service-front {
        flex: 0 0 90px;
        width: 90px;
        padding: 16px 8px;
        opacity: 1 !important;
        transform: none !important;
        border-right: 1px solid #222;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about-services .service-icon { margin-bottom: 8px; width: 36px; height: 36px; }
    .about-services .service-icon i { font-size: 22px; }
    .about-services .drone-svg { width: 22px; height: 22px; }
    .about-services .service-item h3 { font-size: 10px; letter-spacing: 0.5px; line-height: 1.4; text-align: center; }
    .about-services .service-detail {
        position: static;
        flex: 1;
        opacity: 1;
        transform: none;
        padding: 12px 14px;
        background: none;
        font-size: 12px;
        line-height: 1.75;
        text-align: left;
        color: #bbb;
    }
    .about-services .service-item:hover { transform: none; box-shadow: none; border-color: #222; }
    .about-section-wrap { height: auto; aspect-ratio: 16/6; }

    /* WORKS カード: YouTube型 */
    .works-grid { grid-template-columns: 1fr; gap: 12px; }
    .work-item { display: flex; flex-direction: row; align-items: stretch; }
    .work-item:hover { transform: none; }
    .work-thumb { flex: 0 0 120px; width: 120px; aspect-ratio: unset; min-height: 80px; }
    .work-placeholder { font-size: 10px; letter-spacing: 1px; }
    .work-info { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
    .work-tag { margin-bottom: 4px; }
    .work-info h4 { font-size: 13px; margin-bottom: 4px; line-height: 1.4; }
    .work-info p { font-size: 11px; line-height: 1.6; color: #777; }

    /* FLOW カード: YouTube型 */
    .flow-horizontal { flex-direction: column; align-items: stretch; gap: 8px; }
    .flow-card {
        flex: none;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: unset;
        padding: 0;
        overflow: visible;
    }
    .flow-card:hover { transform: none; box-shadow: none; border-color: #222; }
    .flow-card-front {
        flex: 0 0 80px;
        width: 80px;
        padding: 16px 8px;
        opacity: 1 !important;
        transform: none !important;
        border-right: 1px solid #222;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    .flow-card-front i { font-size: 18px; }
    .flow-num { font-size: 10px; }
    .flow-title { font-size: 11px; }
    .flow-card-detail {
        position: static;
        flex: 1;
        opacity: 1;
        transform: none;
        padding: 12px 14px;
        background: none;
        font-size: 12px;
        line-height: 1.75;
        text-align: left;
        color: #bbb;
        display: flex;
        align-items: center;
    }
    .about-flex { flex-direction: column; align-items: center; }
    .about-image { flex: 0 0 auto; width: 110px; }
    .contact-box { padding: 25px 20px; }
}

/* タッチデバイス: ホバー演出なし、詳細を常時表示 (601px以上のみ) */
@media (hover: none) and (min-width: 601px) {
    .service-item { overflow: visible; min-height: unset; }
    .service-item:hover { transform: none; box-shadow: none; border-color: #222; }
    .service-front { opacity: 1 !important; transform: none !important; padding-bottom: 12px; }
    .service-detail {
        position: static;
        opacity: 1;
        transform: none;
        padding: 0 20px 24px;
        background: none;
        font-size: 13px;
        text-align: center;
    }
    .flow-card { overflow: visible; min-height: unset; }
    .flow-card:hover { transform: none; box-shadow: none; border-color: #222; }
    .flow-card-front { opacity: 1 !important; transform: none !important; padding-bottom: 8px; }
    .flow-card-detail {
        position: static;
        opacity: 1;
        transform: none;
        padding: 0 12px 20px;
        background: none;
        font-size: 12px;
        text-align: left;
    }
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    height: 36px;
    width: auto;
    opacity: 0;
    animation: loaderFadeIn 0.6s ease 0.2s forwards;
}
.loader-bar {
    width: 160px;
    height: 1px;
    background: #222;
    overflow: hidden;
}
.loader-bar-inner {
    height: 100%;
    width: 0%;
    background: #007aff;
    animation: loaderProgress 1.2s ease 0.3s forwards;
}
@keyframes loaderFadeIn {
    to { opacity: 1; }
}
@keyframes loaderProgress {
    to { width: 100%; }
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#lightbox.is-open { display: flex; }
#lightbox.is-active { opacity: 1; }
#lightboxClose {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}
#lightboxClose:hover { color: #fff; }
#lightboxContent {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 960px;
    width: 100%;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
#lightbox.is-active #lightboxContent { transform: translateY(0); }
#lightboxImg {
    flex: 1;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
}
#lightboxImg img { width: 100%; height: 100%; object-fit: cover; }
#lightboxImg .work-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #333; font-size: 14px; font-family: 'Oswald', sans-serif; letter-spacing: 2px; }
#lightboxInfo { flex: 0 0 260px; }
#lightboxTag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #007aff; border: 1px solid rgba(0,122,255,0.4); padding: 2px 8px; border-radius: 3px; margin-bottom: 14px; font-family: 'Oswald', sans-serif; }
#lightboxTitle { font-size: 20px; font-family: 'Oswald', sans-serif; margin-bottom: 14px; color: #fff; line-height: 1.4; }
#lightboxDesc { font-size: 13px; color: #888; line-height: 1.8; }
.work-item { cursor: pointer; }
@media (max-width: 700px) {
    #lightboxContent { flex-direction: column; gap: 20px; }
    #lightboxInfo { flex: none; width: 100%; }
}

/* SCROLL TOP BUTTON */
#scrollTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(0,122,255,0.15);
    border: 1px solid rgba(0,122,255,0.4);
    border-radius: 50%;
    color: #007aff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    z-index: 99;
    pointer-events: none;
}
#scrollTop.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scrollTop:hover {
    background: rgba(0,122,255,0.3);
    border-color: #007aff;
}
@media (max-width: 600px) { #scrollTop { bottom: 20px; right: 20px; } }

/* FADE-IN ANIMATION */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* iOS Safari: background-attachment:fixed 非対応対策 */
@supports (-webkit-touch-callout: none) {
    .section-bg-concept {
        background-attachment: scroll;
    }
}