/* ================================================================
   vision-system.css — 画像処理・コンピュータビジョン サービス詳細ページ
   テーマカラー: グリーン系 (#2e7d32 / #43a047 / #e8f5e9)
================================================================ */

.vs-page *, .vs-page *::before, .vs-page *::after { box-sizing: border-box; }

/* ================================================================
   パンくず
================================================================ */
.vs-breadcrumb {
    background: #f8f9fb;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    font-size: 13px;
    color: #6b7280;
}
.vs-breadcrumb .breadcrumb-list {
    display: flex; align-items: center; gap: 6px;
    list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.vs-breadcrumb .breadcrumb-list li + li::before { content: '/'; color: #d1d5db; margin-right: 6px; }
.vs-breadcrumb a { color: #2e7d32; text-decoration: none; }
.vs-breadcrumb a:hover { text-decoration: underline; }

/* ================================================================
   ヒーロー
================================================================ */
.vs-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.vs-hero__bg { position: absolute; inset: 0; z-index: 0; }
.vs-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vs-hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(5,20,10,.90) 0%,
        rgba(10,40,20,.82) 55%,
        rgba(46,125,50,.55) 100%);
}
.vs-hero__content { position: relative; z-index: 1; width: 100%; padding: 80px 0 64px; }
.vs-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(67,160,71,.18);
    border: 1px solid rgba(67,160,71,.5);
    color: #a5d6a7;
    font-size: 13px; font-weight: 600; letter-spacing: .08em;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
}
.vs-hero__title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800; color: #fff; line-height: 1.2; margin: 0 0 16px;
}
.vs-hero__title .sub {
    display: block;
    font-size: clamp(.95rem, 2vw, 1.25rem);
    font-weight: 500; color: #a5d6a7; margin-top: 8px;
}
.vs-hero__lead {
    font-size: 1.05rem; color: rgba(255,255,255,.85);
    line-height: 1.8; max-width: 680px; margin: 0 0 32px;
}
.vs-hero__stats { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 36px; }
.vs-hero__stat { text-align: center; }
.vs-hero__stat-num { font-size: 2.4rem; font-weight: 800; color: #69f0ae; line-height: 1; }
.vs-hero__stat-unit { font-size: 1rem; font-weight: 700; color: #a5d6a7; }
.vs-hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 4px; display: block; }
.vs-hero__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff; font-size: 1rem; font-weight: 700;
    padding: 14px 34px; border-radius: 50px; text-decoration: none;
    box-shadow: 0 4px 20px rgba(46,125,50,.4);
    transition: transform .2s, box-shadow .2s;
}
.vs-hero__cta:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(46,125,50,.55); }

/* ================================================================
   共通セクションタイトル
================================================================ */
.vs-section-title { text-align: center; margin-bottom: 48px; }
.vs-section-title .en {
    display: block; font-size: .78rem; font-weight: 700;
    letter-spacing: .18em; color: #2e7d32; margin-bottom: 8px; text-transform: uppercase;
}
.vs-section-title .ja {
    display: block; font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800; color: #1a1a2e; line-height: 1.3;
}
.vs-section-lead {
    text-align: center; font-size: 1rem; color: #4b5563;
    line-height: 1.8; max-width: 720px; margin: -28px auto 48px;
}

/* ================================================================
   対応ソリューション — 特大カードグリッド
================================================================ */
.vs-solutions { padding: 88px 0; background: #fff; }
.vs-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ハイライトカード（骨格解析）は2カラム幅 */
.vs-sol-card { position: relative; }
.vs-sol-card--wide { grid-column: span 2; }

.vs-sol-card__inner {
    background: #fff;
    border: 1.5px solid #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.vs-sol-card__inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
    border-color: #a5d6a7;
}
.vs-sol-card__img {
    position: relative;
    height: 220px; overflow: hidden;
    flex-shrink: 0;
}
.vs-sol-card--wide .vs-sol-card__img { height: 260px; }
.vs-sol-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.vs-sol-card__inner:hover .vs-sol-card__img img { transform: scale(1.06); }
.vs-sol-card__img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
}
.vs-sol-card__badge {
    position: absolute; top: 14px; left: 14px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff; font-size: .72rem; font-weight: 700;
    padding: 4px 14px; border-radius: 50px;
}
.vs-sol-card__new {
    position: absolute; top: 14px; right: 14px;
    background: #ff6f00; color: #fff;
    font-size: .68rem; font-weight: 800;
    padding: 3px 10px; border-radius: 50px; letter-spacing: .05em;
}
.vs-sol-card__body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.vs-sol-card__icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #2e7d32; margin-bottom: 14px; flex-shrink: 0;
}
.vs-sol-card__title {
    font-size: 1.05rem; font-weight: 700; color: #1a1a2e;
    margin: 0 0 10px; line-height: 1.4;
}
.vs-sol-card__desc {
    font-size: .87rem; color: #4b5563;
    line-height: 1.75; margin: 0 0 14px; flex: 1;
}
/* 骨格解析カード用のハイライトボックス */
.vs-sol-card__highlight {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.vs-sol-card__highlight h4 {
    font-size: .85rem; font-weight: 700; color: #2e7d32; margin: 0 0 8px;
}
.vs-sol-card__highlight ul {
    margin: 0; padding: 0 0 0 16px;
    font-size: .82rem; color: #374151; line-height: 1.7;
}
.vs-sol-card__tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; padding: 0; margin: 0;
}
.vs-sol-card__tags li {
    background: #e8f5e9; color: #2e7d32;
    font-size: .73rem; font-weight: 600;
    padding: 3px 10px; border-radius: 50px;
}

/* ================================================================
   技術スタック
================================================================ */
.vs-techstack { padding: 80px 0; background: #f8f9fb; }
.vs-tech-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.vs-tech-cat {
    background: #fff; border-radius: 14px; padding: 24px 20px;
    border: 1px solid #e9ecef;
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.vs-tech-cat.is-visible { opacity: 1; transform: translateY(0); }
.vs-tech-cat__icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; margin-bottom: 14px;
}
.vs-tech-cat h4 { font-size: .95rem; font-weight: 700; color: #1a1a2e; margin: 0 0 12px; }
.vs-tech-items { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-tech-badge {
    display: inline-block; background: #f3f4f6; color: #374151;
    font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}

/* ================================================================
   強みセクション
================================================================ */
.vs-strengths { padding: 80px 0; background: #fff; }
.vs-strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vs-strength-card {
    background: #fff; border-radius: 16px; padding: 32px 28px;
    border: 1px solid #e9ecef;
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.vs-strength-card.is-visible { opacity: 1; transform: translateY(0); }
.vs-strength-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; margin-bottom: 18px;
}
.vs-strength-title { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin: 0 0 10px; }
.vs-strength-desc { font-size: .88rem; color: #4b5563; line-height: 1.75; margin: 0 0 14px; }
.vs-strength-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vs-strength-points li { font-size: .83rem; color: #374151; padding-left: 18px; position: relative; }
.vs-strength-points li::before { content: '✓'; position: absolute; left: 0; color: #2e7d32; font-weight: 700; }

/* ================================================================
   開発フロー
================================================================ */
.vs-process { padding: 80px 0; background: #f8f9fb; }
.vs-process-timeline {
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column;
    position: relative; padding-left: 32px;
}
.vs-process-timeline::before {
    content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(to bottom, #2e7d32, #a5d6a7);
}
.vs-process-step {
    position: relative; padding: 0 0 36px 28px;
    opacity: 0; transform: translateX(-12px);
    transition: opacity .5s ease, transform .5s ease;
}
.vs-process-step.is-visible { opacity: 1; transform: translateX(0); }
.vs-process-step:last-child { padding-bottom: 0; }
.vs-process-step__num {
    position: absolute; left: -32px; top: 0;
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff; font-size: .82rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(46,125,50,.35);
}
.vs-process-step__title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin: 6px 0 8px; }
.vs-process-step__desc { font-size: .88rem; color: #4b5563; line-height: 1.75; margin: 0; }

/* ================================================================
   導入実績カード
================================================================ */
.vs-cases { padding: 88px 0; background: #fff; }
.vs-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vs-case-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #e9ecef;
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease, box-shadow .2s;
}
.vs-case-card.is-visible { opacity: 1; transform: translateY(0); }
.vs-case-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.10); }
.vs-case-card__img { position: relative; height: 200px; overflow: hidden; }
.vs-case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vs-case-card:hover .vs-case-card__img img { transform: scale(1.06); }
.vs-case-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent); }
.vs-case-card__badge {
    position: absolute; top: 12px; left: 12px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff; font-size: .72rem; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
}
.vs-case-card__body { padding: 20px; }
.vs-case-card__title { font-size: .98rem; font-weight: 700; color: #1a1a2e; margin: 0 0 10px; line-height: 1.4; }
.vs-case-card__desc { font-size: .85rem; color: #4b5563; line-height: 1.7; margin: 0 0 12px; }
.vs-case-card__kpi {
    background: #e8f5e9; border-radius: 8px;
    padding: 9px 14px; margin-bottom: 12px;
    font-size: .82rem; color: #2e7d32; font-weight: 700;
}
.vs-case-card__kpi span { color: #1b5e20; }
.vs-case-card__tech { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-case-card__tech span {
    background: #f3f4f6; color: #374151;
    font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 4px;
}

/* ================================================================
   FAQ
================================================================ */
.vs-faq { padding: 80px 0; background: #f8f9fb; }
.vs-faq-list { max-width: 800px; margin: 0 auto; }
.vs-faq-item {
    border: 1px solid #e9ecef; border-radius: 12px; margin-bottom: 12px; overflow: hidden;
    opacity: 0; transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
}
.vs-faq-item.is-visible { opacity: 1; transform: translateY(0); }
.vs-faq-question {
    width: 100%; background: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 22px; font-size: .95rem; font-weight: 600; color: #1a1a2e;
    text-align: left; transition: background .2s;
}
.vs-faq-question:hover { background: #f1f8f1; }
.vs-faq-question[aria-expanded="true"] { color: #2e7d32; background: #f1f8f1; }
.vs-faq-question i { flex-shrink: 0; color: #2e7d32; transition: transform .3s; }
.vs-faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.vs-faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.vs-faq-answer p { padding: 0 22px 18px; font-size: .88rem; color: #4b5563; line-height: 1.8; margin: 0; }

/* ================================================================
   CTA
================================================================ */
.vs-cta {
    padding: 88px 0;
    background: linear-gradient(135deg, #0a1f0a 0%, #1b5e20 50%, #2e7d32 100%);
    text-align: center;
}
.vs-cta__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.3; }
.vs-cta__text { font-size: 1rem; color: rgba(255,255,255,.85); line-height: 1.8; margin: 0 0 36px; }
.vs-cta__buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.vs-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-size: 1rem; font-weight: 700; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.vs-cta-btn:hover { transform: translateY(-3px); }
.vs-cta-btn--primary {
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff; box-shadow: 0 4px 20px rgba(46,125,50,.4);
}
.vs-cta-btn--primary:hover { box-shadow: 0 8px 28px rgba(46,125,50,.55); }
.vs-cta-btn--secondary {
    background: rgba(255,255,255,.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px);
}
.vs-cta-btn--secondary:hover { background: rgba(255,255,255,.25); }

/* ================================================================
   レスポンシブ
================================================================ */
@media (max-width: 1100px) { .vs-tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .vs-solutions-grid { grid-template-columns: 1fr; }
    .vs-sol-card--wide { grid-column: span 1; }
    .vs-strengths-grid { grid-template-columns: 1fr; }
    .vs-cases-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vs-hero { min-height: 500px; }
    .vs-hero__stats { gap: 20px; }
    .vs-hero__stat-num { font-size: 1.9rem; }
    .vs-tech-grid { grid-template-columns: 1fr; }
    .vs-section-lead { font-size: .9rem; }
}

/* パンくずを fixed header の高さ分下げる（SP:50px / PC:70px） */
.vs-breadcrumb { margin-top: 50px; }
@media screen and (min-width: 800px) {
  .vs-breadcrumb { margin-top: 70px; }
}
