@charset "UTF-8";

/* ==========================================================================
   Pattern 11: Cyber Neon (サイバーパンク・グリッチ・ネオン)
   Designer: "サイバーパンク世界のUIクリエイター"
   Concept: ダークモード、ネオンカラー（シアン・マゼンタ）、グリッチ、ホログラム
   ========================================================================== */

:root {
    --c-bg: #0A0A0F;
    /* 深い暗黒色 */
    --c-base: #14141E;
    /* コンポーネント用の暗色 */

    /* Cyberpunk Neon Colors */
    --c-cyan: #00F3FF;
    /* TRONブルー */
    --c-magenta: #FF00FF;
    /* ネオンピンク */
    --c-yellow: #FAFF00;
    /* 警告イエロー */
    --c-text: #E0E0E0;
    --c-text-dim: #7B8C9E;

    --font-head: 'Orbitron', sans-serif;
    --font-en: 'Rajdhani', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-ja);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.c-logo {
    font-family: var(--font-head);
    letter-spacing: 0.1em;
}

p,
a,
li,
.c-badge {
    font-family: var(--font-en);
}

p {
    font-family: var(--font-ja);
}

/* 本文のみ日本語フォント優先設定 */
.c-badge,
.c-btn-neon {
    font-family: var(--font-en);
}

a {
    text-decoration: none;
    color: var(--c-cyan);
    transition: text-shadow 0.3s, color 0.3s;
}

a:hover {
    color: var(--c-magenta);
    text-shadow: 0 0 10px var(--c-magenta);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =========================================
   Effects: Scanline (走査線) & Glitch
========================================= */
.c-scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: 9999;
    pointer-events: none;
}

.glitch {
    position: relative;
    color: var(--c-text);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-bg);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--c-magenta);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--c-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(78px, 9999px, 81px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 86px, 0);
    }

    40% {
        clip: rect(65px, 9999px, 16px, 0);
    }

    60% {
        clip: rect(3px, 9999px, 42px, 0);
    }

    80% {
        clip: rect(98px, 9999px, 69px, 0);
    }

    100% {
        clip: rect(42px, 9999px, 2px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(29px, 9999px, 8px, 0);
    }

    20% {
        clip: rect(54px, 9999px, 42px, 0);
    }

    40% {
        clip: rect(89px, 9999px, 69px, 0);
    }

    60% {
        clip: rect(15px, 9999px, 34px, 0);
    }

    80% {
        clip: rect(49px, 9999px, 51px, 0);
    }

    100% {
        clip: rect(72px, 9999px, 90px, 0);
    }
}

/* =========================================
   Typography & Components
========================================= */
.c-title {
    font-size: 32px;
    color: var(--c-text);
    margin-bottom: 40px;
    border-left: 4px solid var(--c-cyan);
    padding-left: 15px;
}

.c-title .highlight {
    color: var(--c-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.c-badge {
    display: inline-block;
    background-color: rgba(250, 255, 0, 0.2);
    color: var(--c-yellow);
    border: 1px solid var(--c-yellow);
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.c-btn-neon {
    display: inline-block;
    padding: 15px 30px;
    color: var(--c-cyan);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid var(--c-cyan);
    background: rgba(0, 243, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.c-btn-neon:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6), inset 0 0 15px rgba(0, 243, 255, 0.4);
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* Cyberpunk button corner cut effect */
.c-btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 10px solid var(--c-bg);
    border-left: 10px solid transparent;
    width: 0;
    height: 0;
}

.c-btn-neon--alt {
    color: var(--c-magenta);
    border-color: var(--c-magenta);
    background: rgba(255, 0, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2), inset 0 0 10px rgba(255, 0, 255, 0.2);
}

.c-btn-neon--alt:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), inset 0 0 15px rgba(255, 0, 255, 0.4);
}

/* =========================================
   Layout
========================================= */
.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.l-section {
    padding: 120px 0;
}

/* =========================================
   Header
========================================= */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
    transition: all 0.3s;
}

.c-logo {
    font-size: 24px;
    color: var(--c-cyan);
    text-shadow: 0 0 8px var(--c-cyan);
}

.l-header__nav {
    display: flex;
    gap: 30px;
}

.l-header__nav a {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.l-header__status {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--c-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-cyan);
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* =========================================
   Hero
========================================= */
.p-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--c-cyan);
}

.p-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.p-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.2) hue-rotate(-20deg);
}

.p-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 15, 1) 0%, rgba(10, 10, 15, 0.4) 100%);
}

.p-hero__content {
    padding-left: 10%;
    max-width: 800px;
}

.p-hero__title {
    font-size: clamp(50px, 8vw, 90px);
    line-height: 1;
    color: var(--c-white);
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 var(--c-magenta), -2px -2px 0 var(--c-cyan);
}

.p-hero__text {
    font-size: 16px;
    color: var(--c-text-dim);
    margin-bottom: 40px;
}

.p-hero__deco {
    position: absolute;
    bottom: 20px;
    right: 40px;
    color: var(--c-cyan);
    font-family: var(--font-head);
    opacity: 0.5;
}

/* =========================================
   Core Modules (Cards)
========================================= */
.p-core {
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0z" fill="none"/><path d="M0 39h40M39 0v40" stroke="rgba(0, 243, 255, 0.05)" stroke-width="1"/></svg>');
}

.p-core__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.c-card-cyber {
    display: flex;
    background: var(--c-base);
    border: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.c-card-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--c-cyan);
}

.c-card-cyber:hover::before {
    background: var(--c-magenta);
    box-shadow: 0 0 15px var(--c-magenta);
}

.c-card-cyber--reverse {
    flex-direction: row-reverse;
}

.c-card-cyber--reverse::before {
    left: auto;
    right: 0;
    background: var(--c-magenta);
}

.c-card-cyber--reverse:hover::before {
    background: var(--c-cyan);
    box-shadow: 0 0 15px var(--c-cyan);
}

.c-card-cyber__img {
    width: 40%;
    position: relative;
}

.c-card-cyber__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.5);
}

.c-card-cyber__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 243, 255, 0.2);
    mix-blend-mode: overlay;
}

.c-card-cyber__info {
    width: 60%;
    padding: 40px;
}

.c-card-cyber__info h4 {
    font-size: 24px;
    color: var(--c-white);
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.c-card-cyber__info p {
    color: var(--c-text-dim);
}

/* =========================================
   Data Stream
========================================= */
.p-data__inner {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

.p-data__visual {
    flex: 1;
    position: relative;
    border: 1px solid var(--c-magenta);
    padding: 10px;
}

.p-data__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px var(--c-magenta));
}

.p-data__text {
    flex: 1;
    padding: 60px 80px;
}

.c-list-tech {
    margin-bottom: 50px;
}

.c-list-tech li {
    font-family: var(--font-en);
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255, 0, 255, 0.3);
    color: var(--c-text-dim);
    display: flex;
    justify-content: space-between;
}

.c-list-tech li span {
    color: var(--c-magenta);
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

/* =========================================
   Footer
========================================= */
.l-footer {
    border-top: 1px solid var(--c-cyan);
    padding: 60px 0 20px;
    background: linear-gradient(to top, rgba(0, 243, 255, 0.05), transparent);
}

.l-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.l-footer__grid {
    display: flex;
    gap: 100px;
    margin-bottom: 60px;
}

.l-footer__grid h4 {
    color: var(--c-cyan);
    margin-bottom: 20px;
}

.l-footer__grid a {
    display: block;
    font-family: var(--font-en);
    color: var(--c-text-dim);
    margin-bottom: 15px;
}

.l-footer__grid p {
    font-family: var(--font-en);
    color: var(--c-text-dim);
    margin-bottom: 10px;
}

.l-footer__bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--c-text-dim);
}

.terminal-text {
    animation: blink 1s infinite alternate;
}

/* =========================================
   Animations
========================================= */
.js-reveal {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s, transform 0.8s;
}

.c-card-cyber--reverse.js-reveal {
    transform: translateX(40px);
}

.js-reveal.is-active {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {
    .l-header {
        padding: 15px 20px;
    }

    .l-header__nav {
        display: none;
    }

    .p-hero__content {
        padding-left: 5%;
    }

    .c-card-cyber {
        flex-direction: column;
    }

    .c-card-cyber--reverse {
        flex-direction: column;
    }

    .c-card-cyber__img {
        width: 100%;
        height: 250px;
    }

    .c-card-cyber__info {
        width: 100%;
        padding: 25px;
    }

    .p-data__inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .p-data__text {
        padding: 40px 0;
    }

    .l-footer__grid {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Hover Interaction Updates --- */
.c-card-cyber { transition: box-shadow 0.3s, transform 0.3s; }
.c-card-cyber:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(0,243,255,0.3); }
.c-card-cyber__img, .p-data__visual { overflow: hidden; }
.c-card-cyber:hover .c-card-cyber__img img { transform: scale(1.08); filter: grayscale(0) contrast(1.2); }
.c-card-cyber__img img { transition: transform 0.6s, filter 0.6s; }
.p-data__visual:hover img { filter: drop-shadow(0 0 20px var(--c-cyan)) scale(1.02); }
