/* ========================================================
   BuilSys - Brand Stylesheet
   Prefix: bs-  (to avoid collision with SPINDD styles)
   ======================================================== */

/* --- Design Tokens --- */
:root {
    --bs-primary: #003ECC;
    --bs-primary-light: #007FDB;
    --bs-gradient: linear-gradient(135deg, #003ECC, #007FDB);
    --bs-text: #2F2B36;
    --bs-bg: #ffffff;
    --bs-bg-light: #f5f9ff;
    --bs-radius: 12px;
    --bs-max: 1200px;
}

/* --- Reset / Base --- */
.bs-container *,
.bs-nav *,
.bs-footer * {
    box-sizing: border-box;
}

/* --- Typography --- */
.bs-container h1,
.bs-container h2,
.bs-container h3,
.bs-container h4 {
    margin: 0 0 .5em;
    color: var(--bs-text);
    line-height: 1.4;
}

.bs-container h2 { font-size: 2.25rem; }
.bs-container h3 { font-size: 2rem; }
.bs-container h4 { font-size: 1.5rem; }

.bs-container p {
    margin:  1em;
    line-height: 1.85;
    color: var(--bs-text);
}

/* --- What We Can Do (縦並びカード) --- */
.bs-whatwecando {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.bs-whatwecando-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: var(--bs-radius);
    padding: 48px 48px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.bs-whatwecando-card.bs-whatwecando-reverse {
    flex-direction: row-reverse;
}
.bs-whatwecando-icon {
    flex-shrink: 0;
}
.bs-whatwecando-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}
.bs-whatwecando-body {
    flex: 1;
}
.bs-whatwecando-body h4 {
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.bs-heading-bar {
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--bs-primary);
    border-radius: 2px;
}
.bs-whatwecando-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.bs-whatwecando-body ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--bs-text);
}
.bs-whatwecando-body ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--bs-primary-light);
}

@media (max-width: 767px) {
    .bs-whatwecando-card {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
    }
    .bs-whatwecando-card.bs-whatwecando-reverse {
        flex-direction: column;
    }
    .bs-whatwecando-icon img {
        width: 80px;
        height: 80px;
    }
}

/* --- Layout --- */
.bs-container {
    max-width: var(--bs-max);
    margin: 0 auto;
    padding: 0 24px;
}

.bs-section {
    padding: 80px 0;
}

.bs-section-light {
    background: var(--bs-bg-light);
}

.bs-container .bs-category-sub {
    font-size: 1rem;
    color: var(--bs-text);
    margin-bottom: 0;
}

.bs-section-cream {
    background: #FFF8DC;
}

/* --- Category Nav (機能ページ用ナビ) --- */
.bs-category-nav {
    background-color: #888;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 48px 0;
    position: relative;
}
.bs-category-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(80, 80, 80, 0.75);
    z-index: 0;
}
.bs-category-nav > .bs-container {
    position: relative;
    z-index: 1;
}
.bs-category-nav-label {
    display: inline-block;
    background: var(--bs-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 48px;
    border-radius: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.bs-category-nav .bs-container {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  
}
.bs-category-nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
     max-width: 880px;
}
.bs-category-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: var(--bs-radius);
    padding: 20px 28px;
    min-width: 260px;
    max-width: 320px;
    flex: 1;
    text-decoration: none;
    color: var(--bs-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.bs-category-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.bs-category-nav-sub {
    font-size: .8rem;
    color: #666;
}
.bs-category-nav-title {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2px;
}
.bs-category-nav-arrow {
    font-size: 1.2rem;
    color: #999;
    margin-top: 8px;
}



@media (max-width: 767px) {
    .bs-category-nav-grid {
        flex-direction: column;
        align-items: center;
    }
    .bs-category-nav-card {
        width: 100%;
        max-width: 100%;
    }
}

/* --- Header / Nav --- */
.bs-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bs-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.bs-nav-inner {
    max-width: var(--bs-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.bs-nav .bs-brand img {
    height: 32px;
    width: auto;
}

.bs-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.builsys-nav{
  color: #000000;
}

.bs-nav-links a {
    text-decoration: none;
/*     color: var(--bs-text); */
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}

.bs-nav-links a:hover {
/*     color: var(--bs-primary); */
  opacity:.9;
}

.bs-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    color: var(--bs-text);
}

.bs-nav-toggle .icon-close { display: none; }
.bs-nav.is-open .bs-nav-toggle .icon-menu { display: none; }
.bs-nav.is-open .bs-nav-toggle .icon-close { display: inline; }

/* --- Footer --- */
.bs-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 30px;
}

.bs-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color .2s;
}

.bs-footer a:hover {
    color: #fff;
}

.bs-footer-inner {
    max-width: var(--bs-max);
    margin: 0 auto;
    padding: 0 24px;
}

.bs-footer-cols {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
  　 flex-direction: row-reverse;
    justify-content: space-around;
}

.bs-footer-col h4 {
    color: #fff;
    font-size: .85rem;
    margin-bottom: 16px;
}

.bs-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-footer-col li {
    margin-bottom: 10px;
}

.bs-footer-col a {
    font-size: .85rem;
}

.bs-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 20px;
    text-align: center;
    font-size: .8rem;
}

/* --- Buttons --- */
.bs-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    border: none;
}

.bs-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
  　cursor: pointer;
}

.bs-btn-primary {
    background: var(--bs-gradient);
    color: #fff;
}

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

.bs-btn-outline:hover {
    background: var(--bs-primary);
    color: #fff;
}

.bs-btn-white {
    background: #fff;
    color: var(--bs-primary);
}

/* --- Gradient Text --- */
.bs-gradient-text {
    background: var(--bs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero (Top page full-width) --- */
.bs-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* --- Hero Inline (content内ヒーロー) --- */
.bs-hero-inline {
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.bs-hero-inline h1 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: .3em;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.bs-hero-inline .bs-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    margin-bottom: .5em;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

@media (max-width: 767px) {
    .bs-hero-inline {
        min-height: 300px;
    }
    .bs-hero-inline h1 {
        font-size: 1.6rem;
    }
}

.bs-hero .bs-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    padding: 48px;
    max-width: none;
    width: 50%;
    align-self: stretch;
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bs-hero h1 {
    font-size: 2.4rem;
    color: var(--bs-primary);
    margin-bottom: .3em;
}

.bs-hero h4,
.bs-hero .bs-hero-sub {
    font-size: 1rem;
    color: var(--bs-text);
    margin-bottom: .5em;
}

/* --- Page Hero (sub-pages with breadcrumb) --- */
.bs-page-hero {
    background: var(--bs-gradient);
    color: #fff;
    padding: 48px 0 40px;
}

.bs-page-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0;
}

.bs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    margin-bottom: 12px;
}

.bs-breadcrumb a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.bs-breadcrumb a:hover {
    color: #fff;
}

.bs-breadcrumb .sep {
    color: rgba(255,255,255,.5);
}

.bs-breadcrumb span:last-child {
    color: #fff;
}

/* --- Cards --- */
.bs-card {
    background: #fff;
    border-radius: var(--bs-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    padding: 32px;
    transition: transform .25s, box-shadow .25s;
}

.bs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

/* Feature card */
.bs-feature-card {
    background: #fff;
    border-radius: var(--bs-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    overflow: hidden;
}

.bs-feature-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.bs-feature-card-body {
    padding: 24px;
}

.bs-feature-card-body h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.bs-feature-card-body p {
    font-size: .9rem;
    color: #666;
    margin: 0;
}

/* Price card */
.bs-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.bs-price-plus {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #555;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 -8px;
    z-index: 1;
}
.bs-price-card {
    border: 1px solid #ddd;
    border-radius: var(--bs-radius);
    overflow: visible;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 340px;
    margin-top: 24px;
}
.bs-price-card-top {
    background: var(--bs-bg-light);
    padding: 32px 24px 24px;
    border-radius: var(--bs-radius) var(--bs-radius) 0 0;
}
.bs-price-card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}
.bs-price-card-bottom {
    background: #fff;
    padding: 24px 24px 32px;
}
.bs-price-card-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bs-gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.bs-price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.bs-price-card-bottom p {
    font-size: .9rem;
    color: #666;
    text-align: left;
    margin: 0;
}

.bs-price-notes p {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.bs-price-bullet {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--bs-primary);
    flex-shrink: 0;
}

/* Stats card */
.bs-stats-card {
    background: var(--bs-bg-light);
    border-radius: var(--bs-radius);
    padding: 24px;
    text-align: center;
}

.bs-stats-card .bs-stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.bs-stats-card .bs-stats-label {
    font-size: .85rem;
    color: #666;
    margin-top: 4px;
}

/* Menu card */
.bs-menu-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.bs-menu-card {
    background: #fff;
    border-radius: var(--bs-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--bs-text);
    transition: transform .25s, box-shadow .25s;
    display: block;
}

.bs-menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    color: var(--bs-primary);
}

.bs-menu-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.bs-menu-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.bs-menu-card p {
    font-size: .8rem;
    color: #888;
    margin: 0;
}

/* --- Grid helpers --- */
.bs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bs-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bs-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-text-center {
    text-align: center;
}

/* --- FAQ Intro --- */
.bs-faq-intro {
    border: 1px solid #ddd;
    border-radius: var(--bs-radius);
    padding: 28px 32px;
    margin-bottom: 40px;
}
.bs-faq-intro h4 {
    margin-bottom: 16px;
}
.bs-faq-intro p {
    font-size: .95rem;
    color: #555;
    margin: 0;
    line-height: 2;
}

/* --- FAQ Tabs --- */
.bs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.bs-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: .95rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    margin-bottom: -2px;
}

.bs-tab:hover {
    color: var(--bs-primary);
}

.bs-tab[aria-selected="true"] {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.bs-tab-panel {
    display: none;
}

.bs-tab-panel.is-active {
    display: block;
}

/* --- FAQ Accordion --- */
.bs-accordion {
    border: 1px solid #eee;
    border-radius: var(--bs-radius);
    overflow: hidden;
}

.bs-accordion-item {
    border-bottom: 1px solid #eee;
}

.bs-accordion-item:last-child {
    border-bottom: none;
}

.bs-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: #fff;
    border: none;
    font-size: .95rem;
    font-weight: 500;
    color: var(--bs-text);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background .2s;
}

.bs-accordion-trigger:hover {
    background: var(--bs-bg-light);
}

.bs-accordion-trigger::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--bs-primary);
    flex-shrink: 0;
    transition: transform .3s;
}

.bs-accordion-trigger[aria-expanded="true"]::after {
    content: '\2212';
}

.bs-accordion-body {
    display: none;
    padding: 0 24px 18px;
    font-size: .9rem;
    color: #555;
    line-height: 1.8;
}

.bs-accordion-body.is-open {
    display: block;
}

/* --- Flow --- */
.bs-flow {
    position: relative;
}

.bs-flow-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.bs-flow-step:last-child {
    margin-bottom: 0;
}

.bs-flow-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.bs-flow-content h4 {
    margin-bottom: 8px;
}

.bs-flow-content p {
    font-size: .9rem;
    color: #666;
}

.bs-flow-img {
    max-width: 980px;
    border-radius: var(--bs-radius);
    margin-top: 16px;
}

.bs-flow-img-sp {
    width: 100%;
    border-radius: var(--bs-radius);
    margin-top: 16px;
    display:none;
}

/* --- Case Study --- */
.bs-case-logo-card {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: var(--bs-radius);
    padding: 32px 48px;
    background: #fff;
    margin-bottom: 32px;
}
.bs-case-logo-card img {
    max-height: 100px;
    max-width: 320px;
}
.bs-container .bs-case-company {
    color: var(--bs-primary);
    margin-bottom: 32px;
}
.bs-case-info {
    margin-bottom: 40px;
}
.bs-case-info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.bs-case-info-label {
    width: 140px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--bs-text);
}
.bs-case-info-value {
    flex: 1;
    color: var(--bs-text);
}
.bs-badge-sm {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--bs-bg-light);
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    margin-right: 6px;
}
.bs-case-results {
    background: var(--bs-bg-light);
    border-radius: var(--bs-radius);
    padding: 40px 32px;
    margin-bottom: 40px;
}
.bs-case-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
}
.bs-case-block + .bs-case-block {
    border-top: 1px solid #ddd;
}
.bs-case-block-icon {
    flex-shrink: 0;
    width: 72px;
    text-align: center;
    border-radius: 8px;
    padding: 12px 8px;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}
.bs-case-block-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}
.bs-case-block-icon--problem {
    background: #5a5a6e;
}
.bs-case-block-icon--result {
    background: var(--bs-primary);
}
.bs-case-block-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bs-case-block-content ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--bs-text);
}
.bs-case-block-content ul li::before {
    content: '-';
    position: absolute;
    left: 0;
}
.bs-case-detail-title {
    padding-bottom: 12px;
    border-bottom: 3px solid var(--bs-primary);
    display: inline-block;
    margin-bottom: 24px;
}

.bs-case-services {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
}
.bs-case-services-label {
    font-weight: 700;
    color: var(--bs-text);
    margin-right: 8px;
}

/* --- CTA Section --- */
.bs-cta-section {
    background: var(--bs-gradient);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.bs-cta-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bs-cta-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.bs-cta-card {
    background: rgba(255,255,255,.15);
    border-radius: var(--bs-radius);
    padding: 32px;
    color: #fff;
    flex: 1;
    max-width: 320px;
}

.bs-cta-card p {
    color: rgba(255,255,255,.9);
    margin-bottom: 20px;
}

/* --- Contact Section --- */
.bs-contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.bs-contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.bs-contact-section .bs-container {
    position: relative;
    z-index: 1;
}

.bs-contact-section h2 {
    color: #fff;
}

.bs-contact-section p {
    color: rgba(255,255,255,.9);
}

.bs-contact-tel {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 8px;
}

.bs-contact-hours {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 24px;
}

/* --- Section kickers --- */
.bs-kicker {
    font-size: .85rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

/* --- Testimonial --- */
.bs-testimonial-title {
    text-align: center;
    padding: 16px 0 32px;
}

.bs-testimonial-title h4 {
    display: inline-block;
    margin: 0;
    font-size: 1.4rem;
    position: relative;
    padding: 0 40px;
}

.bs-testimonial-title h4::before {
    content: '\＼\＼';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-primary);
    font-size: .8rem;
    letter-spacing: -2px;
}

.bs-testimonial-title h4::after {
    content: '\／\／';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-primary);
    font-size: .8rem;
    letter-spacing: -2px;
}

.bs-testimonial-section {
    background: var(--bs-bg-light);
    padding: 60px 0 50px;
}

.bs-testimonial {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: var(--bs-max);
    margin: 0 auto;
}

.bs-testimonial-left {
    flex-shrink: 0;
    text-align: center;
    width: 400px;
    padding-right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bs-testimonial-card {
    background: #fff;
    border-radius: var(--bs-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
    width: 100%;
}

.bs-testimonial-company {
    background: #FFEAEAE6;
    padding: 12px 20px;
    font-size: .9rem;
    color: var(--bs-text);
    font-weight: 500;
    text-align: center;
}

.bs-testimonial-logo-wrap {
    background: #fff;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-testimonial-logo {
    max-height: 100px;
    max-width: 240px;
}

.bs-testimonial-right {
    flex: 1;
    padding-left: 48px;
}

.bs-testimonial-stat {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bs-primary-light);
}

.bs-testimonial-stat .bs-marker {
    background: linear-gradient(transparent 55%, #fff44f 55%);
    padding: 0 4px;
}

.bs-testimonial-bubble {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    font-size: .95rem;
    line-height: 1.9;
    color: #555;
    position: relative;
}

.bs-testimonial-bubble::before {
    content: '';
    position: absolute;
    top: 36px;
    left: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 16px 14px 0;
    border-color: transparent #fff transparent transparent;
}

.bs-testimonial-bubble p {
    margin: 0;
}

.bs-btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    font-size: 1rem;
}

.bs-btn-arrow::after {
    content: '>';
    font-size: .9em;
}

/* --- Service badges --- */
.bs-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--bs-bg-light);
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/* --- Image utility --- */
.bs-img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.bs-img-rounded {
    border-radius: var(--bs-radius);
}

/* --- Supplementary info --- */
.bs-supplement {
    background: var(--bs-bg-light);
    border-radius: var(--bs-radius);
    padding: 32px;
    margin-top: 32px;
}

/* --- Philosophy --- */
.bs-philosophy {
    text-align: center;
    padding: 80px 0;
}

.bs-philosophy-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 2;
    color: #555;
}

.bs-philosophy-keyword-badge {
    display: inline-block;
    background: var(--bs-gradient);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 6px;
    margin-bottom: 32px;
}

/* --- Fade Up Animation --- */
.bs-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.bs-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

  @media(max-width: 1110px){
    .bs-menu-cards {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .bs-flow-img{
      width: 100%;
    }
    
  }

  @media(max-width: 1000px){
        .bs-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .bs-feature-card-img{
    height: 300px;
    }
    
    .bs-grid-2{
     grid-template-columns: 1fr;
    }
    
  }

/* ============================
   Responsive (max-width: 767px)
   ============================ */
@media (max-width: 767px) {
  
  .bs-feature-card-img {
    width: 100%;
    height: 210px;
}
  
  .bs-category-nav-grid{
  width: 100%;
  }
  
    .bs-flow-img {
      display:none;
   }

    .bs-flow-img-sp {
        display:block;
    }

    /* Nav */
    .bs-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        gap: 16px;
    }

    .bs-nav.is-open .bs-nav-links {
        display: flex;
    }

    .bs-nav-toggle {
        display: block;
    }

    /* Hero */
    .bs-hero {
        min-height: 360px;
    }

    .bs-hero h1 {
        font-size: 1.6rem;
    }

    /* Typography */
    .bs-container h2 {
        font-size: 1.5rem;
    }

    /* Grid */
    .bs-grid-3 {
        grid-template-columns: 1fr;
    }

    .bs-grid-2 {
        grid-template-columns: 1fr;
    }

    /* Section */
    .bs-section {
        padding: 48px 0;
    }

    /* Testimonial */
    .bs-testimonial {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .bs-testimonial-left {
        width: 100%;
        padding-right: 0;
        padding-bottom: 24px;
    }

    .bs-testimonial-right {
        padding-left: 0;
        padding-top: 24px;
    }

    .bs-testimonial-stat {
        font-size: 1.1rem;
    }

    /* Flow */
    .bs-flow-step {
        flex-direction: column;
        gap: 16px;
    }

    /* CTA */
    .bs-cta-cards {
        flex-direction: column;
        align-items: center;
    }

    .bs-cta-card {
        max-width: 100%;
    }

    /* Tabs */
    .bs-tabs {
        flex-direction: column;
        gap: 0;
    }

    .bs-tab {
        border-bottom: 1px solid #eee;
        border-left: 3px solid transparent;
        text-align: left;
    }

    .bs-tab[aria-selected="true"] {
        border-bottom-color: #eee;
        border-left-color: var(--bs-primary);
    }

    /* Footer */
    .bs-footer-cols {
        flex-direction: column;
        gap: 24px;
    }

    /* Menu cards */
    .bs-menu-cards {
        grid-template-columns: repeat(1, 1fr);
    }
/*     .bs-menu-cards .bs-menu-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    } */

    /* Price cards */
    .bs-price-row {
        flex-direction: column;
        gap: 32px;
    }
    .bs-price-plus {
        margin: -16px 0;
    }
    .bs-price-card {
        max-width: 100%;
    }

    /* Contact */
    .bs-contact-tel {
        font-size: 1.5rem;
    }
}