/*
Theme Name: SHIFTIA
Author: MIDI
Description: SHIFTIA Inc. 完全独自設計テーマ。Bootstrap 5をコアにした軽量・高速設計。
Version: 1.0.0
*/

:root {
    --shiftia-primary: #000000;
    --shiftia-secondary: #333333;
    --shiftia-bg-light: #f8f9fa;
    --shiftia-green: #00ff41;
    --bg-black: #050505;
    --font-mincho: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
    --font-mono: 'Space Mono', monospace;
    --animate-duration: 1.2s;
    /* 全体的に少しゆっくりに */
}

.wow {
    visibility: hidden;
}

.animate__fadeInUp {
    --animate-duration: 1.5s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}


.white-text {
    color: var(--shiftia-bg-light)
}

html, body {
    /* スマホ（iOS等）での横スクロールを完全に禁止 */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--shiftia-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-black);
    overflow-wrap: break-word; /* 長い英単語やURLのはみ出しを防止 */
}

/* 独自のユーティリティ */
.letter-spacing-1 {
    letter-spacing: 0.1em;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* WordPress標準の配置対応 */
.aligncenter {
    display: block;
    margin: 0 auto;
}


/* --- Archive Layout --- */
.shiftia-archive-v4 {
    color: #fff;
}

.px-lg-8 {
    padding-left: 10vw;
    padding-right: 10vw;
}

/* --- Post Card v4 --- */
.post-card-v4 {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.card-link-wrapper {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.card-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.8s ease;
}

.placeholder-visual {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #111, #111 10px, #181818 10px, #181818 20px);
}

.card-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--shiftia-green, #00ff41);
    color: #000;
    font-size: 0.7rem;
    padding: 2px 8px;
    z-index: 5;
    font-weight: 700;
}

/* ホバー時の挙動 */
.post-card-v4:hover {
    border-color: var(--shiftia-green, #00ff41);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.post-card-v4:hover .card-visual img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.category-tag {
    color: var(--shiftia-green, #00ff41);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.card-footer-v4 {
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.post-card-v4:hover .card-footer-v4 {
    color: #fff;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.post-card-v4:hover .arrow-icon {
    transform: translateX(8px);
    color: var(--shiftia-green, #00ff41);
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.page-numbers {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    padding: 5px 10px;
}

.page-numbers.current {
    color: var(--shiftia-green, #00ff41);
}

.page-numbers:hover:not(.current) {
    color: #fff;
}


/* --- Executive Section v5: Non-Grid Layout --- */
.mb-custom {
    margin-bottom: 100px;
}

/* 2人を左右に大きく配置し、グリッドの境目を消す */
.exec-container-v5 {
    display: flex;
    justify-content: space-between;
    gap: 5vw;
    /* 適切な余白 */
    align-items: flex-start;
}

.exec-profile {
    position: relative;
    width: 45%;
    /* グリッドではなく割合で流動的に */
}

/* 画像の縦長比率をbutai.link風に強調 */
.exec-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
}

.exec-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.exec-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.8));
    z-index: 1;
}

/* テキストを画像に被せる、あるいは絶妙な位置に配置 */
.exec-details {
    margin-top: -60px;
    /* 画像に少し食い込ませることで一体感を出す */
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.exec-role {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: #000000;
    display: block;
    margin-bottom: 10px;

}

.exec-name {
    font-size: calc(1.5rem + 1.5vw);
    line-height: 1;
    margin: 0;
    font-family: var(--font-mincho);
}

.exec-bar {
    width: 0;
    /* アニメーションで伸ばす */
    height: 4px;
    background: var(--shiftia-green, #00ff41);
    margin-top: 15px;
}

/* ホバー時の洗練された反応 */
.exec-profile:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* モバイル対応：縦並びに切り替え */
@media (max-width: 991px) {
    .exec-container-v5 {
        flex-direction: column;
        gap: 150px;
    }

    .exec-profile {
        width: 100%;
    }

    .exec-details {
        margin-top: 20px;
        padding-left: 0;
    }
}

/* --- Hero Compact Design --- */
.about-hero-compact {
    height: 65vh;
    /* 100vhから65vhへ縮小。これで下のセクションが見える */
    min-height: 450px;
    background: var(--bg-black);
}

/* タイトルのサイズ微調整 */
.main-title-compact {
    font-size: calc(4rem + 6vw);
    /* 少しだけ小さくして圧迫感を軽減 */
    line-height: 0.85;
}

/* 01_MESSAGE 冒頭の余白を詰める */
.pt-5 {
    padding-top: 80px !important;
}

/* スクロールヒントの再配置 */
.scroll-hint-mini {
    position: absolute;
    bottom: 30px;
    right: 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mini-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.mini-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shiftia-green);
    animation: scroll-flow 2s infinite linear;
}

@keyframes scroll-flow {
    to {
        top: 100%;
    }
}


/* 共通設計：余白とレイアウト */

.section-v4 {
    padding: 200px 0;
    position: relative;
}

.section-black {
    background: var(--bg-black);
}

.section-label {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #fff;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #fff;
}

/* タイポグラフィ */
.fw-black {
    font-weight: 900;
}

.ls-tighter {
    letter-spacing: -0.06em;
}

.main-title {
    font-size: calc(6rem + 10vw);
    line-height: 0.8;
}

.text-outline-white {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.body-v4 {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* 常時稼働・洗練グリッチ */
.glitch-v4-steady {
    position: relative;
    display: inline-block;
}

.glitch-v4-steady::before,
.glitch-v4-steady::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-v4-steady::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitch-steady 4s infinite linear;
}

.glitch-v4-steady::after {
    color: #00fff9;
    z-index: -2;
    animation: glitch-steady 3s infinite linear reverse;
}

@keyframes glitch-steady {

    0%,
    90%,
    100% {
        clip-path: inset(0 0 100% 0);
        transform: translate(0);
    }

    92% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-5px);
    }

    95% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(5px);
    }

    98% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }
}

/* ビジュアルフレーム */
.image-frame {
    width: 100%;

}

.parallax-img {
    width: 100%;
    h-100%;
    height: 100%;
    object-fit: cover;
}

/* 会社概要リスト */
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #000;

}

.spec-row .value {
    font-size: 0.9rem;
}

/* スクロールインジケーター */
.scroll-indicator-v4 {
    position: absolute;
    bottom: 50px;
    left: 10vw;
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--shiftia-green);
    left: -100%;
    animation: line-run 2s infinite linear;
}

@keyframes line-run {
    to {
        left: 100%;
    }
}

/* モバイル対応 */
@media (max-width: 991px) {
    .section-v4 {
        padding: 100px 0;
    }

    .main-title {
        font-size: 4.5rem;
    }

    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* フォーマルなタイポグラフィと余白設定 */
.guideline-formal {
    background-color: #fff;
    color: #1a1a1a;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
}

.guideline-text p {
    margin-bottom: 1.25rem;
}

.guideline-text ul,
.guideline-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.guideline-text li {
    margin-bottom: 0.75rem;
}

.guideline-definition dt {
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.guideline-definition dd {
    padding-top: 0.5rem;
    margin-bottom: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* 禁止事項のリスト強調 */
.list-group-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    background: #fff;
}

/* セクション間の区切り */
.guideline-section {
    padding-top: 1rem;
}

/* リンクカラーを抑える */
.guideline-formal a {
    color: #000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .h2 {
        font-size: 1.5rem;
    }

    .h4 {
        font-size: 1.2rem;
    }
}


.footer-main {
    padding-top: 100px;
}

.section-padding-sm {
    padding-bottom: 80px;
}

/* 背景の巨大テキスト：最下部で圧倒的な存在感 */
.footer-bg-text {
    position: absolute;
    bottom: -0.1em;
    left: 0;
    width: 100%;
    font-size: 22vw;
    font-weight: 900;
    color: #111;
    /* 背景の黒よりわずかに明るい黒 */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    text-align: center;
    letter-spacing: -0.05em;
}

/* フッター用グリッチ（控えめ） */
.glitch-footer {
    position: relative;
    color: #fff;
    display: inline-block;
    letter-spacing: -0.02em;
}

.glitch-footer::before,
.glitch-footer::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
}

.glitch-footer::before {
    left: 1px;
    text-shadow: -1px 0 #ff00c1;
    animation: shiftia-glitch-1 4s infinite linear alternate-reverse;
}

.glitch-footer::after {
    left: -1px;
    text-shadow: 1px 0 #00fff9;
    animation: shiftia-glitch-2 6s infinite linear alternate-reverse;
}

/* リンクスタイル */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #00ff41;
    /* ターミナルグリーン */
    padding-left: 5px;
}

.hover-white:hover {
    color: #fff !important;
}

.hover-opacity:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-main {
        padding-top: 60px;
    }

    .footer-bg-text {
        font-size: 25vw;
        bottom: 0;
    }
}


/* 既存のスタイルを完全継承 + アニメーション用拡張 */




.section-padding {
    padding: 180px 0;
}


.font-monospace {
    font-family: 'Space Mono', monospace;
}

.leading-relaxed {
    line-height: 1.6;
}

.service-card-v3:hover .text-muted {
    color: #fff !important;
}

.transition-smooth {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- HERO & TITLES --- */
.display-super {
    font-size: calc(3.5rem + 7.5vw);
    line-height: 0.85;
}

.text-outline-white {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    color: transparent;
}

/* 瞳の演出用：周辺を暗く沈める */
.vignette-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #000 90%);
    pointer-events: none;
}

/* 既存のグリッチ */
/* --- SHIFTIA PRISM GLITCH v4 --- */
.shiftia-glitch-v4 {
    position: relative;
    display: inline-block;
    color: #fff;
    overflow: visible;
}

/* 共通の疑似要素設定 */
.shiftia-glitch-v4::before,
.shiftia-glitch-v4::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* 常時稼働：色収差（RGBズレ）とスキャンラインの融合 */
.shiftia-glitch-v4::before {
    left: 2px;
    text-shadow: -1px 0 #00fff9;
    /* シアン */
    background: black;
    /* 背景を隠してノイズ感を強調 */
    animation: shiftia-scanline 3s infinite linear alternate-reverse;
}

.shiftia-glitch-v4::after {
    left: -2px;
    text-shadow: 1px 0 #ff00c1;
    /* マゼンタ */
    animation: shiftia-scanline 2s infinite linear alternate;
}

/* 高品位なスキャンライン・アニメーション */
@keyframes shiftia-scanline {
    0% {
        clip-path: inset(80% 0 1% 0);
        transform: translate(-2px, -1px);
    }

    10% {
        clip-path: inset(10% 0 85% 0);
        transform: translate(2px, 1px);
    }

    20% {
        clip-path: inset(40% 0 43% 0);
        transform: translate(-1px, 0);
    }

    30% {
        clip-path: inset(0 0 0 0);
        /* 一瞬正常に戻す（静寂） */
        transform: translate(0);
        opacity: 0;
    }

    /* 31%から80%までは何もしない（ここがおしゃれのポイント：余白） */
    80% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }

    85% {
        opacity: 1;
        clip-path: inset(15% 0 70% 0);
        transform: translate(5px, 0);
    }

    90% {
        clip-path: inset(70% 0 15% 0);
        transform: translate(-5px, 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
        opacity: 0;
    }
}

/* 全体の発光感（Glow） */
.glitch-base {
    position: relative;
    z-index: 5;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}


/* ヘッダー画像アニメーション */
#core-eye {
    will-change: transform;
}

/* スクロールインジケーター */
.scroll-status {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-bar-v3 {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-bar-v3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--shiftia-green);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    from {
        top: -30%;
    }

    to {
        top: 100%;
    }
}

/* --- UI ELEMENTS --- */
.border-bracket {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-terminal-v3 {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid var(--shiftia-green);
    color: var(--shiftia-green);
    text-decoration: none;
    font-family: monospace;
    transition: 0.3s;
}

.btn-terminal-v3:hover {
    background: var(--shiftia-green);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.hover-bg-black:hover {
    background: #000;
    color: #fff;
    transform: translateY(-15px);
}

.hover-bg-black:hover .service-img {
    filter: grayscale(0) contrast(1.1) scale(1.1);
}

.media-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.media-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    opacity: 0;
    transition: 0.4s;
}

.media-thumb:hover .media-caption {
    opacity: 1;
}

.group-hover-zoom {
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-thumb:hover .group-hover-zoom {
    transform: scale(1.15);
    filter: grayscale(0) brightness(1);
}

@media (max-width: 991px) {
    .section-padding {
        padding: 100px 0;
    }

    .display-super {
        font-size: 11.6vw;
    }

    .leading-relaxed {
        font-size: 2.6vw;
    }
}

@media (max-width: 768px) {
    .leading-relaxed {
        font-size: 3.2vw;
    }

    .display-super {
        font-size: 15vw;
    }
}


/* --- ヘッダーベース --- */
.header-architect {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid #000;
    z-index: 2000;
}

/* --- ハンバーガーボタン --- */
.menu-trigger {
    background: none;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    position: relative;
    cursor: pointer;
}

.trigger-box {
    width: 30px;
    height: 12px;
    position: relative;
}

.line {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
}

.line-top {
    top: 0;
}

.line-bottom {
    bottom: 0;
    width: 60%;
    right: 0;
}

.trigger-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.15em;
}

/* 展開時のボタンアニメーション */
.is-active .line-top {
    transform: translateY(5px) rotate(45deg);
    background: #fff;
}

.is-active .line-bottom {
    transform: translateY(-5px) rotate(-45deg);
    width: 100%;
    background: #fff;
}

.is-active .trigger-text {
    color: #fff;
}

/* --- サイドパネル本体 --- */
.side-panel-navigation {
    position: fixed;
    top: 0;
    right: -110%;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: #080808;
    z-index: 2500;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}

.side-panel-navigation.is-active {
    right: 0;
}

.panel-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 120px 50px 60px;
    position: relative;
    z-index: 2;
}

/* wp_nav_menu：プロ目線のデザインリセット */
.shiftia-menu-v4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shiftia-menu-v4 li {
    margin-bottom: 25px;
    overflow: hidden;
}

.shiftia-menu-v4 li a {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    text-transform: uppercase;
}


/* パネル内のCTA */
.panel-cta {
    display: block;
    padding: 20px;
    border: 1px solid var(--shiftia-green);
    color: var(--shiftia-green);
    text-align: center;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    transition: 0.4s;
}

.panel-cta:hover {
    background: var(--shiftia-green);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

/* 背景オーバーレイ */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 2001;
}

.panel-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* モバイル最適化 */
@media (max-width: 991px) {
    .side-panel-navigation {
        width: 100%;
    }

    .panel-inner {
        padding: 100px 30px 40px;
    }

    .shiftia-menu-v4 li a {
        font-size: 1.6rem;
    }
}

@media (max-width: 991px) {
    .px-lg-8 {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

.single-formal {
    background-color: #fff;
    color: #333;
}

.policy-formal {
    background-color: #fff;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
}

.policy-header {
    margin-bottom: 2rem;
}

.policy-text p,
.policy-text ol,
.policy-text ul {
    margin-bottom: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
}

.policy-section h2 {
    margin-top: 3rem;
    color: #000;
}

@media (max-width: 768px) {
    .policy-header {
        padding: 2rem 0;
    }
}

.py-lg-8 {
    padding-top: 180px;
    padding-bottom: 150px;
}

.mt-7 {
    margin-top: 100px;
}

/* リクルートカードのホバー演出 */
.recruit-card {
    cursor: crosshair;
}

.recruit-card:hover {
    background: #111;
    border-color: #00ff41 !important;
    transform: translateY(-5px);
}

/* チェックリストのスタイル */
.recruit-check-list li {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* 最終応募ボタン */
.btn-recruit-final {
    display: inline-block;
    background: #000;
    color: #00ff41;
    font-family: 'Space Mono', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 30px 80px;
    text-decoration: none;
    border: 2px solid #00ff41;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.btn-recruit-final:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.6);
}

@media (max-width: 991px) {
    .btn-recruit-final {
        padding: 20px 40px;
        font-size: 1.2rem;
    }
}



.py-lg-8 {
    padding-top: 200px;
    padding-bottom: 120px;
}

.module-section {
    padding: 150px 0;
}

/* サービスビジュアルの装飾 */
.module-visual {
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.module-section:hover .module-visual {
    transform: scale(1.02);
}

.visual-overlay {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
    font-family: 'Space Mono', monospace;
}

/* 箇条書きを矢印に */
.module-section ul li::before {
    content: "";
    display: inline-block;
    width: 10px;
}

@media (max-width: 991px) {
    .module-section {
        padding: 80px 0;
    }

    .visual-overlay {
        font-size: 6rem;
        bottom: -10px;
    }
}


/* ターミナル風ホバー演出 */
.shiftia-menu-v4 li a::before {
    content: '>>';
    color: var(--shiftia-green);
    margin-right: 15px;
    opacity: 0;
    transform: translateX(-20px);
    display: inline-block;
    transition: 0.4s;
}

.shiftia-menu-v4 li a:hover {
    color: var(--shiftia-green) !important;
    transform: translateX(15px);
}

.shiftia-menu-v4 li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}


/* Media Card System - Refined */
.media-thumb {
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* 16:9 で固定してグリッドを揃える */
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像を枠いっぱいに埋める */
    filter: grayscale(100%) brightness(50%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}


/* カード全体リンクの挙動定義 */
.service-card-wrapper {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-wrapper:hover {
    transform: translateY(-8px);
    /* リンクである確信を持たせる浮遊感 */
}

/* ホバー時にテキスト色を一括制御 */
.service-card-wrapper:hover .service-card-v3 {
    background-color: #000 !important;
}

.service-card-wrapper:hover .card-title,
.service-card-wrapper:hover .card-description,
.service-card-wrapper:hover .font-monospace,
.service-card-wrapper:hover .arrow-icon {
    color: #fff !important;
    /* 背景黒に対して文字を白へ */
}

.service-card-wrapper:hover .arrow-icon {
    color: var(--shiftia-green, #00ff00) !important;
    /* 矢印だけグリーンに光らせる */
    transform: translateX(10px);
}

.service-card-wrapper:hover .service-img {
    filter: grayscale(0%) brightness(100%);
    /* 画像の封印を解く */
    transform: scale(1.05);
}


/* Global Service Portal Button */
.btn-shiftia-global {
    display: inline-block;
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 1.5rem 4rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: solid 1px #333;
}

.btn-shiftia-global .btn-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-shiftia-global .btn-line {
    display: block;
    width: 60px;
    height: 1px;
    background-color: #000;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s;
}

.btn-shiftia-global:hover {
    color: var(--shiftia-green, #00ff00);
    background-color: #000;
}

.btn-shiftia-global:hover .btn-line {
    width: 100px;
    background-color: var(--shiftia-green, #00ff00);
}

.btn-shiftia-global:hover .arrow-icon {
    transform: translateX(10px);
}

/* モバイル対応：幅が狭い時にボタンを調整 */
@media (max-width: 768px) {
    .btn-shiftia-global {
        padding: 1.2rem 2rem;
        width: 100%;
        border: 1px solid #eee;
        /* スマホでは輪郭を少し見せる */
    }

    .btn-shiftia-global .btn-inner {
        justify-content: center;
    }
}


/* Media All Records Portal */
.btn-shiftia-media-all {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 1.5rem 4rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: solid 1px #00ff00;
    color: #00ff00;
}

.btn-shiftia-media-all .btn-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-shiftia-media-all .btn-line {
    display: block;
    width: 60px;
    height: 1px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s;
}

.btn-shiftia-media-all:hover .btn-line {
    width: 100px;
    background-color: var(--shiftia-green, #00ff00) !important;
}

.btn-shiftia-media-all:hover .font-monospace {
    color: var(--shiftia-green, #00ff00) !important;
}

.btn-shiftia-media-all .arrow-icon {
    transition: transform 0.5s ease;
}

.btn-shiftia-media-all:hover .arrow-icon {
    transform: translateX(10px);
}

.bg-green {
    background-color: #00ff00;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .btn-shiftia-media-all {
        padding: 1.2rem 1rem;
        width: 100%;
    }

    .btn-shiftia-media-all .btn-inner {
        justify-content: center;
        gap: 1rem;
    }

    .btn-shiftia-media-all .btn-line {
        width: 30px;
    }
}

/* Breadcrumb System Style */
.breadcrumb {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">"; /* 階層の深化を示すシステムシンボル */
    color: rgba(0, 0, 0, 0.2);
    padding-right: 0.5rem;
}

.breadcrumb-item.active {
    font-weight: 700;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 長いタイトルを省略してUIを保護 */
}

.hover-green:hover {
    color: var(--shiftia-green, #00ff00) !important;
}