@charset "UTF-8";

/* ============================================
   DESIGN TOKENS - 食品OEMコンサルティング (Professional B2B)
   ============================================ */
:root {
    /* Color System - Deep Navy + Warm Food Accent */
    --oem-primary: #0D3B66;
    --oem-primary-dark: #08294A;
    --oem-primary-rgb: 13, 59, 102;
    --oem-accent: #E07A5F;
    --oem-accent-warm: #F4A261;
    --oem-accent-light: #FDF0EB;
    --oem-bg-light: #F8FAFC;
    --oem-bg-alt: #F1F5F9;
    --oem-text-main: #1E293B;
    --oem-text-muted: #64748B;
    --oem-card-bg: #FFFFFF;
    --oem-border: #E2E8F0;
    --oem-border-light: #CBD5E1;

    /* Shadows */
    --oem-shadow-sm: 0 2px 8px rgba(13, 59, 102, 0.04);
    --oem-shadow-md: 0 8px 16px -2px rgba(13, 59, 102, 0.06);
    --oem-shadow-lg: 0 20px 40px -10px rgba(13, 59, 102, 0.08), 0 8px 16px -8px rgba(13, 59, 102, 0.04);
    --oem-shadow-hover: 0 30px 50px -12px rgba(13, 59, 102, 0.15), 0 16px 24px -10px rgba(13, 59, 102, 0.06);

    /* Transitions */
    --oem-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --oem-transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   BASE & COMMON
   ============================================ */
.oem-page-content {
    font-family: 'Noto Sans JP', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--oem-text-main);
    background-color: #FFFFFF;
    line-height: 1.75;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
}

.oem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.oem-section {
    padding: 96px 0;
}

.oem-section-alt-bg {
    background-color: var(--oem-bg-light);
}

/* Titles */
.oem-section-title-wrap {
    text-align: center;
    margin-bottom: 56px;
}

.oem-section-title {
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    font-weight: 800;
    color: var(--oem-primary);
    line-height: 1.3;
    margin: 0 0 12px 0;
    letter-spacing: 0.02em;
}

.oem-section-subtitle {
    font-size: 0.875rem;
    color: var(--oem-text-muted);
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.oem-section-title-line {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--oem-primary) 0%, var(--oem-accent) 100%);
    margin: 14px auto 0;
    border-radius: 99px;
}

/* Grid helpers */
.oem-grid {
    display: grid;
    gap: 28px;
}

.oem-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.oem-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .oem-grid-2col,
    .oem-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.oem-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.oem-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.oem-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 102, 0.82) 0%,
        rgba(13, 59, 102, 0.68) 45%,
        rgba(13, 59, 102, 0.55) 100%
    );
    z-index: 2;
}

.oem-hero-inner {
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

.oem-hero-card {
    max-width: 680px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 52px 48px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.25), 0 10px 20px -5px rgba(13,59,102,0.1);
    border: 1px solid rgba(255,255,255,0.6);
}

.oem-hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--oem-primary);
    background: var(--oem-accent-light);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.oem-hero-title {
    font-size: clamp(2.1rem, 5.5vw, 2.85rem);
    font-weight: 900;
    color: var(--oem-primary);
    line-height: 1.2;
    margin: 0 0 18px;
}

.oem-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.7;
}

.oem-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.oem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--oem-transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.oem-btn-primary {
    background: linear-gradient(135deg, var(--oem-primary) 0%, var(--oem-primary-dark) 100%);
    color: #FFFFFF !important;
    box-shadow: 0 10px 20px -5px rgba(var(--oem-primary-rgb), 0.35);
}

.oem-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(var(--oem-primary-rgb), 0.45);
    color: #FFFFFF !important;
}

.oem-btn-outline {
    background: transparent;
    border: 2px solid var(--oem-primary);
    color: var(--oem-primary) !important;
}

.oem-btn-outline:hover {
    background: var(--oem-primary);
    color: #FFFFFF !important;
    border-color: var(--oem-primary);
}

/* ============================================
   PAIN POINTS (お悩み)
   ============================================ */
.oem-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.oem-pain-card {
    background: var(--oem-card-bg);
    border: 1px solid var(--oem-border);
    border-radius: 16px;
    padding: 26px 24px;
    transition: var(--oem-transition);
}

.oem-pain-card:hover {
    border-color: var(--oem-accent);
    box-shadow: var(--oem-shadow-md);
    transform: translateY(-2px);
}

.oem-pain-icon {
    width: 42px;
    height: 42px;
    background: var(--oem-accent-light);
    color: var(--oem-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.oem-pain-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oem-primary);
    margin: 0 0 10px;
}

.oem-pain-card p {
    font-size: 0.94rem;
    color: var(--oem-text-muted);
    margin: 0;
    line-height: 1.65;
}

/* ============================================
   STRENGTHS / FEATURES
   ============================================ */
.oem-strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.oem-strength-card {
    background: var(--oem-card-bg);
    border: 1px solid var(--oem-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: var(--oem-transition);
}

.oem-strength-card:hover {
    box-shadow: var(--oem-shadow-md);
    border-color: var(--oem-primary);
}

.oem-strength-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--oem-primary);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 8px;
    margin-bottom: 14px;
}

.oem-strength-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oem-primary);
    margin: 0 0 10px;
    line-height: 1.4;
}

.oem-strength-card p {
    font-size: 0.93rem;
    color: #475569;
    margin: 0;
    line-height: 1.65;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.oem-pricing-phase {
    margin-bottom: 48px;
}

.oem-pricing-phase:last-child {
    margin-bottom: 0;
}

.oem-pricing-phase h3 {
    font-size: 1.25rem;
    color: var(--oem-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oem-pricing-phase h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 22px;
    background: var(--oem-accent);
    border-radius: 3px;
}

.oem-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.oem-price-card {
    background: var(--oem-card-bg);
    border: 1px solid var(--oem-border);
    border-radius: 16px;
    padding: 26px 22px;
    transition: var(--oem-transition);
    position: relative;
}

.oem-price-card:hover {
    border-color: var(--oem-primary);
    box-shadow: var(--oem-shadow-md);
}

.oem-price-card.free {
    border-color: #D1FAE5;
    background: #F0FDF4;
}

.oem-price-card .price-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--oem-text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.oem-price-card .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--oem-primary);
    line-height: 1.2;
    margin-bottom: 3px;
}

.oem-price-card .price-note {
    font-size: 0.8rem;
    color: var(--oem-text-muted);
}

.oem-price-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--oem-primary);
    line-height: 1.35;
}

.oem-price-card p,
.oem-price-card ul {
    font-size: 0.9rem;
    color: #475569;
    margin: 10px 0 0;
}

.oem-price-card ul {
    padding-left: 18px;
    margin-top: 10px;
}

.oem-price-card li {
    margin-bottom: 5px;
}

.oem-price-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--oem-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

/* ============================================
   FLOW / 流れ
   ============================================ */
.oem-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    position: relative;
}

@media (min-width: 768px) {
    .oem-flow::before {
        content: '';
        position: absolute;
        top: 38px;
        left: 80px;
        right: 80px;
        height: 2px;
        background: linear-gradient(to right, var(--oem-border) 0%, var(--oem-border) 100%);
        z-index: 0;
    }
}

.oem-flow-step {
    position: relative;
    z-index: 1;
    background: var(--oem-card-bg);
    border: 1px solid var(--oem-border);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: var(--oem-transition);
}

.oem-flow-step:hover {
    border-color: var(--oem-accent);
    transform: translateY(-3px);
    box-shadow: var(--oem-shadow-sm);
}

.oem-flow-step-num {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: var(--oem-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.oem-flow-step h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--oem-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.oem-flow-step p {
    font-size: 0.82rem;
    color: var(--oem-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   FINAL CTA
   ============================================ */
.oem-cta-banner {
    background: linear-gradient(135deg, var(--oem-primary) 0%, #0A2C4A 100%);
    color: white;
    border-radius: 20px;
    padding: 52px 48px;
    text-align: center;
    box-shadow: 0 20px 45px -10px rgba(13, 59, 102, 0.35);
}

.oem-cta-banner h2 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
}

.oem-cta-banner p {
    max-width: 620px;
    margin: 0 auto 28px;
    opacity: 0.95;
    font-size: 1.02rem;
    line-height: 1.7;
}

.oem-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.oem-btn-white {
    background: #FFFFFF;
    color: var(--oem-primary) !important;
    font-weight: 700;
    border: none;
}

.oem-btn-white:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
}

/* ============================================
   FAQ (optional bonus)
   ============================================ */
.oem-faq-item {
    border-bottom: 1px solid var(--oem-border);
}

.oem-faq-item:last-child {
    border-bottom: none;
}

.oem-faq-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--oem-primary);
}

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

.oem-faq-item[open] .oem-faq-icon {
    transform: rotate(180deg);
}

.oem-faq-content {
    padding-bottom: 20px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .oem-section {
        padding: 64px 0;
    }
    
    .oem-hero {
        min-height: 520px;
    }
    
    .oem-hero-card {
        padding: 36px 28px;
    }
    
    .oem-hero-actions {
        flex-direction: column;
    }
    
    .oem-btn {
        width: 100%;
        justify-content: center;
    }
    
    .oem-price-card .price {
        font-size: 1.15rem;
    }
}

/* Subtle utilities */
.oem-text-center {
    text-align: center;
}

.oem-mb-0 {
    margin-bottom: 0;
}