/* ============================================
   fc-enterprise.css — 複数店舗企業向けページ
   ============================================ */

:root {
    --ent-text-dark: rgba(220, 238, 255, 0.95); /* 暗いセクションのリード・本文（統一） */
}

/* ── FCバッジ ── */
.ent-fc-badge {
    display: inline-block;
    padding: 0.22em 0.6em;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    background: linear-gradient(165deg, #5a9aff 0%, #2a66ee 45%, #1a4bc4 100%);
    border-radius: 3px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 2px 4px rgba(0,0,0,0.25),
        0 4px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.12);
    margin-left: 0.35rem;
    vertical-align: middle;
    line-height: 1.4;
}
.ent-fc-badge--lg {
    font-size: 1.35rem;
    padding: 0.2em 0.55em;
    margin-left: 0.4rem;
    letter-spacing: 0.14em;
    box-shadow:
        0 2px 0 rgba(255,255,255,0.28) inset,
        0 3px 6px rgba(0,0,0,0.3),
        0 6px 12px rgba(0,0,0,0.18);
}

/* ── HERO ── */
.ent-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.ent-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ent-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ent-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0;
    padding: clamp(4rem, 8vw, 7rem) 0 5rem clamp(1.5rem, 5vw, 4rem);
    width: 100%;
}
.ent-hero-text-wrap {
    display: inline-block;
    background: rgba(4, 12, 32, 0.78);
    padding: 1.75rem 2rem 2rem;
    max-width: 560px;
}

.ent-hero-card-imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 1.25rem;
    position: relative;
}

.ent-hero-card-img {
    height: auto;
    display: block;
}

.ent-hero-card-img--1 {
    width: 300px;
    z-index: 1;
}

.ent-hero-card-img--2 {
    width: 100px;
    margin-left: -28px;
    z-index: 2;
}
.ent-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.ent-eyebrow-text {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(170,205,255,0.8);
}
.ent-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 1.2rem;
}
.ent-hero-catch {
    font-size: clamp(1.1rem, 2.1vw, 1.4rem);
    color: rgba(215,232,255,0.85);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 560px;
}
.ent-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── ボタン ── */
.btn-ent-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #4488ff 0%, #1a55dd 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 0;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-ent-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ent-ghost {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 0;
    transition: border-color 0.2s, background 0.2s;
}
.btn-ent-ghost:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.05); }

.btn-ent-outline {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(68,136,255,0.45);
    color: #66aaff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s, border-color 0.2s;
}
.btn-ent-outline:hover { background: rgba(68,136,255,0.1); border-color: #4488ff; }

/* Mobile Order: ロゴボタン（白背景） */
.btn-ent-mo-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}
.btn-ent-mo-logo:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.btn-ent-mo-logo-img {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 180px;
}

/* ── セクション共通 ── */
.ent-section {
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.ent-section--light { background: #f8fafc; }
.ent-section--dark  { background: #0f172a; color: #f8fafc; }
.ent-section--bi    { background: #080d1c; color: #f8fafc; }

.ent-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.ent-section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.ent-section-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(68,136,255,0.45);
}
.ent-section-num--dark { color: rgba(100,160,255,0.45); }

.ent-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #4488ff;
}
.ent-eyebrow--dark { color: #66aaff; }

.ent-h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
}
.ent-h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    bottom: 0.1em;
    width: 6px;
    background: linear-gradient(180deg, #66aaff 0%, #1155cc 100%);
}
.ent-h2--dark { color: #eef4ff; }
.ent-h2--dark::before { background: linear-gradient(180deg, #88bbff 0%, #4488ff 100%); }

.ent-note {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(180,210,255,0.45);
}

.ent-lead {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    max-width: 640px;
    margin-bottom: 2rem;
}
.ent-lead--dark { color: var(--ent-text-dark); }

/* タグ */
.ent-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}
.ent-tag {
    display: inline-block;
    padding: 0.3em 0.8em;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #4488ff;
    border: 1px solid rgba(68,136,255,0.35);
    background: rgba(68,136,255,0.05);
}
.ent-tag--dark {
    color: #88bbff;
    border-color: rgba(100,160,255,0.3);
    background: rgba(68,136,255,0.08);
}

/* ══════════════════════════════════════
   01 スキャンオーダー
══════════════════════════════════════ */
.ent-flow-arrow {
    width: 2px;
    height: 1.5rem;
    background: linear-gradient(180deg, rgba(68,136,255,0.3) 0%, rgba(68,136,255,0.6) 100%);
    margin-left: 1.25rem;
    position: relative;
}
.ent-flow-arrow::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(68,136,255,0.6);
}

/* ══════════════════════════════════════
   02 モバイルオーダー
   左: テキスト、右: 動画大
══════════════════════════════════════ */
.ent-mo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.ent-feat-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}
.ent-feat-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ent-feat-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4488ff;
    margin-top: 0.5rem;
}
.ent-feat-row strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #d0e4ff;
    margin-bottom: 0.3rem;
}
.ent-feat-row p {
    font-size: 0.92rem;
    color: rgba(170,200,255,0.62);
    line-height: 1.65;
    margin: 0;
}
.ent-mo-video-col {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.ent-mo-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ══════════════════════════════════════
   ミニセクション（共通）
══════════════════════════════════════ */
.ent-mini-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(15,23,42,0.08);
}
.ent-mini-section--dark { border-top-color: rgba(68,136,255,0.12); }
.ent-mini-section--no-top-line { border-top: none; margin-top: 0; padding-top: 0; }

/* Scan Order System: 2カードはテキスト上・画像下の縦並び */
#scan-order .ent-mini-section {
    grid-template-columns: 1fr;
    gap: 2rem;
}
#scan-order .ent-mini-section .ent-mini-img-col {
    order: 1;
    width: 70%;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}
#scan-order .ent-mini-section .ent-mini-body {
    order: 0;
}

/* Takeout & External: ミニセクション全体を白に、画像の装飾なし */
#scan-order .ent-mini-section--no-top-line {
    background: #fff;
    margin-left: calc(-1 * clamp(1.5rem, 5vw, 4rem));
    margin-right: calc(-1 * clamp(1.5rem, 5vw, 4rem));
    padding: 3rem clamp(1.5rem, 5vw, 4rem) 3.5rem;
}
#scan-order .ent-mini-section--no-top-line .ent-mini-img {
    box-shadow: none;
}
#scan-order .ent-mini-section--no-top-line .ent-mini-img-col {
    background: none;
}

.ent-mini-section--reverse { direction: rtl; }
.ent-mini-section--reverse > * { direction: ltr; }
.ent-mini-section--shaded {
    background: rgba(68,136,255,0.03);
    margin-left: calc(-1 * clamp(1.5rem, 5vw, 4rem));
    margin-right: calc(-1 * clamp(1.5rem, 5vw, 4rem));
    padding-left: clamp(1.5rem, 5vw, 4rem);
    padding-right: clamp(1.5rem, 5vw, 4rem);
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(68,136,255,0.08);
}
.ent-mini-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #4488ff;
    margin-bottom: 0.5rem;
}
.ent-mini-label--dark { color: #66aaff; }
.ent-mini-h3 {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 0.9rem;
}
.ent-mini-h3--dark { color: #eef4ff; }
.ent-mini-body p {
    font-size: 0.98rem;
    line-height: 1.85;
    color: #475569;
    margin: 0;
}

/* 暗いミニセクション：見出し次の本文はセクションリードと同じ明るさ */
.ent-mini-section--dark .ent-mini-body p {
    color: var(--ent-text-dark);
}

.ent-mini-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 6px 24px rgba(15,23,42,0.1);
}
.ent-mini-video-col {
    background: #000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.ent-mini-video {
    width: 100%;
    height: auto;
    display: block;
}

/* スキャンオーダー フローミニ */
.ent-scan-flow-mini {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.25rem;
    margin-top: 1.25rem;
}
.ent-scan-flow-item {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    background: rgba(68,136,255,0.08);
    border: 1px solid rgba(68,136,255,0.18);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
}
.ent-scan-flow-arrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4488ff;
}

/* Tip バッジ */
.ent-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(68, 136, 255, 0.07);
    border-left: 3px solid #4488ff;
    border-radius: 0 6px 6px 0;
}
.ent-tip-badge {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #1a6eff;
    background: rgba(26, 110, 255, 0.12);
    padding: 0.2em 0.55em;
    border-radius: 4px;
    margin-top: 0.1em;
}
.ent-tip p {
    margin: 0;
    font-size: 0.875rem;
    color: #2266dd;
    line-height: 1.6;
}
.ent-tip strong {
    color: #1155cc;
}

/* 予約リスト */
.ent-res-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.ent-res-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.ent-res-marker {
    flex-shrink: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #4488ff;
    line-height: 1.5;
}
.ent-res-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #d8eaff;
    margin-bottom: 0.25rem;
}
.ent-res-list p {
    font-size: 0.9rem;
    color: rgba(155,185,235,0.65);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════
   03 キオスク（旧CSS — 削除予定）
══════════════════════════════════════ */
.ent-kiosk-header {
    max-width: 680px;
    margin-bottom: 2.5rem;
}
.ent-kiosk-media {
    position: relative;
    margin-bottom: 3rem;
}
.ent-kiosk-main-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 32px rgba(15,23,42,0.1);
}
.ent-kiosk-video-float {
    position: absolute;
    right: 2rem;
    bottom: -2rem;
    width: 32%;
    box-shadow: 0 16px 48px rgba(15,23,42,0.28);
    background: #000;
    border: 2px solid rgba(255,255,255,0.12);
}
.ent-kiosk-video {
    width: 100%;
    height: auto;
    display: block;
}
.ent-kiosk-video-caption {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.7);
    padding: 0.3em 0;
}

/* 3列ポイント */
.ent-kiosk-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    border-top: 1px solid #e2e8f0;
}
.ent-kiosk-point {
    padding: 2rem 2rem 2rem 0;
    border-right: 1px solid #e2e8f0;
}
.ent-kiosk-point:last-child { border-right: none; padding-right: 0; }
.ent-kiosk-point:not(:first-child) { padding-left: 2rem; }
.ent-kiosk-point-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(68,136,255,0.5);
    margin-bottom: 0.6rem;
}
.ent-kiosk-point strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.ent-kiosk-point p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════
   04 予約
   左: リスト、右: 画像2枚オフセット重ね
══════════════════════════════════════ */
.ent-res-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.ent-res-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.ent-res-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ent-res-marker {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #4488ff;
    margin-top: 0.05rem;
    line-height: 1.5;
}
.ent-res-list strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #d8eaff;
    margin-bottom: 0.3rem;
}
.ent-res-list p {
    font-size: 0.9rem;
    color: rgba(160,190,240,0.65);
    line-height: 1.65;
    margin: 0;
}

/* 予約画像: 2枚をオフセットして重ねる */
.ent-res-img-stack {
    position: relative;
    height: 480px;
}
.ent-res-img {
    position: absolute;
    width: 75%;
    height: auto;
    display: block;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.ent-res-img--back {
    top: 0;
    left: 0;
}
.ent-res-img--front {
    bottom: 0;
    right: 0;
    border: 2px solid rgba(68,136,255,0.2);
}

/* ══════════════════════════════════════
   05 BI
══════════════════════════════════════ */
.ent-bi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.ent-bi-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 2.5rem;
    flex-shrink: 0;
}

/* BI分析ツール — メインショーケース（.fc-showcase と併用時は grid で図＋カラム） */
.ent-bi-showcase {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 3.5rem;
}

.ent-bi-showcase.fc-showcase {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.ent-bi-dashboard {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 0;
}

/* BI：1タイトル + テキスト・図1・図2横並び */
.ent-bi-unified {
    margin-top: 3rem;
}

.ent-bi-unified-title {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 800;
    color: #eef4ff;
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.ent-bi-text-col {
    margin-bottom: 1.5rem;
}

.ent-bi-text-col .ent-bi-card-text {
    margin: 0;
}

.ent-bi-fig-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.ent-bi-fig-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ent-bi-fig-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(68,136,255,0.04);
    border: 1px solid rgba(68,136,255,0.12);
}

.ent-bi-fig-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.ent-bi-fig-caption {
    font-size: 0.9rem;
    color: rgba(185,210,255,0.6);
    line-height: 1.4;
    margin: 0;
}

/* BI既存カラム（API連携など） */
.ent-bi-features {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 1.8rem;
}

.ent-bi-card {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr;
    gap: 2rem;
    align-items: center;
    padding: 1.8rem 2rem;
    background: rgba(68,136,255,0.04);
    border: 1px solid rgba(68,136,255,0.12);
    border-radius: 10px;
}

.ent-bi-card:last-child {
    grid-template-columns: 1fr;
}

.ent-bi-card-body {
    flex: 1;
}

.ent-bi-card-title {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 800;
    color: #eef4ff;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.ent-bi-card-text {
    font-size: 0.98rem;
    color: rgba(185,210,255,0.68);
    line-height: 1.75;
    margin: 0;
}

.ent-bi-card-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.ent-bi-card-img-elem {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ── レスポンシブ ── */
@media (max-width: 860px) {
    .ent-bi-showcase.fc-showcase {
        grid-template-columns: 1fr;
    }
    .ent-bi-fig-row {
        grid-template-columns: 1fr;
    }
    .ent-mo-grid,
    .ent-mini-section,
    .ent-bi-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ent-mini-section--reverse { direction: ltr; }
    .ent-bi-card {
        grid-template-columns: 1fr;
    }
    .ent-bi-header {
        flex-direction: column;
    }
    .ent-bi-tags {
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .ent-hero-inner { padding: clamp(2.5rem, 6vw, 4rem) 1rem 3rem; }
    .ent-hero-text-wrap { max-width: 100%; padding: 1.25rem 1.5rem 1.5rem; }
    .ent-hero-card-img--1 { width: 220px; }
    .ent-hero-card-img--2 { width: 72px; margin-left: -20px; }
    .ent-hero-title { font-size: 1.85rem; }
    .ent-hero-actions { flex-direction: column; }
    .btn-ent-primary, .btn-ent-ghost { text-align: center; }
    .ent-res-img-stack { height: 240px; }
}
