/* live-cloud-806.css — ビズブリッジアカデミー */
/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #212529;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: #e30613;
    text-decoration: none;
}

a:hover {
    color: #c80411;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === UTILITY === */
.text-accent {
    color: #e30613 !important;
}

.bg-accent {
    background: #e30613 !important;
    color: #fff !important;
}

.bg-light-custom {
    background: #f7f7f7 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.section-pad {
    padding: 72px 0;
}

.section-pad-sm {
    padding: 48px 0;
}

/* === COOKIE BANNER === */
#cookie-banner {
    background: #212529;
    color: #fff;
    padding: 14px 24px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

#cookie-banner p {
    margin: 0;
    flex: 1 1 300px;
}

#cookie-banner a {
    color: #f7a9ae;
}

.cookie-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#cookie-accept {
    background: #e30613;
    color: #fff;
}

#cookie-accept:hover {
    background: #c80411;
}

#cookie-decline {
    background: #555;
    color: #fff;
}

#cookie-decline:hover {
    background: #333;
}

/* === HEADER === */
/* TODO: refactor nav for mobile — old mobile menu still in codebase */
#main-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
    transition: box-shadow .25s ease;
}

#main-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.logo-wrap svg {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: .7rem;
    font-weight: 400;
    color: #666;
}

nav.main-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav.main-nav ul li a {
    color: #212529;
    font-size: .93rem;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
    color: #e30613;
    border-bottom-color: #e30613;
    text-decoration: none;
}

.nav-cta-btn {
    background: #e30613;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    border-bottom: none !important;
    font-weight: 600 !important;
}

.nav-cta-btn:hover {
    background: #c80411;
    color: #fff !important;
}

.navbar-toggler {
    display: none;
}

/* === HERO === */
.hero-section {
    padding: 70px 0 90px;
    background: #fff;
}

.hero-section .hero-text {
    padding-right: 40px;
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #212529;
}

.hero-section h1 em {
    color: #e30613;
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-primary-red {
    background: #e30613;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 13px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background .2s;
}

.btn-primary-red:hover {
    background: #c80411;
    color: #fff;
    text-decoration: none;
}

.btn-outline-red {
    background: transparent;
    color: #e30613;
    border: 2px solid #e30613;
    border-radius: 4px;
    padding: 11px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background .2s, color .2s;
}

.btn-outline-red:hover {
    background: #e30613;
    color: #fff;
    text-decoration: none;
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap img {
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .13);
    width: 100%;
    object-fit: cover;
    max-height: 420px;
}

/* === CATEGORY GRID === */
.category-grid {
    padding: 60px 0;
    background: #f7f7f7;
}

.category-grid h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #212529;
}

.cat-item {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
    margin-bottom: 24px;
}

.cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 1.4rem;
}

.cat-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

.cat-item p {
    font-size: .88rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 0;
}

/* === STATS ROW === */
.stats-row {
    background: #f7f7f7;
    padding: 50px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 700;
    color: #E30613;
    line-height: 1;
}

.stat-label {
    font-size: .93rem;
    color: #666;
    margin-top: 6px;
}

/* === HOW IT WORKS === */
.how-section {
    padding: 72px 0;
    background: #fff;
}

.how-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 36px;
}

.how-img img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    width: 100%;
    object-fit: cover;
}

.step-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.step-num {
    width: 40px;
    height: 40px;
    background: #e30613;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-content p {
    color: #666;
    font-size: .93rem;
    margin: 0;
}

/* === CTA BAND === */
.cta-band {
    background: #f7f7f7;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.cta-band h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-band p {
    color: #666;
    margin-bottom: 28px;
    font-size: 1rem;
}

/* === REVIEWS === */
.reviews-section {
    padding: 72px 0;
    background: #fff;
}

.reviews-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.review-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    height: 100%;
    margin-bottom: 24px;
}

.review-stars {
    color: #e30613;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.review-text {
    font-size: .95rem;
    color: #444;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    font-size: .9rem;
    color: #212529;
}

.review-role {
    font-size: .82rem;
    color: #999;
}

/* === COURSE CARDS === */
/* old pricing grid — float based, replaced by flex below */
.courses-section {
    padding: 72px 0;
    background: #f7f7f7;
}

.courses-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.course-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    text-align: center;
    position: relative;
    transition: transform .2s;
    height: 100%;
    margin-bottom: 24px;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-card.recommended {
    border-color: #e30613;
    box-shadow: 0 4px 20px rgba(227, 6, 19, .15);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e30613;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
}

.course-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E30613;
    margin-bottom: 16px;
    line-height: 1.1;
}

.course-price small {
    font-size: .85rem;
    color: #666;
    font-weight: 400;
}

.course-features {
    text-align: left;
    margin-bottom: 24px;
}

.course-features li {
    padding: 5px 0;
    font-size: .9rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.course-features li::before {
    content: "✓ ";
    color: #e30613;
    font-weight: 700;
}

/* === EXPLAINER === */
.explainer-section {
    padding: 72px 0;
    background: #fff;
}

.explainer-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #212529;
}

.explainer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #212529;
}

.explainer-section p {
    color: #444;
    margin-bottom: 16px;
    font-size: .97rem;
}

/* === TESTIMONIALS ROW === */
.testimonials-row {
    background: #f7f7f7;
    padding: 60px 0;
    border-top: 1px solid #e5e5e5;
}

.testimonials-row h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.testi-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 6px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    height: 100%;
    margin-bottom: 24px;
}

.testi-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-body blockquote {
    font-size: .93rem;
    color: #444;
    font-style: italic;
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.testi-body cite {
    font-size: .84rem;
    color: #666;
    font-style: normal;
}

/* === FAQ === */
.faq-section {
    padding: 72px 0;
    background: #fff;
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item .q {
    padding: 18px 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background .2s;
    user-select: none;
}

.faq-item .q:hover {
    background: #fdf0f1;
}

.faq-item .q .icon {
    color: #e30613;
    font-size: .85rem;
    transition: transform .25s;
}

.faq-item.open .q .icon {
    transform: rotate(45deg);
}

.faq-item .a {
    display: none;
    padding: 0 24px 18px;
    color: #555;
    font-size: .95rem;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.faq-item.open .a {
    display: block;
}

/* infoCard — TODO: unify with review-card eventually */
.infoCard {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    margin-bottom: 24px;
}

.infoCard h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #212529;
}

.infoCard p {
    font-size: .9rem;
    color: #555;
    margin: 0;
}

/* === FOOTER === */
footer.main-footer {
    background: #212529;
    color: #adb5bd;
    padding: 56px 0 0;
}

.footer-logo-text {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: .87rem;
    color: #adb5bd;
    margin-bottom: 16px;
}

.footer-contact-line {
    font-size: .87rem;
    color: #adb5bd;
    margin-bottom: 4px;
}

.footer-contact-line i {
    color: #e30613;
    margin-right: 6px;
}

.footer-heading {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #adb5bd;
    font-size: .87rem;
    transition: color .2s;
}

.footer-links li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #343a40;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: .9rem;
    transition: background .2s, color .2s;
}

.footer-social a:hover {
    background: #e30613;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
    font-size: .82rem;
    color: #6c757d;
}

/* === PAGE HERO (subpages) === */
.page-hero {
    background: #f7f7f7;
    padding: 48px 0 40px;
    border-bottom: 1px solid #e5e5e5;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.page-hero p {
    color: #666;
    font-size: 1rem;
}

/* === CONTACT PAGE === */
.contact-form-wrap {
    background: #fff;
}

.form-label-custom {
    font-weight: 600;
    font-size: .9rem;
    color: #212529;
    margin-bottom: 4px;
    display: block;
}

.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: .95rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color .2s;
    background: #fff;
    color: #212529;
}

.form-control-custom:focus {
    outline: none;
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
}

.form-group-custom {
    margin-bottom: 20px;
}

.alert-success-custom {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: .95rem;
}

.alert-error-custom {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: .95rem;
}

/* === SOLUTIONS PAGE === */
.solution-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    margin-bottom: 28px;
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.solution-card .price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e30613;
    margin-bottom: 14px;
}

.solution-card p {
    color: #555;
    font-size: .95rem;
}

/* === COMPANY PAGE === */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.company-table th,
.company-table td {
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    font-size: .93rem;
}

.company-table th {
    background: #f7f7f7;
    font-weight: 700;
    color: #212529;
    width: 30%;
}

.company-table td {
    color: #444;
}

.map-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    margin-bottom: 28px;
}

/* === POLICY PAGES === */
.policy-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #212529;
}

.policy-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #212529;
}

.policy-content p {
    font-size: .95rem;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.8;
}

.policy-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
}

.policy-content ul li {
    font-size: .95rem;
    color: #444;
    margin-bottom: 6px;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-section {
        padding: 48px 0 56px;
    }

    .hero-section .hero-text {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .hero-section h1 {
        font-size: 1.9rem;
    }

    nav.main-nav {
        display: none;
    }

    .navbar-toggler {
        display: block;
        background: none;
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 6px 10px;
        cursor: pointer;
        font-size: 1.1rem;
        color: #212529;
    }

    nav.main-nav.open {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        padding: 16px 24px;
        z-index: 999;
    }

    nav.main-nav.open ul {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .stat-num {
        font-size: 2rem;
    }

    .course-card {
        margin-bottom: 20px;
    }

    .testi-card {
        flex-direction: column;
    }

    footer.main-footer .col-md-4 {
        margin-bottom: 32px;
    }

    .courses-section h2,
    .reviews-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }
}