.mlabo-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.mlabo-hero {
    text-align: center;
}

.mlabo-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 14px;
}

.mlabo-hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #ff0000;
    border-radius: 2px;
}

.mlabo-hero .lead {
    color: #777;
    margin-bottom: 30px;
}

.hero-img {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 16px;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 26px;
    background: #ff2e2e;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.hero-btn img {
    width: 16px;
    height: 16px;
}

/* ===== SERVICE ===== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    display: flex;
    align-items: stretch;
    gap: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-item .service-img {
    width: 45%;
    height: 315px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.service-item .service-img.school-img {
    object-position: center 30%;
}

.service-text {
    width: 55%;
    padding: 26px;
}

.service-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.service-head-icon {
    width: 30px;
    flex-shrink: 0;
    margin-top: 3px;
    padding: 10px;
    background: #FEF2F2;
    border-radius: 10px;
    box-sizing: content-box;
}

.service-head-body h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.service-head-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.service-desc {
    margin: 6px 0 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.service-text ul {
    margin-top: 12px;
    padding-left: 0;
}

.service-text li {
    list-style: none;
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.service-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2e2e;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

.section-title img {
    width: 20px;
    height: 20px;
}

/* ===== CTA ===== */
.mlabo-cta {
    margin-top: 80px;
    padding: 60px;
    text-align: center;
    background: #fff5f5;
    border-radius: 16px;
    border: 1px solid #FFE2E2;
}

.cta-btns .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btns .btn img {
    width: 16px;
    height: 16px;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    margin: 0 10px;
    text-decoration: none;
}

.btn.red {
    background: #ff2e2e;
    color: #fff;
}

.btn.outline {
    border: 1px solid #ff2e2e;
    color: #ff2e2e;
}

/* ===== COMPANY ===== */
.company-card {
    border: 1px solid #e6edf6;
    border-radius: 16px;
    background: #fff;
    padding: 26px 28px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 18px 10px;
    font-size: 15px;
    vertical-align: middle;
}

.company-table th {
    width: 180px;
    color: #2c3e55;
    font-weight: 700;
    text-align: left;
}

.company-table tr {
    border-bottom: 1px solid #e9eff7;
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-desc {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e9eff7;
    display: flex;
    align-items: center;
    gap: 22px;
}

.company-desc img {
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

.company-desc p {
    margin: 0;
    color: #2c3e55;
    line-height: 2;
    font-size: 15px;
}

/* ===============================
スマホレスポンシブ
=============================== */
@media (max-width:768px) {
    /* ===== HERO ===== */

    .mlabo-hero h1 {
        font-size: 26px;
    }

    .mlabo-hero .lead {
        font-size: 14px;
    }

    .hero-img {
        height: 220px;
        border-radius: 12px;
    }

    .hero-btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    /* ===== SERVICE ===== */

    .section-title {
        font-size: 18px;
    }

    .service-item {
        flex-direction: column;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-item .service-img {
        width: 100%;
        height: 200px;
    }

    .service-text {
        width: 100%;
        padding: 20px;
    }

    .service-head-body h3 {
        font-size: 18px;
    }

    .service-head-body p {
        font-size: 13px;
    }

    .service-desc {
        font-size: 13px;
    }

    /* ===== CTA ===== */

    .mlabo-cta {
        padding: 30px 20px;
    }

    .mlabo-cta h2 {
        font-size: 22px;
    }

    .cta-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        margin: 0;
    }

    /* ===== COMPANY ===== */

    .company-card {
        padding: 20px;
    }

    .company-table th,
    .company-table td {
        font-size: 13px;
        padding: 12px 6px;
    }

    .company-table th {
        width: 110px;
    }

    .company-desc {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .company-desc img {
        width: 100px;
    }

    .company-desc p {
        font-size: 13px;
        line-height: 1.8;
    }

}