@charset "UTF-8";

/* ==========================================================================
   Pattern 04: Dynamic Magenta (ITベンチャー・スピード感)
   Designer: "スピード感重視のUIクリエイター"
   Concept: マゼンタグラデーション、clip-path 斜めレイアウト、先進性
   ========================================================================== */

:root {
    --c-magenta: #FF0077;
    --c-purple: #7000FF;
    --c-dark: #0A0A1A;
    --c-card-bg: #1A1A2E;
    --c-text: #E0E0E0;
    --c-white: #FFFFFF;

    --grad-primary: linear-gradient(135deg, var(--c-magenta) 0%, var(--c-purple) 100%);
    --font-en: 'Montserrat', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;

    /* 斜めの角度を統一する変数 */
    --slant-angle: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    --slant-angle-rev: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ja);
    color: var(--c-text);
    background-color: var(--c-white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =========================================
   Components
========================================= */
.c-logo {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 0.1em;
    color: var(--c-dark);
}

.c-btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--grad-primary);
    color: var(--c-white);
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.1em;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    /* 斜めボタン */
    transition: transform 0.3s, filter 0.3s;
}

.c-btn-primary:hover {
    transform: translateX(10px) skewX(-10deg);
    filter: brightness(1.2);
    opacity: 1;
}

.c-btn-primary--large {
    font-size: 20px;
    padding: 20px 60px;
}

.u-gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================
   Layout
========================================= */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.l-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-header__nav ul {
    display: flex;
    gap: 40px;
}

.l-header__nav a {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--c-dark);
    letter-spacing: 0.05em;
    font-size: 14px;
}

.c-btn-contact {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--c-magenta);
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-btn-contact__arrow {
    transition: transform 0.3s;
}

.c-btn-contact:hover .c-btn-contact__arrow {
    transform: translateX(5px);
}

.l-section {
    padding: 120px 40px;
}

.l-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.c-section-title {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 48px;
    font-style: italic;
    color: var(--c-dark);
    margin-bottom: 40px;
    line-height: 1.2;
}

.c-section-title span {
    display: block;
    font-family: var(--font-ja);
    font-weight: 700;
    font-size: 16px;
    font-style: normal;
    color: var(--c-magenta);
    margin-top: 5px;
}

.c-section-title--white {
    color: var(--c-white);
}

/* =========================================
   Hero
========================================= */
.p-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.p-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 15s forwards;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
    }
}

.p-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--c-dark) 0%, rgba(10, 10, 26, 0.3) 100%);
    z-index: -1;
}

.p-hero__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    color: var(--c-white);
}

.p-hero__title {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: clamp(60px, 8vw, 120px);
    line-height: 1;
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: -0.02em;
}

.p-hero__text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ヒーロー下部の斜めシェイプ */
.c-shape-diagonal {
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: var(--c-white);
}

.c-shape-diagonal--bottom {
    bottom: -1px;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* =========================================
   Vision
========================================= */
.p-vision {
    display: flex;
    gap: 80px;
    align-items: center;
    color: var(--c-dark);
}

.p-vision__images {
    flex: 1;
    position: relative;
    height: 600px;
}

.p-vision__img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    clip-path: polygon(0 0, 100% 10%, 90% 100%, 0 90%);
    /* 少し歪んだ枠 */
    overflow: hidden;
}

.p-vision__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-vision__img-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 0 100%);
    overflow: hidden;
    box-shadow: -20px -20px 0 var(--c-magenta);
}

.p-vision__img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-vision__text {
    flex: 1;
}

.u-text-lead {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* =========================================
   Service (Dark Diagonal Background)
========================================= */
.p-service {
    position: relative;
    background-color: var(--c-dark);
    margin-top: 100px;
    padding: 200px 40px;
}

.c-shape-diagonal--top-rev {
    top: -1px;
    background-color: var(--c-dark);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.c-shape-diagonal--bottom-rev {
    bottom: -1px;
    background-color: var(--c-dark);
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.p-service-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.c-card-diagonal {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--c-card-bg);
    padding: 40px;
    clip-path: var(--slant-angle);
}

.c-card-diagonal--rev {
    flex-direction: row-reverse;
    clip-path: var(--slant-angle-rev);
}

.c-card-diagonal__img {
    flex: 1;
    height: 300px;
    overflow: hidden;
}

.c-card-diagonal__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-card-diagonal__content {
    flex: 1;
    padding: 40px 0;
}

.c-card-diagonal__content .c-label {
    font-family: var(--font-en);
    font-size: 60px;
    font-weight: 900;
    font-style: italic;
    color: var(--c-magenta);
    opacity: 0.5;
    display: block;
    margin-bottom: -20px;
}

.c-card-diagonal__content h3 {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 20px;
}

/* =========================================
   CTA & Footer
========================================= */
.p-cta {
    background: var(--grad-primary);
    padding: 100px 40px;
    text-align: center;
    color: var(--c-white);
}

.p-cta h2 {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 10px;
}

.p-cta p {
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 20px;
}

.p-cta .c-btn-primary {
    background: var(--c-dark);
    /* CTA内のボタンは黒 */
}

.l-footer {
    background-color: var(--c-dark);
    color: var(--c-white);
    padding: 80px 40px 30px;
}

.l-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.l-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.l-footer__logo {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
}

.l-footer__links {
    display: flex;
    gap: 40px;
    font-family: var(--font-en);
    font-size: 14px;
}

.l-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-family: var(--font-en);
    font-size: 12px;
    opacity: 0.5;
}

/* =========================================
   Animations
========================================= */
.js-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}

.js-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {
    .l-header__nav {
        display: none;
    }

    .p-hero__title {
        font-size: 48px;
    }

    .p-vision {
        flex-direction: column;
        gap: 40px;
    }

    .p-vision__images {
        width: 100%;
        height: 400px;
    }

    .p-service {
        padding: 100px 20px;
    }

    .c-card-diagonal,
    .c-card-diagonal--rev {
        flex-direction: column;
        clip-path: none;
        /* スマホでは斜めを解除して見やすく */
        padding: 20px;
        gap: 20px;
    }

    .c-card-diagonal__img {
        width: 100%;
        height: 200px;
    }

    .c-card-diagonal__content {
        padding: 20px 0;
    }

    .l-footer__top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .l-footer__links {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Hover Interaction Updates --- */
.c-card-diagonal { transition: transform 0.4s, box-shadow 0.4s; }
.c-card-diagonal:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.c-card-diagonal__img, .p-vision__img-main, .p-vision__img-sub { overflow: hidden; }
.c-card-diagonal:hover .c-card-diagonal__img img { transform: scale(1.08); }
.p-vision__images:hover img { transform: scale(1.03); }
.c-card-diagonal__img img, .p-vision__img-main img, .p-vision__img-sub img { transition: transform 0.6s; }
