:root {
    --bg-color: #050505;
    --text-primary: #F0F0F0;
    --text-secondary: #999999;
    --accent-color: #00E5FF;
    /* Neon Cyan */
    --light-gray: #111111;
    --glass: rgba(10, 10, 10, 0.7);
    --font-en: 'Orbitron', sans-serif;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
    overflow-x: clip;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: clip;
    scroll-behavior: smooth;
}

/* --- Cursor --- */
/* タッチデバイス（スマホ等）ではデフォルト非表示、マウスデバイスのみ表示・適用 */
.cursor-point,
.cursor-drone {
    display: none;
}

@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    .magnet {
        cursor: none !important;
    }

    .cursor-point {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background-color: var(--accent-color);
        border-radius: 50%;
        pointer-events: none;
        z-index: 100000;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
        mix-blend-mode: screen;
    }

    .cursor-drone {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 60px;
        height: 60px;
        background-image: url('Image/drone-cursor-illustration.webp');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        filter: drop-shadow(0 0 5px var(--accent-color));
    }

    body.hovering .cursor-point {
        transform: translate(-50%, -50%) scale(2);
        background-color: #fff;
    }
}

img,
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Loader (Fixed Centering) --- */
.loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.loader-img-box {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    animation: flicker 2s infinite alternate;
    display: flex;
    justify-content: center;
}

.loader-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.loader-bar-bg {
    width: 200px;
    height: 2px;
    background: #333;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.loader-status {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: 10px;
    letter-spacing: 2px;
}

@keyframes flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent-color);
    width: 0%;
    z-index: 9000;
    box-shadow: 0 0 10px var(--accent-color);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    pointer-events: auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 3px var(--accent-color));
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* PCナビゲーション全体と各アイテム */
.pc-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    background: transparent;
    padding: 0;
    border: none;
    backdrop-filter: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 0;
}

/* 日本語＋英語のリンクスタイル */
.nav-link {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 0.9rem;
    color: #aaa;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.nav-link span {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 400;
    color: #999;
    margin-top: 4px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

.nav-link:hover span {
    color: var(--accent-color);
}

/* ドロップダウンメニュー（サブメニュー） */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--accent-color);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

/* ホバーで表示 */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ドロップダウン内のリンク */
.drop-link {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.drop-link span {
    font-family: var(--font-en);
    font-size: 0.65rem;
    color: #888;
    margin-top: 2px;
}

.drop-link:hover {
    color: #fff;
    border-left-color: var(--accent-color);
    padding-left: 15px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.1), transparent);
}

/* お問合せボタン（ボタンらしい見た目に調整） */
.btn-contact {
    border: 1px solid var(--accent-color);
    color: var(--accent-color) !important;
    padding: 8px 25px;
    border-radius: 0;
    justify-content: center;
}

.btn-contact span {
    color: var(--accent-color);
}

.btn-contact:hover {
    background: var(--accent-color);
    color: #000 !important;
    box-shadow: 0 0 15px var(--accent-color);
}

.btn-contact:hover span {
    color: #000;
    text-shadow: none;
}

.hamburger {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    border: 1px solid #333;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hamburger .bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.hamburger:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.hamburger:hover .bar {
    background-color: var(--accent-color);
}

/* --- Floating Nav --- */
.floating-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s ease;
    text-decoration: none;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    backdrop-filter: blur(5px);
}

.float-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-color);
    transform: scale(1.1);
}

#back-to-top {
    opacity: 0;
    transform: translateY(20px);
}

#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

#back-to-top.show:hover {
    transform: scale(1.1);
}

/* --- Side Menu --- */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    max-width: 90%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 5000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid #333;
}

.side-menu.active {
    transform: translateX(0);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-header {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.sm-logo-small {
    font-family: var(--font-en);
    font-weight: 700;
    color: #fff;
}

.menu-close {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #333;
    border-radius: 0;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.menu-close:hover {
    border-color: var(--accent-color);
}

.menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #fff;
}

.menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.side-menu-scroll-area {
    flex-grow: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.menu-container {
    padding: 40px;
}

/* サブメニューの追加に伴い、2カラムから1カラムに変更して間隔を調整 */
.menu-list {
    list-style: none;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* メインを日本語(jp)、サブを英語(en)にフォントを入れ替え */
.menu-link {
    display: block;
    font-family: var(--font-jp);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.menu-link span {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-en);
    font-weight: 400;
    color: #999;
    margin-top: 2px;
    letter-spacing: 1px;
}

.menu-link:hover {
    color: var(--accent-color);
    padding-left: 10px;
    text-shadow: 0 0 10px var(--accent-color);
}

/* --- サブメニュー用スタイル --- */
.sub-menu-list {
    list-style: none;
    margin-top: 15px;
    padding-left: 20px;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sub-menu-link {
    display: block;
    font-family: var(--font-jp);
    font-size: 1rem;
    color: #bbb;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
}

/* ホバー時に「→」を表示する疑似要素 */
.sub-menu-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: var(--accent-color);
    opacity: 0;
    transition: 0.3s;
    transform: translateX(-5px);
}

.sub-menu-link span {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-en);
    color: #888;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.sub-menu-link:hover {
    color: #fff;
    padding-left: 5px;
}

.sub-menu-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.side-menu-footer {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #999;
}

/* --- Mobile Footer --- */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--accent-color);
    border-radius: 0;
    padding: 5px 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.mf-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #aaa;
    text-decoration: none;
    padding: 5px 15px;
    transition: all 0.3s;
}

.mf-icon {
    width: 18px;
    height: 18px;
}

.mf-icon svg {
    width: 100%;
    height: 100%;
    stroke: #aaa;
    transition: 0.3s;
}

.mf-item span {
    font-family: var(--font-en);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.mf-item:hover .mf-icon svg {
    stroke: var(--accent-color);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.mf-item:hover span {
    color: var(--accent-color);
}

/* --- HERO --- */
.hero-wrapper {
    height: 250vh;
    position: relative;
}

.hero-video-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background: #000;
    will-change: transform;
}

.video-clipper {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 35%, 65% 42%, 65% 58%, 50% 65%, 35% 58%, 35% 42%);
    -webkit-clip-path: polygon(50% 35%, 65% 42%, 65% 58%, 50% 65%, 35% 58%, 35% 42%);
    will-change: clip-path;
    transform: translateZ(0);
}

.video-clipper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.scan-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 229, 255, 0.05) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.hero-text-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    margin-top: -100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    z-index: 2;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-en);
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 1;
    font-weight: 900;
    text-align: center;
    letter-spacing: -2px;
    width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.hero-sub {
    margin-top: 20px;
    font-size: clamp(0.8rem, 4vw, 4rem);
    letter-spacing: 0.2em;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
    text-align: center;
    font-weight: 700;
}

/* MARQUEE */
.marquee-section {
    background: #000;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* アニメーション時間を20sから35sに変更し、長文でも読みやすく調整 */
.marquee-content {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}

/* フォントを日本語フォント（--font-jp）に変更し、太さを700に調整 */
.marquee-content span {
    font-family: var(--font-jp);
    font-weight: 700;
    margin: 0 30px;
    letter-spacing: 2px;
}

.divider {
    color: #fff;
    margin-left: 10px;
    font-weight: 900;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Sections Common */
.section-spacing {
    padding: 120px 0;
    border-top: 1px solid #222;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: var(--font-en);
    font-size: 2.0rem;
    margin-bottom: 30px;
    text-transform: none;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.about-catch {
    font-size: 2rem;
}

/* ABOUT US */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-txt {
    width: 45%;
}

.arrow-link {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    font-family: var(--font-en);
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
}

/* 画像2枚横並び（重なり＋段差＋元比率） */
.about-visual {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

/* aspect-ratioを元の16/10に戻し、背景色を指定して重なりを綺麗に見せる */
.about-visual .img-wrapper {
    width: 55%;
    aspect-ratio: 16/10;
    border: 1px solid #333;
    padding: 5px;
    position: relative;
    background: var(--bg-color);
    flex-shrink: 0;
}

/* 1枚目を上に、2枚目を下に重ねてずらす */
.about-visual .img-wrapper:nth-child(1) {
    z-index: 2;
}

.about-visual .img-wrapper:nth-child(2) {
    z-index: 1;
    margin-left: -15%;
    margin-top: 80px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: 0.5s;
}

.img-wrapper:hover img {
    filter: grayscale(0%);
}

.tech-frame {
    position: absolute;
    inset: -10px;
    border: 1px solid var(--accent-color);
    clip-path: polygon(0 0, 20% 0, 20% 1px, 80% 1px, 80% 0, 100% 0, 100% 20%, 99% 20%, 99% 80%, 100% 80%, 100% 100%, 80% 100%, 80% 99%, 20% 99%, 20% 100%, 0 100%, 0 80%, 1px 80%, 1px 20%, 0 20%);
    opacity: 0.5;
    pointer-events: none;
}

/* PARTNERS SLIDER (Fixed Loop) */
.partners-section {
    padding: 40px 0;
    background: #080808;
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-family: var(--font-en);
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.partners-slider {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partnerScroll 18s linear infinite;
}

/* 枠をさらに大きく表示 (幅320px, 高さ180pxに拡大) */
.partner-logo {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 20px;
    border: 1px solid #222;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    /* 追加: リンクによる下線を消す */
}

/* ロゴ画像を100pxに拡大 */
.partner-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: 0.3s;
}

/* 文字サイズを0.9remに拡大して読みやすく */
.partner-logo span {
    font-family: var(--font-jp);
    font-weight: 700;
    color: #444;
    font-size: 0.9rem;
    transition: 0.3s;
    line-height: 1.4;
}

.partner-logo:hover {
    border-color: var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 5px var(--accent-color));
}

.partner-logo:hover span {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* 1セット（3個分）の幅 ＝ (320px + margin20px*2) × 3 = 1080px スクロールしたら0に戻す */
@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1080px);
    }
}


/* COMPANY PROFILE */
.profile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.profile-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(5px);
}

.profile-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.p-row {
    display: flex;
    border-bottom: 1px solid #222;
    padding: 15px 0;
    font-size: 0.95rem;
}

.p-row:last-child {
    border-bottom: none;
}

.p-row dt {
    width: 30%;
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.p-row dd {
    width: 70%;
    color: #ccc;
    line-height: 1.6;
}

.profile-map {
    width: 40%;
    border: 1px solid #333;
    position: relative;
    min-height: 250px;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-map .map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: 0.5s ease-out;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0.5;
}

.profile-map:hover .map-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.profile-map:hover .map-overlay {
    opacity: 0;
}

.license-head {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 2px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.l-category {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--accent-color);
    padding: 25px 20px;
    border-radius: 0;
    transition: 0.3s;
}

.l-category:hover {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.1) 0%, transparent 100%);
    box-shadow: 0 -5px 15px rgba(0, 229, 255, 0.1);
}

.l-category h4 {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.l-category ul {
    list-style: none;
    padding-left: 0;
}

.l-category ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ひし形のサイバー風ビュレット */
.l-category ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 5px var(--accent-color);
}



/* HISTORY */
.history-stream {
    position: relative;
    padding: 50px 0;
}

.stream-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #333;
    transform: translateX(-50%);
}

.stream-line-fill {
    width: 100%;
    height: 0%;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.h-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 100px;
    width: 50%;
}

.h-item.right {
    margin-left: 50%;
    justify-content: flex-start;
}

.h-node {
    position: absolute;
    top: 20px;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #000;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-color);
}

.h-item.right .h-node {
    right: auto;
    left: -6px;
}

.h-card {
    width: 80%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    margin-right: 40px;
    transition: 0.3s;
}

.h-item.right .h-card {
    margin-right: 0;
    margin-left: 40px;
}

.h-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
}

.h-year {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: 20px;
    line-height: 1;
}

.h-card h3 {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.h-card p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 20px;
}

.h-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border: 1px solid #333;
}

.h-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s;
    will-change: transform, filter;
}

.h-card:hover .h-img img {
    transform: scale(1.1);
}

/* 色の変化はJS制御に任せ、拡大のみホバーに残す */


/* PRESIDENT'S MESSAGE */
/* margin-top: 50px; を追加して上のタイトルとの間にスペースを設ける */
.message-flex {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.message-txt {
    display: flex;
    flex-direction: column;
}

.message-catch {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    line-height: 1.5;
}

.message-txt p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 2;
    text-align: justify;
}

.message-txt .highlight {
    color: var(--accent-color);
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(0, 229, 255, 0.2) 60%);
    padding: 0 2px;
}

/* 署名カード */
.message-sign-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

.message-sign-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.message-sign-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.03);
}

.sign-card-photo {
    width: 130px;
    height: 170px;
    flex-shrink: 0;
    border: 1px solid #444;
    padding: 4px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.sign-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s ease-out;
}

.sign-card-photo:hover img {
    transform: scale(1.03);
}

.sign-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
}

.sign-card-title {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.sign-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.sign-card-en {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.sign-card-edu {
    font-size: 0.8rem;
    color: #666;
}




/* =========================================
   VISION PARALLAX (スタイリッシュ改修版)
========================================= */
.vision-parallax {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #222;
    background-color: #000;
}

.vp-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    filter: grayscale(100%) brightness(0.5);
    will-change: transform, filter;
}

.vp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    background-image: radial-gradient(circle at center, transparent 0%, #000 100%);
    z-index: 2;
    pointer-events: none;
}

.vp-caption {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 5;
    color: var(--accent-color);
    font-family: var(--font-jp);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 15px;
    border-left: 3px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 0 5px var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.vp-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* テキストを囲むすりガラス風パネル（HUD風デザイン） */
.vp-glass-box {
    position: relative;
    display: inline-block;
    /* ▼ 黒の透明度を 0.6→0.3 に、青黒の透明度を 0.4→0.15 に下げて薄くしました ▼ */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 30, 40, 0.15) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 50px 60px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.vp-glass-box::before,
.vp-glass-box::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent-color);
    border-style: solid;
    opacity: 0.7;
}

.vp-glass-box::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.vp-glass-box::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

/* 英語のサブタイトル */
.vp-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 0.4em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

/* メインタイトル（縁取りを廃止してスマートに） */
.vp-title {
    font-family: var(--font-jp);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    -webkit-text-stroke: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.vp-title .highlight {
    color: var(--accent-color);
}

/* サブテキスト */
.vp-text {
    font-family: var(--font-jp);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #e0e0e0;
    font-weight: 500;
    letter-spacing: 0.1em;
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    line-height: 2;
}

.sp-br {
    display: none;
}

/* スマホ閲覧時の調整 */
@media (max-width: 768px) {
    .vp-glass-box {
        padding: 40px 20px;
        width: 95%;
    }

    .sp-br {
        display: block;
    }

    .vp-caption {
        top: 20px;
        left: 20px;
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    /* ▼これを追加：スマホ時のタイトル文字を少し小さくする▼ */
    .vp-title {
        font-size: 1.1rem !important;
        letter-spacing: 0 !important;
        margin-bottom: 15px;
    }

    .vp-title-en {
        font-size: 0.7rem !important;
        letter-spacing: 0.2em !important;
    }

    .vp-text {
        font-size: 0.75rem !important;
        letter-spacing: 0 !important;
    }
}





/* SERVICE */
.service-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.service-visual {
    width: 45%;
    position: sticky;
    top: 150px;
    height: 500px;
    border: 1px solid #333;
    background: #000;
    z-index: 10;
}

.holo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid transparent;
}

.holo-frame .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-color);
    border-style: solid;
    z-index: 20;
}

.t-l {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.t-r {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.b-l {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.b-r {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.visual-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.s-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: grayscale(100%) contrast(1.2) brightness(0.5);
    transition: opacity 0.5s ease;
}

.s-img.active {
    opacity: 1;
    filter: grayscale(0%) contrast(1.1) brightness(1);
}

.holo-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 5;
}

.holo-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 15px var(--accent-color);
    opacity: 0.5;
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 6;
}

.holo-status {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: var(--accent-color);
    text-align: right;
    z-index: 10;
    text-shadow: 0 0 5px var(--accent-color);
}

.service-list-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.s-item {
    background: transparent;
    border-bottom: 1px solid #333;
    padding: 40px 0;
    cursor: none;
    transition: 0.3s;
    border-radius: 0;
}

.s-item:hover,
.s-item.active {
    border-bottom-color: var(--accent-color);
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.05), transparent);
    transform: translateX(20px);
}

.s-num {
    font-family: var(--font-en);
    color: var(--accent-color);
    opacity: 0.5;
}

.s-title {
    font-family: var(--font-en);
    letter-spacing: 2px;
}

.s-item:hover .s-num {
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-color);
}

.s-tags li {
    background: #111;
    color: #aaa;
    border: 1px solid #333;
    border-radius: 0;
    font-family: var(--font-en);
    letter-spacing: 1px;
    padding: 2px 10px;
    font-size: 0.7rem;
    list-style: none;
    display: inline-block;
    margin-right: 5px;
}

.s-arrow {
    color: var(--accent-color);
}

.s-thumb {
    display: none;
}

/* デスクトップでは非表示 */


/* R&D LAB GRID */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
}

.lab-item {
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
    cursor: none;
}

.lab-item.wide {
    grid-column: span 2;
}

.lab-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s;
    will-change: transform, filter;
}

.lab-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}

.lab-overlay span {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    transform: scale(0.8);
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.8);
}

.lab-item:hover img {
    transform: scale(1.1);
}

.lab-item:hover .lab-overlay {
    opacity: 1;
}

.lab-item:hover .lab-overlay span {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* WORKS */
.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.work-module {
    position: relative;
    background: #000;
    border: 1px solid #333;
    transition: 0.4s;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    cursor: none;
}

.work-module:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
    transform: translateY(-5px);
}

.module-visual {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.module-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease-out;
}

.module-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--accent-color) 50%, transparent 60%);
    opacity: 0;
    transition: 0.3s;
    transform: translateY(-100%);
}

.module-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzjwqheq4f///2eE8UEMBgAk2Rswdt57YwAAAABJRU5ErkJggg==');
    opacity: 0.3;
}

.work-module:hover .module-visual img {
    transform: scale(1.1);
    filter: contrast(1.2);
}

.work-module:hover .module-scanner {
    opacity: 0.3;
    animation: scanDown 1s ease-in-out infinite;
}

@keyframes scanDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.module-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 20, 20, 0.9) 100%);
}

.mc-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--accent-color);
}

.mc-title {
    font-family: var(--font-en);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
}

.mc-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.5;
}

.mc-link {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 229, 255, 0.1);
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
}

.work-module:hover .mc-link {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 10px var(--accent-color);
}

.corner-bracket {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--accent-color);
    border-style: solid;
    opacity: 0.5;
    transition: 0.4s;
    pointer-events: none;
}

.top-left {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}

.top-right {
    top: 10px;
    right: 10px;
    border-width: 2px 2px 0 0;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 2px 2px;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}

.work-module:hover .corner-bracket {
    opacity: 1;
    width: 25px;
    height: 25px;
}

/* Information */
.info-table-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    color: #ccc;
    font-size: 1rem;
}

.info-table th,
.info-table td {
    border: 1px solid #444;
    padding: 14px 20px;
    text-align: center;
    vertical-align: middle;
}

.info-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
    width: 140px;
    letter-spacing: 0.05em;
}

.info-table .info-label {
    color: var(--accent-color, #00E5FF);
    font-weight: 600;
    width: 100px;
}

.info-note {
    margin-top: 16px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.q-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.q-icon::before,
.q-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.q-icon::before {
    width: 100%;
    height: 2px;
}

.q-icon::after {
    width: 2px;
    height: 100%;
}

.faq-item.active .q-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .q-icon::before {
    background: var(--accent-color);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.a-inner {
    padding: 0 0 30px;
    color: #aaa;
    font-size: 0.75rem;
    line-height: 1.8;
}

/* NEWS */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    text-decoration: none;
}

.news-item:hover {
    border-color: var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
    transform: translateX(10px);
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 140px;
    flex-shrink: 0;
}

.news-item .date {
    font-family: var(--font-en);
    color: var(--text-secondary);
}

.tech-tag {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-en);
    padding: 2px 10px;
    font-size: 0.7rem;
    width: fit-content;
}

.news-title {
    color: #fff;
}

.news-thumbnail {
    position: relative;
    width: 240px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #333;
}

.news-thumbnail img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}

.news-item:hover .yt-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
}

/* YouTube Popup Modal */
.yt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.yt-modal.active {
    display: flex;
}

.yt-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

.yt-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.yt-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.yt-modal-close:hover {
    color: var(--accent-color);
}

.yt-modal-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.yt-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-yt-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-top: 4px;
}

/* RECRUIT */
.recruit-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.rec-interface {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid #333;
    display: flex;
}

.hud-frame {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-color);
    border-style: solid;
    z-index: 5;
    pointer-events: none;
}

.rec-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.rec-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.4;
    transition: transform 0.2s ease-out;
    will-change: transform, filter;
}

.rec-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.rec-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    opacity: 0.5;
    animation: scan 3s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.rec-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid #333;
    margin: auto;
}

.rec-label {
    font-family: var(--font-en);
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.btn-tech {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 50px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-en);
    font-weight: 700;
    transition: 0.3s;
    background: rgba(0, 229, 255, 0.1);
    text-decoration: none;
}

.btn-tech:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-color);
}

/* FOOTER & FORM & MAP PIN */
.footer {
    background: #020202;
    border-top: 1px solid #222;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.f-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.f-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: #fff;
}

.f-map-container {
    position: relative;
    border: 1px solid #333;
    filter: grayscale(100%) invert(1) contrast(1.2);
    border-radius: 0;
    height: 300px;
    transition: filter 0.3s;
}

.f-map-container:hover {
    filter: none;
}

/* Map Drone Pin */
/* マップ上のロゴピンの装飾 */
.map-drone-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    /* 必要に応じてサイズを調整してください */
    height: auto;
    z-index: 10;
}

@keyframes floatPin {

    0%,
    100% {
        transform: translate(-50%, -80%);
    }

    50% {
        transform: translate(-50%, -90%);
    }
}

/* Form Styles */
.f-form-container {
    width: 100%;
}

.contact-head {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: var(--font-jp);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: var(--accent-color);
}

.form-label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #666;
    pointer-events: none;
    transition: 0.3s;
    font-family: var(--font-en);
    font-size: 0.9rem;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -15px;
    font-size: 0.7rem;
    color: var(--accent-color);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-color);
    transition: 0.4s;
    box-shadow: 0 0 10px var(--accent-color);
}

.form-input:focus~.input-highlight {
    width: 100%;
}

/* Privacy Agreement */
.privacy-agree {
    margin-top: 16px;
}

.privacy-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #aaa;
}

.privacy-checkbox {
    display: none;
}

.privacy-check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #555;
    border-radius: 3px;
    transition: 0.3s;
    position: relative;
}

.privacy-checkbox:checked + .privacy-check-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.privacy-checkbox:checked + .privacy-check-icon::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-text a:hover {
    opacity: 0.8;
}

.btn-submit:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-submit {
    margin-top: 10px;
    padding: 15px 0;
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-en);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #222;
    color: #555;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-wrapper {
        gap: 20px;
    }

    .service-visual {
        width: 35%;
        height: 300px;
        top: 100px;
    }

    .service-list-container {
        width: 65%;
    }

    .s-item {
        padding: 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .license-grid {
        grid-template-columns: 1fr 1fr;
    }

    .f-map-container {
        filter: none;
    }

}

@media (max-width: 768px) {
    .pc-nav {
        display: none;
    }

    .side-menu {
        width: 100%;
        max-width: 100%;
    }

    .menu-list {
        grid-template-columns: 1fr;
    }

    .about-catch {
        font-size: 1.3rem;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .about-txt,
    .about-visual {
        width: 100%;
    }

    .recruit-wrapper {
        min-height: 350px;
    }

    .rec-content {
        padding: 30px 20px;
        max-width: 80%;
        background: rgba(0, 0, 0, 0.6);
    }

    /* 2枚横並びスマホ用調整：画像をテキストの下に配置し、余白を上に設ける */
    .about-visual {
        order: 1;
        margin-top: 50px;
        justify-content: center;
        padding-left: 5%;
    }

    .about-visual .img-wrapper {
        width: 70%;
    }

    .about-visual .img-wrapper:nth-child(1) {
        z-index: 2;
        margin-left: 0;
    }

    .about-visual .img-wrapper:nth-child(2) {
        z-index: 1;
        margin-left: -30%;
        margin-top: 40px;
    }

    .img-wrapper {
        border-radius: 0;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .h-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 50px;
        margin-left: 0 !important;
    }

    .h-node {
        left: 14px;
        right: auto;
    }

    .h-card {
        width: 100%;
        margin: 0;
    }

    .lab-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lab-item.wide {
        grid-column: span 2;
    }


    /* スマホでのみ改行を有効にする */
    .sp-br {
        display: block;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-meta {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .news-thumbnail {
        width: 100%;
    }

    .news-thumbnail img {
        height: 180px;
    }

    .video-clipper {
        clip-path: polygon(50% 30%, 80% 45%, 80% 75%, 50% 90%, 20% 75%, 20% 45%);
        -webkit-clip-path: polygon(50% 30%, 80% 45%, 80% 75%, 50% 90%, 20% 75%, 20% 45%);
    }

    .mobile-footer {
        display: block;
    }

    .floating-nav {
        bottom: 100px;
        right: 16px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 0.6rem;
    }

    .loader-img-box {
        width: 80%;
    }

    .service-wrapper {
        flex-direction: column;
    }

    .service-visual {
        display: none;
    }

    /* モバイルでは共有画像エリアを非表示 */
    .service-list-container {
        width: 100%;
    }

    .s-thumb {
        display: block;
        width: 100%;
        height: 200px;
        overflow: hidden;
        margin-bottom: 15px;
        border: 1px solid #333;
    }

    .s-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


    .info-table th,
    .info-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .info-table th {
        width: 90px;
    }

    .profile-info {
        padding: 20px;
    }

    .profile-list {
        width: 100%;
    }

    .p-row {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }

    .p-row dt {
        width: 100%;
    }

    .p-row dd {
        width: 100%;
    }

    .license-grid {
        grid-template-columns: 1fr;
    }

    /* メッセージセクションのスマホ対応 */
    .message-catch {
        font-size: 1.2rem;
    }

    .message-sign-card {
        flex-direction: row;
        gap: 20px;
        padding: 20px;
    }

    .sign-card-photo {
        width: 90px;
        height: 120px;
    }

    .sign-img {
        max-width: 150px;
    }


}

@media print {

    body,
    a,
    button {
        cursor: default !important;
    }

    .loader,
    .cursor-point,
    .cursor-drone,
    .mobile-footer,
    .floating-nav,
    .header,
    .side-menu,
    .scroll-progress {
        display: none !important;
    }

    .hero-wrapper {
        height: auto;
    }

    .hero-video-container {
        position: relative;
        height: 300px;
        margin-top: 0;
    }

    .hero-text-container {
        position: relative;
        margin-top: 0;
        height: auto;
        color: #000;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section-heading,
    p,
    h1,
    h2,
    h3 {
        color: #000 !important;
        text-shadow: none !important;
    }

    .lab-item {
        border: 1px solid #ccc;
    }

    .lab-overlay {
        display: none;
    }
}


/* 電話番号リンクの装飾 */
.tel-link {
    color: inherit;
    /* 周りの文字色（白やグレー）に合わせる */
    text-decoration: none;
    /* デフォルトの下線を消す */
    transition: color 0.3s;
    /* 色の切り替わりを滑らかにする */
}

/* パソコンなどでマウスを乗せたときの動作 */
@media (hover: hover) {
    .tel-link:hover {
        color: var(--accent-color);
        /* マウスホバーでアクセントカラーにする */
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
        /* 軽く光らせる */
    }
}

/* =========================================
   ABOUT US 視覚エフェクト (Hoverのみ)
========================================= */

/* ドローンのホバリングを模したフワフワ動くキーフレーム */
@keyframes droneHover1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    /* 15px上に浮く */
}

@keyframes droneHover2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }

    /* 12px下に沈む */
}

/* 1枚目の画像（左上の画像） */
.about-visual .img-wrapper:nth-child(1) {
    z-index: 2;
    /* 6秒かけてゆっくりフワフワさせる */
    animation: droneHover1 6s ease-in-out infinite;
}

/* 2枚目の画像（右下の画像） */
.about-visual .img-wrapper:nth-child(2) {
    z-index: 1;
    margin-left: -15%;
    margin-top: 80px;
    /* 1枚目とは違うリズム（7.5秒）にすることで、より自然な浮遊感を出す */
    animation: droneHover2 7.5s ease-in-out infinite;
}

/* ホバー時に画像の枠を少し光らせる追加エフェクト（任意） */
.about-visual .img-wrapper {
    transition: box-shadow 0.4s ease-out;
}

.about-visual .img-wrapper:hover {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
    /* ネオンブルーの淡い光 */
}