@charset "UTF-8";

/* ==========================================================================
   共通スタイル (つなげモンシリーズ)
   ========================================================================== */

/* --------------------------------------------------------------------------
   LP 共通・ヒーロー
   -------------------------------------------------------------------------- */
.hero-pattern {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
}

.gradient-text {
    background: linear-gradient(135deg, #ea580c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-card {
    transition: all 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   リッチ図解 (bira.html等) 共通
   -------------------------------------------------------------------------- */
/* スライドの基本設定 */
.slide-container {
    aspect-ratio: 16 / 9;
    max-height: 720px;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

/* パイプライン（線）のデザイン */
.pipeline {
    position: absolute;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    z-index: 0;
    opacity: 0.3;
}

/* 要素の浮遊感 */
.floating-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   アニメーション
   -------------------------------------------------------------------------- */
/* アニメーション：データの流れ */
@keyframes flow-right {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(30px);
        opacity: 0;
    }
}

.animate-flow {
    animation: flow-right 2s infinite ease-in-out;
}

/* アニメーション：つなげモンの鼓動 */
@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.8));
    }
}

.tsunagemon-core {
    animation: heartbeat 3s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   モバイルユースケース (usecase_mobile.html) 共通
   -------------------------------------------------------------------------- */
.bg-grid-pattern {
    background-color: #f4f6f8;
    background-image: 
      linear-gradient(rgba(200,200,200,0.2) 1px, transparent 1px), 
      linear-gradient(90deg, rgba(200,200,200,0.2) 1px, transparent 1px),
      linear-gradient(45deg, rgba(200,200,200,0.1) 1px, transparent 1px),
      linear-gradient(-45deg, rgba(200,200,200,0.1) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 80px 80px, 80px 80px;
}

.text-navy { color: #002a5c; }
.bg-navy { background-color: #002a5c; }
.status-green { background-color: #009944; }
.status-blue { background-color: #0071c5; }
.status-yellow { background-color: #ffb81c; }

.phone-frame {
    width: 130px;
    height: 260px;
    border: 6px solid #1a1a1a;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    background-color: #1a1a1a;
}
.phone-notch {
    width: 50px;
    height: 12px;
    background: #1a1a1a;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 10;
}
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

/* --------------------------------------------------------------------------
   ユースケース2 (製造業向け) 用カスタムシェイプ
   -------------------------------------------------------------------------- */
/* Cloud shape */
.cloud-container {
    position: relative;
    width: 220px;
    height: 120px;
    background: #2563eb;
    border-radius: 50% 50% 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-container::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: #2563eb;
    border-radius: 50%;
    top: 10%;
    left: -20%;
}

.cloud-container::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #2563eb;
    border-radius: 50%;
    top: -10%;
    right: -20%;
}

/* Arrow shapes for flow */
.flow-arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #2563eb;
}

.process-arrow {
    width: 40px;
    height: 12px;
    background: #2563eb;
    position: relative;
    margin: 0 10px;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #2563eb;
}

/* Dashed arrow for jump */
.dashed-arrow-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash {
    width: 8px;
    height: 12px;
    background: #60a5fa;
}

.dash-head {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #2563eb;
}
