/* ========================================
   OEM Service Page — /360app/oem/
   公募リスキリング 事業立上げパッケージ

   読み込み順: common.css → about-tokens.css → oem-page.css
======================================== */

/* Floating particles keyframes */
@keyframes oem-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50%      { transform: translateY(-30px) rotate(180deg); opacity: 0.35; }
}
@keyframes oem-pulse-ring {
    0%   { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes oem-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}


/* ============================================
   OEM Hero — Diamond Gradient
============================================ */
.oem-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0F3D5C 0%, #1B6B93 35%, #145374 65%, #0a2a3d 100%);
    color: #fff;
}

.oem-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232,131,58,0.14), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: oem-float 8s ease-in-out infinite;
}

.oem-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27,107,147,0.22), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: oem-float 10s ease-in-out 2s infinite;
}

.oem-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 48px 96px;
}

.oem-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,131,58,0.15);
    border: 1px solid rgba(232,131,58,0.35);
    color: #F5A623;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.oem-hero__title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.oem-hero__em {
    background: linear-gradient(135deg, var(--about-accent), var(--about-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oem-hero__catch {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(232,131,58,0.12), rgba(27,107,147,0.12));
    border-left: 3px solid rgba(245,166,35,0.6);
    border-radius: 0 12px 12px 0;
    max-width: 520px;
    letter-spacing: 0.03em;
}

.oem-hero__sub {
    font-size: var(--fs-body);
    line-height: 1.9;
    opacity: 0.88;
    max-width: 640px;
    margin-bottom: 36px;
}

.oem-hero__cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .oem-hero__inner { padding: 120px 24px 64px; }
    .oem-hero__title { font-size: clamp(2.4rem, 7vw, 3.2rem); }
    .oem-hero__catch { font-size: 1.3rem; padding: 12px 16px; }
    .oem-hero__cta-group { flex-direction: column; }
}


/* ============================================
   Crisis Cards — 背景（3つの危機）
============================================ */
.crisis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.crisis-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--about-border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.crisis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--about-accent), var(--about-accent-light), var(--about-primary));
    background-size: 200% 100%;
    animation: oem-shimmer 3s ease infinite;
}

.crisis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: rgba(27,107,147,0.2);
}

.crisis-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(27,107,147,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--about-primary);
}

.crisis-card__icon svg {
    width: 28px;
    height: 28px;
}

.crisis-card__label {
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--about-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.crisis-card__title {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--about-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.crisis-card__text {
    font-size: var(--fs-body);
    color: var(--about-text-sub);
    line-height: 1.8;
}

.crisis-card__stat {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(232,131,58,0.08);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--about-accent);
}

@media (max-width: 900px) {
    .crisis-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}


/* ============================================
   Solution Overview — ソリューション概要
============================================ */
.solution-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.solution-overview__visual {
    position: relative;
}

.solution-overview__diagram {
    background: linear-gradient(145deg, #f8fafc, #e8f0f8);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--about-border);
    text-align: center;
}

.diagram-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.diagram-node {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 320px;
    transition: transform 0.2s ease;
}

.diagram-node:hover {
    transform: translateX(8px);
}

.diagram-node__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
}

.diagram-node--univ { border-left: 4px solid var(--about-primary); }
.diagram-node--univ .diagram-node__icon { background: rgba(27,107,147,0.12); color: var(--about-primary); }
.diagram-node--jg { border-left: 4px solid var(--about-accent); }
.diagram-node--jg .diagram-node__icon { background: rgba(232,131,58,0.12); color: var(--about-accent); }
.diagram-node--user { border-left: 4px solid var(--jg-success); }
.diagram-node--user .diagram-node__icon { background: rgba(10,191,182,0.12); color: var(--jg-success); }

.diagram-node__text {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--about-text);
    line-height: 1.5;
}

.diagram-node__sub {
    font-size: var(--fs-small);
    color: var(--about-text-sub);
    margin-top: 2px;
}

.diagram-arrow {
    color: var(--about-text-sub);
    font-size: 2rem;
    line-height: 1;
    opacity: 0.4;
}

.solution-overview__content h3 {
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--about-text);
    line-height: 1.4;
    margin-bottom: 20px;
}

.solution-overview__content h3 em {
    font-style: normal;
    color: var(--about-primary);
}

.solution-overview__content p {
    font-size: var(--fs-body);
    color: var(--about-text-sub);
    line-height: 1.9;
    margin-bottom: 16px;
}

.solution-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.solution-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--fs-body);
    color: var(--about-text);
    line-height: 1.7;
}

.solution-highlight__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--about-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .solution-overview { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================
   Steps Flow — 仕組み（3ステップ）
============================================ */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    counter-reset: step-counter;
}

.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px;
    border: 1px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, rgba(27,107,147,0.15), rgba(232,131,58,0.15));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(27,107,147,0.14);
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--about-primary), var(--about-accent));
}

.step-card__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--about-primary), var(--about-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-number);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(27,107,147,0.25);
}

.step-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(27,107,147,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--about-primary);
}

.step-card__icon svg {
    width: 32px;
    height: 32px;
}

.step-card__title {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--about-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.step-card__text {
    font-size: var(--fs-body);
    color: var(--about-text-sub);
    line-height: 1.8;
}

/* Arrow between cards on PC */
.step-card + .step-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--about-primary);
    opacity: 0.3;
}

@media (max-width: 900px) {
    .steps-flow { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .step-card + .step-card::before { display: none; }
}


/* ============================================
   Quote — 代表コメント
============================================ */
.ceo-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 52px 48px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    border: 1px solid rgba(27,107,147,0.12);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.ceo-quote::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(232,131,58,0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ceo-quote::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(27,107,147,0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ceo-quote__mark {
    font-size: 8rem;
    line-height: 0.6;
    background: linear-gradient(135deg, var(--about-primary), var(--about-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    font-family: Georgia, serif;
    display: block;
    margin-bottom: 16px;
}

.ceo-quote__text {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--about-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.ceo-quote__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.ceo-quote__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--about-primary), var(--about-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(27,107,147,0.25);
}

.ceo-quote__info {
    text-align: left;
}

.ceo-quote__name {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--about-text);
}

.ceo-quote__role {
    font-size: var(--fs-small);
    color: var(--about-text-sub);
}


/* ============================================
   OEM CTA — Bottom call to action
============================================ */
.oem-cta {
    background: linear-gradient(135deg, #0F3D5C 0%, var(--about-primary) 50%, #145374 100%);
    color: #fff;
    text-align: center;
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}

.oem-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,131,58,0.15), transparent 70%);
    pointer-events: none;
    animation: oem-float 12s ease-in-out infinite;
}

.oem-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.oem-cta__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.35;
}

.oem-cta__sub {
    font-size: var(--fs-body);
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 40px;
}

.oem-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.oem-cta__buttons .about-btn--primary {
    position: relative;
}

.oem-cta__buttons .about-btn--primary::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    animation: oem-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.oem-cta__note {
    margin-top: 24px;
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.4);
}


/* ============================================
   Target Section — 対象者
============================================ */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.target-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--about-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(27,107,147,0.1);
    border-color: rgba(27,107,147,0.2);
}

.target-card__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.target-card__title {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--about-text);
    margin-bottom: 8px;
}

.target-card__text {
    font-size: var(--fs-body);
    color: var(--about-text-sub);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .target-grid { grid-template-columns: 1fr; }
}


/* ============================================
   Utility — Container / Section overrides
============================================ */
.oem-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.oem-section {
    padding: var(--section-pad) 0;
}

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

.oem-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: var(--fs-small);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--about-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .oem-section { padding: var(--section-pad-sp) 20px; }
}
