@charset "UTF-8";
/* =========================================================
   STELLAR | サイト共通アップグレードレイヤー (style_upgrade.css)
   既存ページ(index/about/service/clients/recruit/contact)に
   後乗せする演出レイヤー。文章・画像・レイアウトは変更せず、
   スクロールリビール／ガラス質感／ホバー／マウスグロー等を付与。
   ※ 演出は site-upgrade.js が付与するクラスで発火。JS無効/低モーション
      環境では一切隠さず、従来どおり全内容が表示される安全設計。
   ========================================================= */

:root {
    --up-blue: #4a9fd4;
    --up-blue-deep: #12325c;
    --up-cyan: #8ad4ef;
    --up-shadow: 0 20px 50px -22px rgba(18, 50, 92, 0.42);
}

/* スムーズスクロール */
html { scroll-behavior: smooth; overflow-x: hidden; }

/* =========================================================
   全ページ下部：未来都市スカイライン アニメーション帯
   （city-skyline.js が footer の直前に注入）
   ========================================================= */
.city-band {
    position: relative;
    z-index: 2;
    width: 100%;
    height: clamp(220px, 32vw, 360px);
    margin-top: 3rem;
    overflow: hidden;
    background: linear-gradient(180deg,
        rgba(171,207,223,0) 0%,
        #12325c 16%,
        #0b1f3a 55%,
        #081428 100%);
}
.city-band__glow {
    position: absolute;
    left: 50%;
    top: -10%;
    width: 80%;
    height: 80%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at top, rgba(74,159,212,.45), transparent 62%);
    pointer-events: none;
}
.city-band canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================================
   TOP：フッター直前の大型フィナーレ（未来都市＋メッセージ）
   ========================================================= */
.top-finale {
    position: relative;
    z-index: 2;
    width: 100%;
    /* style_top.css の section{margin-bottom:6rem} を打ち消してフッター直上に密着 */
    margin: 0;
    min-height: clamp(360px, 58vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg,
        rgba(171,207,223,0) 0%,
        #12325c 18%,
        #0b1f3a 58%,
        #081428 100%);
}
.top-finale__city {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.top-finale__glow {
    position: absolute;
    left: 50%;
    top: -6%;
    width: 78%;
    height: 78%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at top, rgba(74,159,212,.5), transparent 62%);
    pointer-events: none;
}
.top-finale__inner {
    position: relative;
    z-index: 3;
    padding: 3rem 1.5rem;
}
.top-finale__lead {
    margin: 0;
    font-size: clamp(1.6rem, 5.2vw, 3.1rem);
    font-weight: 900;
    line-height: 1.5;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.top-finale__lead .grad {
    background: linear-gradient(100deg, #fff, var(--up-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.top-finale__cta {
    margin-top: 2.2rem;
}
.top-finale__cta a {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    background: linear-gradient(120deg, var(--up-blue-deep), var(--up-blue));
    border-radius: 999px;
    padding: 14px 42px;
    text-decoration: none;
    box-shadow: 0 18px 40px -14px rgba(74,159,212,.8);
    transition: all .4s cubic-bezier(.2,.7,.3,1);
}
.top-finale__cta a span { margin-left: .4rem; }
.top-finale__cta a:hover {
    transform: translateY(-3px);
    padding: 14px 54px;
    box-shadow: 0 24px 54px -14px rgba(74,159,212,.95);
}

/* =========================================================
   CLIENTS：制作実績リール プレーヤー
   ========================================================= */
.reel-lead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.2rem;
    color: #33475b;
    line-height: 2;
    font-size: 1.02rem;
}
.reel-frame {
    position: relative;
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #0b1f3a;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 70px -28px rgba(18, 50, 92, 0.6);
}
.reel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0b1f3a;
}
.reel-note {
    margin-top: 1.6rem;
    font-size: 0.82rem;
    color: #5f7183;
}

/* ---------------------------------------------------------
   スクロールリビール（クラスは JS が付与）
--------------------------------------------------------- */
.up-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s cubic-bezier(.22,.61,.36,1),
                transform .9s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.up-reveal.up-in {
    opacity: 1;
    transform: none;
}
/* グループ内スタッガー（サービス/クライアント/求人など） */
.up-stagger.up-in:nth-child(2) { transition-delay: .06s; }
.up-stagger.up-in:nth-child(3) { transition-delay: .12s; }
.up-stagger.up-in:nth-child(4) { transition-delay: .18s; }
.up-stagger.up-in:nth-child(5) { transition-delay: .24s; }
.up-stagger.up-in:nth-child(6) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .up-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------------------------------------------------------
   マウス追従グロー（JS が要素を注入。PC のみ表示）
--------------------------------------------------------- */
.up-glow {
    position: fixed;
    top: 0; left: 0;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138,212,239,.28) 0%, rgba(138,212,239,0) 65%);
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity .6s ease;
    mix-blend-mode: screen;
}

/* ---------------------------------------------------------
   ボタンの質感アップ（既存の黒ピルは維持しつつ影とリフト）
--------------------------------------------------------- */
.btn-s a, .btn-m a, .btn-l a {
    box-shadow: 0 12px 26px -14px rgba(17, 17, 17, 0.7);
}
@media (min-width: 768px) {
    .btn-s a:hover, .btn-m a:hover, .btn-l a:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px -14px rgba(18, 50, 92, 0.55);
    }
}

/* ---------------------------------------------------------
   見出しの微演出（欧文見出しに柔らかな影）
--------------------------------------------------------- */
#page .page-title p.en,
section .head h2.en,
#page #main h2.en {
    text-shadow: 0 10px 34px rgba(11, 31, 58, 0.28);
}

/* ---------------------------------------------------------
   ABOUT：白カードをガラスモーフィズム化（文字は鮮明に）
   ※ 既存の opacity:0.8（文字も透ける）を rgba+blur に置換
--------------------------------------------------------- */
.about article.container-right,
.about article.container-left {
    background: rgba(255, 255, 255, 0.72);
    opacity: 1;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--up-shadow);
    transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s ease;
}
@media (min-width: 768px) {
    .about article.container-right:hover,
    .about article.container-left:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 60px -24px rgba(18, 50, 92, 0.55);
    }
}
/* INFO の組織図まわりも軽く整える */
.about article.about-03 dd.chart img {
    border-radius: 12px;
    box-shadow: var(--up-shadow);
}

/* ---------------------------------------------------------
   SERVICE / index：事業カードのホバーで画像をふわっと拡大
--------------------------------------------------------- */
#section-03 article .img {
    overflow: hidden;
    border-radius: 16px;
}
#section-03 article .img img {
    transition: transform .7s cubic-bezier(.2,.7,.3,1);
    border-radius: 16px;
}
@media (min-width: 768px) {
    #section-03 article:hover .img img {
        transform: scale(1.04);
    }
}

/* サービスマップ画像を少し引き立てる */
#section-03 .lead-copy .img img[usemap] {
    filter: drop-shadow(0 18px 40px rgba(18, 50, 92, 0.28));
}

/* ---------------------------------------------------------
   CSR / CONTACT カード（index の白カード）にリフト
--------------------------------------------------------- */
#section-04 .txt, #section-05 .txt {
    transition: transform .5s ease, box-shadow .5s ease;
}
@media (min-width: 768px) {
    #section-04:hover .txt {
        transform: translateY(-4px);
        box-shadow: var(--up-shadow);
    }
}
#section-04 li img, #section-05 .img img {
    transition: transform .5s ease;
}
@media (min-width: 768px) {
    #section-04 li:hover img { transform: translateY(-4px) scale(1.02); }
}

/* ---------------------------------------------------------
   RECRUIT：カードのホバー
--------------------------------------------------------- */
.recruit article .img { overflow: hidden; border-radius: 12px; }
.recruit article .img img { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
@media (min-width: 768px) {
    .recruit article:hover .img img { transform: scale(1.04); }
}

/* ---------------------------------------------------------
   CLIENTS：一覧サムネのホバー（既存 opacity:0.6 に拡大を追加）
--------------------------------------------------------- */
.clients .clients-01 li {
    transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
}
@media (min-width: 768px) {
    .clients .clients-01 li:hover { transform: translateY(-6px); }
}
.clients .client-article .image img {
    border-radius: 14px;
    transition: transform .6s ease;
}
@media (min-width: 768px) {
    .clients .client-article:hover .image img { transform: scale(1.03); }
}

/* COMING SOON をやや上質に（clients 現状表示） */
#page #main > p.en {
    text-shadow: 0 10px 30px rgba(11, 31, 58, 0.3);
    letter-spacing: 5px;
}

/* ---------------------------------------------------------
   CONTACT：メールボタン帯に軽い浮遊感
--------------------------------------------------------- */
.contact .clients-01 .btn-red a,
#contents .btn-red a {
    box-shadow: 0 16px 40px -16px rgba(235, 80, 41, 0.6);
}
