/*
Theme Name: Y's Corporate
Theme URI: https://ysgroup.info/
Author: Y's
Author URI: https://ysgroup.info/
Description: 株式会社Y's コーポレートサイト
Version: 1.0
*/

/* =========================
   Reset
========================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}


/* =========================
   Container
========================= */

.container {
    width: min(1200px, 92%);
    margin-left: auto;
    margin-right: auto;
}


/* =========================
   WordPress Admin Bar
========================= */

body.admin-bar {
    margin-top: 0;
}


/* =========================
   Basic Button
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    min-height: 54px;

    padding: 12px 28px;

    border-radius: 999px;

    background: #0b1f3a;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.btn:hover {
    background: #163b6d;
    transform: translateY(-2px);
}


/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .btn {
        width: 100%;
    }

}

@media (max-width: 576px) {

    .container {
        width: 92%;
    }

}

/* =========================
   Front Page
========================= */

.hero {
    padding: 120px 0;
    background: #f5f7fa;
}

.hero-subtitle {
    margin-bottom: 20px;
    color: #0b1f3a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hero-title {
    margin-bottom: 30px;
    color: #111827;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 0;
    color: #374151;
    font-size: 18px;
    line-height: 2;
}

@media (max-width: 768px) {

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-text {
        font-size: 16px;
    }

}

/* =========================
   Header
========================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo a {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-ja {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.logo-en {
    margin-top: 4px;
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.08em;
}

.main-nav {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 0;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #315b8a;
}

.header-contact {
    margin-left: 8px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #0b1f3a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.header-btn:hover {
    background: #163b6d;
    transform: translateY(-2px);
}


/* =========================
   Header Responsive
========================= */

@media (max-width: 900px) {

    .header-inner {
        flex-wrap: wrap;
        padding-top: 18px;
        padding-bottom: 18px;
        gap: 15px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px 25px;
    }

    .header-contact {
        margin-left: auto;
    }

}

@media (max-width: 576px) {

    .header-inner {
        min-height: auto;
    }

    .logo-ja {
        font-size: 19px;
    }

    .logo-en {
        font-size: 10px;
    }

    .header-btn {
        min-width: auto;
        padding: 9px 15px;
        font-size: 12px;
    }

    .nav-menu {
        justify-content: flex-start;
        gap: 10px 18px;
    }

    .nav-menu a {
        font-size: 13px;
    }

}

/* =========================
   Corporate Sections
========================= */

.section {
    padding: 120px 0;
}

.section-heading {
    margin-bottom: 60px;
}

.section-label {
    margin-bottom: 14px;
    color: #315b8a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.4;
}


/* =========================
   Company
========================= */

.company-section {
    background: #ffffff;
}

.company-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.company-lead h3 {
    margin-bottom: 30px;
    color: #111827;
    font-size: 28px;
    line-height: 1.7;
}

.company-lead p {
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 16px;
    line-height: 2;
}

.company-info {
    border-top: 1px solid #d1d5db;
}

.company-info dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid #d1d5db;
}

.company-info dt {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.company-info dd {
    margin: 0;
    color: #111827;
    font-size: 15px;
}


/* =========================
   Business
========================= */

.business-section {
    background: #f5f7fa;
}

/* =========================
   Business Grid
========================= */

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


/* =========================
   Business Card
========================= */

.business-card {
    min-height: 300px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.business-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.08);
}


.business-number {
    display: block;

    margin-bottom: 40px;

    color: #315b8a;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.business-card h3 {
    margin-bottom: 20px;

    color: #111827;

    font-size: 24px;

    line-height: 1.5;
}


.business-card p {
    margin: 0;

    color: #6b7280;

    font-size: 15px;

    line-height: 2;
}


/* =========================
   Business - Tablet / Mobile
========================= */

@media (max-width: 768px) {

    .business-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .business-card {
        min-height: auto;

        padding: 30px;
    }


    .business-number {
        margin-bottom: 25px;
    }


    .business-card h3 {
        font-size: 21px;

        margin-bottom: 15px;
    }


    .business-card p {
        font-size: 14px;
    }

}


/* =========================
   Strength
========================= */

.strength-section {
    background: #ffffff;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.strength-item {
    padding-top: 30px;
    border-top: 2px solid #0b1f3a;
}

.strength-item > span {
    display: block;
    margin-bottom: 30px;
    color: #315b8a;
    font-size: 14px;
    font-weight: 800;
}

.strength-item h3 {
    margin-bottom: 18px;
    color: #111827;
    font-size: 26px;
}

.strength-item p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 2;
}


/* =========================
   Contact
========================= */

.contact-section {
    padding: 110px 0;
    background: #0b1f3a;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-section .section-label {
    color: #9bb8d8;
}

.contact-section h2 {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.5;
}

.contact-section p:not(.section-label) {
    max-width: 600px;
    margin: 0;
    color: #d1d5db;
    font-size: 15px;
    line-height: 2;
}

.contact-large-btn {
    min-width: 220px;
    min-height: 60px;
    background: #ffffff;
    color: #0b1f3a;
}

.contact-large-btn:hover {
    background: #f3f4f6;
    color: #0b1f3a;
}


/* =========================
   Footer
========================= */

.site-footer {
    padding: 35px 0;
    background: #ffffff;
}

.copyright {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 768px) {

    .site-footer {
        padding: 30px 0;
    }

    .copyright {
        font-size: 12px;
    }

}


/* =========================
   Responsive
========================= */

@media (max-width: 900px) {

    .section {
        padding: 90px 0;
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        min-height: auto;
    }

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 576px) {

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .company-lead h3 {
        font-size: 23px;
    }

    .company-info dl {
        grid-template-columns: 90px 1fr;
        gap: 15px;
    }

    .business-card {
        padding: 30px;
    }

    .contact-section {
        padding: 60px 0 30px;
    }

    .contact-large-btn {
        width: 100%;
    }

}

@media (max-width: 768px) {

    .contact-title {
        font-size: 42px;
        line-height: 1.45;
    }

}

@media (max-width: 768px) {

    .contact-inner h2 {
        font-size: 36px;
        line-height: 1.45;
        letter-spacing: 0;
    }

}

/* =========================
   Mobile Menu
========================= */

.menu-toggle {
    display: none;
}


@media (max-width: 768px) {

    /* =========================
       Mobile Header
    ========================= */

    .site-header {
        position: relative;
        z-index: 10000;
        overflow: visible;
    }

.header-inner {
    position: static !important;

    display: flex;
    flex-wrap: nowrap;

    align-items: center;

    min-height: 84px;

    padding-top: 0;
    padding-bottom: 0;

    gap: 15px;
}


    /* =========================
       Hamburger Button
    ========================= */

    .menu-toggle {
        display: flex;

        flex-shrink: 0;

        width: 44px;
        height: 44px;

        margin-left: auto;
        padding: 0;

        background: transparent;
        border: none;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 6px;

        cursor: pointer;

        position: relative;
        z-index: 10001;
    }


    .menu-toggle span {
        display: block;

        width: 26px;
        height: 3px;

        margin: 0;

        background: #111827;

        border-radius: 2px;

        opacity: 1;
        visibility: visible;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }


    /* =========================
       Mobile Navigation
    ========================= */

    .main-nav {
        display: block;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        background: #ffffff;

        border-top: 1px solid #e5e7eb;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        overflow: visible;

        z-index: 9999;

        box-shadow:
            0 10px 25px rgba(15, 23, 42, 0.08);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }


    /* =========================
       Navigation Open
    ========================= */

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    /* =========================
       Navigation List
    ========================= */

    .nav-menu {
        display: flex;

        flex-direction: column;

        width: 100%;

        margin: 0;
        padding: 8px 20px 16px;

        gap: 0;

        box-sizing: border-box;
    }


    .nav-menu li {
        width: 100%;
        margin: 0;
    }


    .nav-menu a {
        display: block;

        width: 100%;

        padding: 18px 10px;

        box-sizing: border-box;

        border-bottom: 1px solid #e5e7eb;

        color: #111827;

        font-size: 17px;
        font-weight: 600;

        text-align: left;

        text-decoration: none;
    }


    .nav-menu li:last-child a {
        border-bottom: none;
    }


    /* =========================
       Contact Button
    ========================= */

    .header-contact {
        display: none;
    }


    /* =========================
       Hamburger → X
    ========================= */

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

}

/* =========================
   News
========================= */

.news-section {
    background: #ffffff;
}

.news-list {
    border-top: 1px solid #e5e7eb;
}

.news-item {
    border-bottom: 1px solid #e5e7eb;
}

.news-item a {
    display: flex;
    align-items: center;
    gap: 40px;

    padding: 25px 0;

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.news-item a:hover {
    opacity: 0.65;
}

.news-item time {
    flex-shrink: 0;

    width: 90px;

    color: #6b7280;

    font-size: 14px;
    font-weight: 600;
}

.news-item h2,
.news-item h3 {
    margin: 0;

    color: #111827;

    font-size: 17px;
    font-weight: 600;
}


/* お知らせ一覧 */

.news-more {
    margin-top: 40px;
    text-align: center;
}

.news-more .btn {
    min-width: 180px;
}


/* お知らせ詳細 */

.news-single-header {
    max-width: 900px;

    margin: 0 auto 60px;
}

.news-single-header time {
    display: block;

    margin-bottom: 15px;

    color: #6b7280;

    font-size: 14px;
}

.news-single-header h1 {
    margin: 0;

    color: #111827;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.5;
}

.news-single-content {
    max-width: 900px;

    margin: 0 auto;

    color: #374151;

    font-size: 16px;

    line-height: 2;
}

.news-single-content p {
    margin-bottom: 25px;
}


/* =========================
   News Mobile
========================= */

@media (max-width: 768px) {

    .news-item a {
        display: block;

        padding: 20px 0;
    }

    .news-item time {
        display: block;

        width: auto;

        margin-bottom: 6px;

        font-size: 13px;
    }

    .news-item h2,
    .news-item h3 {
        font-size: 16px;

        line-height: 1.7;
    }

    .news-single-header {
        margin-bottom: 40px;
    }

    .news-single-header h1 {
        font-size: 28px;
    }

    .news-single-content {
        font-size: 15px;
    }

}

/* =========================
   Recruit Page
========================= */

.news-single,
.recruit-section {
    padding-top: 120px;
    padding-bottom: 140px;
}

.recruit-header {
    margin-bottom: 80px;
}

.recruit-header .section-label {
    margin-bottom: 18px;
}

.recruit-header h1 {
    font-size: 52px;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 0.02em;
}

.recruit-lead {
    margin-bottom: 80px;
}

.recruit-lead h2 {
    font-size: 32px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.recruit-lead p {
    font-size: 16px;
    line-height: 2;
    color: #475569;
}


/* 募集項目 */

.recruit-block {
    margin-top: 60px;
}

.recruit-block h2 {
    font-size: 28px;
    margin-bottom: 30px;
}


/* 募集職種 */

.recruit-jobs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.recruit-job {
    padding: 30px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.recruit-job span {
    display: block;
    margin-bottom: 12px;
    color: #315f91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.recruit-job h3 {
    margin: 0;
    font-size: 20px;
}


/* 募集要項 */

.recruit-info {
    border-top: 1px solid #e2e8f0;
}

.recruit-info-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.recruit-info-title {
    padding: 25px 20px;
    background: #f8fafc;
    font-weight: 700;
}

.recruit-info-content {
    padding: 25px 20px;
    line-height: 1.9;
}


/* 応募 */

.recruit-contact {
    margin-top: 90px;
    padding: 60px;
    background: #0b2341;
    color: #ffffff;
}

.recruit-contact .section-label {
    color: #8eb5df;
}

.recruit-contact h2 {
    margin: 15px 0 20px;
    font-size: 32px;
}

.recruit-contact p {
    line-height: 1.9;
    color: #dbe7f5;
}


/* スマホ */

@media (max-width: 768px) {

    .news-single,
    .recruit-section {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .recruit-header {
        margin-bottom: 50px;
    }

    .recruit-header h1 {
        font-size: 38px;
    }

    .recruit-lead {
        margin-bottom: 50px;
    }

    .recruit-lead h2 {
        font-size: 25px;
    }

    .recruit-block {
        margin-top: 45px;
    }

    .recruit-block h2 {
        font-size: 24px;
    }

    .recruit-jobs {
        grid-template-columns: 1fr;
    }

    .recruit-info-row {
        display: block;
    }

    .recruit-info-title {
        padding: 16px 18px;
    }

    .recruit-info-content {
        padding: 18px;
    }

    .recruit-contact {
        padding: 35px 25px;
        margin-top: 60px;
    }

    .recruit-contact h2 {
        font-size: 26px;
    }
}

/* =========================
   Contact Form 7
========================= */

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content .wpcf7 {
    margin-top: 20px;
}

.page-content .wpcf7 form {
    padding: 50px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.page-content .wpcf7 label {
    display: block;
    margin-bottom: 28px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.page-content .wpcf7 input[type="text"],
.page-content .wpcf7 input[type="email"],
.page-content .wpcf7 input[type="tel"],
.page-content .wpcf7 select,
.page-content .wpcf7 textarea {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.page-content .wpcf7 input[type="text"],
.page-content .wpcf7 input[type="email"],
.page-content .wpcf7 input[type="tel"],
.page-content .wpcf7 select {
    min-height: 52px;
}

.page-content .wpcf7 textarea {
    min-height: 220px;
    resize: vertical;
}

.page-content .wpcf7 input:focus,
.page-content .wpcf7 select:focus,
.page-content .wpcf7 textarea:focus {
    outline: none;
    border-color: #315b8a;
    box-shadow: 0 0 0 3px rgba(49, 91, 138, 0.1);
}

.page-content .wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    background: #0b1f3a;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.page-content .wpcf7 input[type="submit"]:hover {
    background: #163b6d;
    transform: translateY(-2px);
}

.page-content .wpcf7 .wpcf7-not-valid {
    border-color: #dc2626;
}

.page-content .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
}

.page-content .wpcf7 .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px 18px;
    border: 1px solid #d1d5db;
    color: #374151;
}


/* =========================
   Contact Page
========================= */

.page-section {
    padding-top: 120px;
    padding-bottom: 140px;
}

.page-section .section-heading {
    margin-bottom: 70px;
}

.page-section .section-heading h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.4;
}


/* =========================
   Contact Form Mobile
========================= */

@media (max-width: 768px) {

    .page-section {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .page-section .section-heading {
        margin-bottom: 45px;
    }

    .page-section .section-heading h1 {
        font-size: 38px;
    }

    .page-content .wpcf7 form {
        padding: 30px 22px;
    }

    .page-content .wpcf7 label {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .page-content .wpcf7 input[type="text"],
    .page-content .wpcf7 input[type="email"],
    .page-content .wpcf7 input[type="tel"],
    .page-content .wpcf7 select,
    .page-content .wpcf7 textarea {
        font-size: 16px;
    }

    .page-content .wpcf7 textarea {
        min-height: 180px;
    }

    .page-content .wpcf7 input[type="submit"] {
        width: 100%;
    }

}

/* ヒーロー画像 */
.hero {
    position: relative;
    min-height: 650px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.90) 30%,
        rgba(255,255,255,0.55) 50%,
        rgba(255,255,255,0.05) 75%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* ========================================
   BUSINESS
======================================== */

.business-section {
    padding: 140px 0 150px;
    background: #f4f7fa;
}

.business-heading {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 65px;
}

.business-heading-title .section-label {
    margin-bottom: 14px;
}

.business-heading-title h2 {
    margin: 0;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #081a33;
}

.business-heading-text h3 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.5;
    color: #081a33;
}

.business-heading-text p {
    margin: 0;
    max-width: 650px;
    font-size: 16px;
    line-height: 2;
    color: #536174;
}


/* 4カード */

.business-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}


/* カード */

.business-card-new {
    position: relative;
    min-height: 480px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: flex-end;
}


/* 写真 */

.business-card-cleaning {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-cleaning.jpg");
}

.business-card-operation {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-operation.jpg");
}

.business-card-human {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-human.jpg");
}

.business-card-newbusiness {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-newbusiness.jpg");
}


/* ネイビーのオーバーレイ */

.business-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 25, 48, 0.94) 0%,
            rgba(5, 25, 48, 0.82) 35%,
            rgba(5, 25, 48, 0.25) 72%,
            rgba(5, 25, 48, 0.05) 100%
        );
}


/* カード内 */

.business-card-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 520px;

    padding: 55px 50px;

    color: #fff;
}


/* 番号 */

.business-number-new {
    display: inline-block;

    margin-bottom: 28px;
    padding-bottom: 10px;

    border-bottom: 1px solid rgba(255,255,255,0.8);

    font-size: 48px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.04em;
}


/* タイトル */

.business-card-content h3 {
    margin: 0 0 25px;

    font-size: 31px;
    line-height: 1.45;
    font-weight: 700;

    color: #fff;
}


/* 説明 */

.business-card-content p {
    margin: 0;

    max-width: 450px;

    font-size: 15px;
    line-height: 2;

    color: rgba(255,255,255,0.92);
}


/* ホバー */

.business-card-new {
    transition: transform 0.4s ease;
}

.business-card-new:hover {
    transform: translateY(-5px);
}

.business-card-new::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255,255,255,0.06);

    opacity: 0;

    transition: opacity 0.4s ease;
}

.business-card-new:hover::after {
    opacity: 1;
}


/* ========================================
   TABLET
======================================== */

@media screen and (max-width: 900px) {

    .business-section {
        padding: 100px 0;
    }

    .business-heading {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 45px;
    }

    .business-heading-title h2 {
        font-size: 42px;
    }

    .business-heading-text h3 {
        font-size: 26px;
    }

    .business-card-new {
        min-height: 430px;
    }

    .business-card-content {
        padding: 40px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media screen and (max-width: 600px) {

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

    .business-heading {
        gap: 20px;
    }

    .business-heading-title h2 {
        font-size: 36px;
    }

    .business-heading-text h3 {
        font-size: 22px;
    }

    .business-heading-text p {
        font-size: 14px;
    }

    .business-grid-new {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .business-card-new {
        min-height: 420px;
    }

    .business-card-content {
        padding: 35px 28px;
    }

    .business-number-new {
        font-size: 38px;
        margin-bottom: 22px;
    }

    .business-card-content h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .business-card-content p {
        font-size: 14px;
        line-height: 1.9;
    }

}

/* ========================================
   BUSINESS CARD IMAGE FIX
======================================== */

.business-card-new {
    position: relative !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 01 清掃事業 */
.business-card-cleaning {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-cleaning.png") !important;
}

/* 02 運営代行 */
.business-card-operation {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-operation.png") !important;
}

/* 03 外国人労働者紹介 */
.business-card-human {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-human.png") !important;
}

/* 04 新規事業 */
.business-card-newbusiness {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-newbusiness.png") !important;
}

/* 画像の上にかける暗いオーバーレイ */
.business-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(5, 25, 48, 0.82),
        rgba(5, 25, 48, 0.30)
    ) !important;
    z-index: 1 !important;
}

/* 文字をオーバーレイより上に */
.business-card-content {
    position: relative !important;
    z-index: 2 !important;
}

/* ========================================
   STRENGTH
======================================== */

.strength-section {
    background: #ffffff;
    padding: 140px 0;
}

.strength-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 80px;
}

.strength-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #071a33;
}

.strength-heading-text {
    max-width: 520px;
    margin-left: auto;
}

.strength-heading-text p {
    margin: 0;
    color: #506176;
    font-size: 16px;
    line-height: 2;
}


/* 3カラム */

.strength-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}


/* カード */

.strength-card-new {
    padding-top: 28px;
    border-top: 2px solid #0b315c;
}


/* 上部 */

.strength-card-top {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 55px;
}

.strength-number-new {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #174d83;
}

.strength-line {
    height: 1px;
    flex: 1;
    background: #d6dde5;
}


/* タイトル */

.strength-card-new h3 {
    margin: 0 0 30px;
    color: #071a33;
    font-size: 27px;
    line-height: 1.55;
    letter-spacing: -0.025em;
}


/* 本文 */

.strength-card-new p {
    margin: 0;
    color: #637286;
    font-size: 15px;
    line-height: 2;
}


/* ホバー */

.strength-card-new {
    transition: transform 0.3s ease;
}

.strength-card-new:hover {
    transform: translateY(-6px);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .strength-section {
        padding: 100px 0;
    }

    .strength-heading {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .strength-heading-text {
        margin-left: 0;
    }

    .strength-grid-new {
        grid-template-columns: 1fr;
        gap: 60px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

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

    .strength-heading h2 {
        font-size: 42px;
    }

    .strength-card-top {
        margin-bottom: 35px;
    }

    .strength-card-new h3 {
        font-size: 23px;
    }

    .strength-card-new p {
        font-size: 14px;
    }

}

/* ========================================
   STRENGTH
======================================== */

.strength-section {
    padding: 140px 0;
    background: #ffffff;
}

.strength-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 90px;
    align-items: center;
}


/* 左：画像 */

.strength-image {
    width: 100%;
    overflow: hidden;
}

.strength-image img {
    display: block;
    width: 100%;
    height: 680px;
    object-fit: cover;
}


/* 右：コンテンツ */

.strength-content {
    padding: 20px 0;
}

.strength-content h2 {
    margin: 15px 0 30px;
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #071a33;
}

.strength-intro {
    max-width: 560px;
    margin-bottom: 55px;
    color: #536273;
    font-size: 16px;
    line-height: 2.1;
}


/* 強み一覧 */

.strength-list {
    border-top: 1px solid #d9dee5;
}

.strength-card {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;
    padding: 32px 0;
    border-bottom: 1px solid #d9dee5;
}

.strength-number {
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1;
    color: #174b82;
    letter-spacing: 0.03em;
}

.strength-card-content h3 {
    margin: 0 0 14px;
    color: #071a33;
    font-size: 22px;
    line-height: 1.55;
    letter-spacing: 0.03em;
}

.strength-card-content p {
    margin: 0;
    color: #657384;
    font-size: 14px;
    line-height: 1.9;
}


/* ========================================
   SP
======================================== */

@media (max-width: 900px) {

    .strength-section {
        padding: 90px 0;
    }

    .strength-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .strength-image img {
        height: 500px;
    }

    .strength-content h2 {
        font-size: 42px;
    }

}


@media (max-width: 600px) {

    .strength-section {
        padding: 70px 0;
    }

    .strength-image img {
        height: 380px;
    }

    .strength-content h2 {
        font-size: 36px;
    }

    .strength-intro {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 35px;
    }

    .strength-card {
        grid-template-columns: 55px 1fr;
        gap: 15px;
        padding: 25px 0;
    }

    .strength-number {
        font-size: 30px;
    }

    .strength-card-content h3 {
        font-size: 18px;
    }

    .strength-card-content p {
        font-size: 13px;
    }

}

/* ==================================================
   清掃事業ページ
================================================== */

.cleaning-page {
    color: #0b1f3a;
    background: #fff;
}

.cleaning-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.cleaning-section {
    padding: 120px 0;
}

.cleaning-label {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
    color: #174d83;
}

.cleaning-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.97) 0%,
            rgba(255,255,255,.88) 40%,
            rgba(255,255,255,.15) 75%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ChatGPT-Image-2026年8月16日-22_04_34.png")
        center center / cover no-repeat;
}

.cleaning-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.18;
    letter-spacing: -.04em;
}

.cleaning-hero-text {
    margin-top: 35px;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 500;
}

.cleaning-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.cleaning-section h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.3;
    letter-spacing: -.04em;
}

.cleaning-text {
    font-size: 16px;
    line-height: 2.1;
    color: #536174;
}

.cleaning-text p {
    margin: 0 0 28px;
}

.cleaning-facilities {
    background: #f4f7fa;
}

.cleaning-section-heading {
    margin-bottom: 60px;
}

.cleaning-facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #dce2e8;
}

.cleaning-facility-card {
    min-height: 280px;
    padding: 50px;
    background: #fff;
}

.cleaning-facility-card span,
.cleaning-service-list span,
.cleaning-strength-item span,
.cleaning-flow-list span {
    display: block;
    margin-bottom: 35px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    color: #174d83;
}

.cleaning-facility-card h3 {
    margin: 0 0 20px;
    font-size: 28px;
}

.cleaning-facility-card p {
    margin: 0;
    color: #536174;
    line-height: 1.9;
}

.cleaning-service-list {
    border-top: 1px solid #cfd6de;
}

.cleaning-service-list > div {
    display: grid;
    grid-template-columns: 80px 320px 1fr;
    gap: 30px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid #cfd6de;
}

.cleaning-service-list span {
    margin: 0;
}

.cleaning-service-list h3 {
    margin: 0;
    font-size: 21px;
}

.cleaning-service-list p {
    margin: 0;
    color: #536174;
    line-height: 1.8;
}

.cleaning-strength {
    background: #f4f7fa;
}

.cleaning-strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.cleaning-strength-item {
    padding-top: 30px;
    border-top: 2px solid #0b1f3a;
}

.cleaning-strength-item h3 {
    margin: 0 0 25px;
    font-size: 25px;
    line-height: 1.5;
}

.cleaning-strength-item p {
    margin: 0;
    color: #536174;
    line-height: 2;
}

.cleaning-flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: #dce2e8;
}

.cleaning-flow-list > div {
    padding: 40px 30px;
    background: #fff;
}

.cleaning-flow-list span {
    margin-bottom: 25px;
}

.cleaning-flow-list h3 {
    margin: 0 0 15px;
    font-size: 20px;
}

.cleaning-flow-list p {
    margin: 0;
    color: #536174;
    line-height: 1.8;
}

.cleaning-contact {
    padding: 120px 0;
    background: #0b1f3a;
    color: #fff;
}

.cleaning-contact .cleaning-label {
    color: #a9c5e0;
}

.cleaning-contact h2 {
    margin: 0 0 30px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.35;
}

.cleaning-contact p:not(.cleaning-label) {
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 2;
    color: #d9e2ed;
}

.cleaning-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 17px 35px;
    border-radius: 999px;
    background: #fff;
    color: #0b1f3a;
    font-weight: 700;
    text-decoration: none;
}


/* スマホ */

@media (max-width: 768px) {

    .cleaning-container {
        width: calc(100% - 40px);
    }

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

    .cleaning-hero {
        min-height: 560px;
    }

    .cleaning-hero h1 {
        font-size: 42px;
    }

    .cleaning-hero-text {
        font-size: 18px;
    }

    .cleaning-two-column {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cleaning-facility-grid {
        grid-template-columns: 1fr;
    }

    .cleaning-facility-card {
        min-height: auto;
        padding: 35px;
    }

    .cleaning-service-list > div {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .cleaning-service-list p {
        grid-column: 2;
    }

    .cleaning-strength-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cleaning-flow-list {
        grid-template-columns: 1fr;
    }

    .cleaning-contact {
        padding: 80px 0;
    }

}

/* ========================================
   BUSINESS PAGE
======================================== */

.business-page {
    color: #071a33;
    background: #fff;
}

.business-page-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}


/* HERO */

.business-page-hero {
    min-height: 540px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.98) 0%,
            rgba(255,255,255,.92) 42%,
            rgba(255,255,255,.15) 100%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ys-hero-city.png")
        center / cover no-repeat;
}

.business-page-label {
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
    color: #174d83;
}

.business-page-hero h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.15;
    letter-spacing: -.05em;
}

.business-page-hero-text {
    margin-top: 35px;
    font-size: 20px;
    line-height: 1.9;
}


/* INTRO */

.business-page-intro {
    padding: 130px 0;
}

.business-page-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.business-page-intro h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.45;
    letter-spacing: -.04em;
}

.business-page-intro-text {
    color: #536174;
    font-size: 16px;
    line-height: 2.1;
}

.business-page-intro-text p {
    margin: 0 0 28px;
}


/* BUSINESS LIST */

.business-page-list {
    padding: 130px 0;
    background: #f4f7fa;
}

.business-page-section-heading {
    margin-bottom: 60px;
}

.business-page-section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.2;
}


/* CARDS */

.business-page-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.business-page-card {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;

    overflow: hidden;

    color: #fff;
    text-decoration: none;

    background-size: cover;
    background-position: center;
}

.business-page-card-cleaning {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-cleaning.png");
}

.business-page-card-operation {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-operation.png");
}

.business-page-card-human {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-human.png");
}

.business-page-card-newbusiness {
    background-image: url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-newbusiness.png");
}

.business-page-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,25,48,.92) 0%,
            rgba(5,25,48,.65) 45%,
            rgba(5,25,48,.10) 100%
        );
}

.business-page-card-content {
    position: relative;
    z-index: 2;

    padding: 50px;
}

.business-page-card-content > span {
    display: block;
    margin-bottom: 30px;

    font-size: 48px;
    line-height: 1;
}

.business-page-card-content h3 {
    margin: 0 0 22px;

    color: #fff;
    font-size: 30px;
    line-height: 1.45;
}

.business-page-card-content p {
    max-width: 450px;
    margin: 0 0 28px;

    color: rgba(255,255,255,.9);
    font-size: 15px;
    line-height: 2;
}

.business-page-card-content strong {
    font-size: 13px;
    letter-spacing: .15em;
    color: #fff;
}


/* CONTACT */

.business-page-contact {
    padding: 120px 0;

    background: #0b1f3a;
    color: #fff;
}

.business-page-contact .business-page-label {
    color: #a9c5e0;
}

.business-page-contact h2 {
    margin: 0 0 45px;

    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.4;
}

.business-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    padding: 17px 35px;

    border-radius: 999px;

    background: #fff;
    color: #0b1f3a;

    font-weight: 700;
    text-decoration: none;
}


/* HOVER */

.business-page-card {
    transition: transform .4s ease;
}

.business-page-card:hover {
    transform: translateY(-6px);
}


/* MOBILE */

@media (max-width: 768px) {

    .business-page-container {
        width: calc(100% - 40px);
    }

    .business-page-hero {
        min-height: 500px;
    }

    .business-page-hero h1 {
        font-size: 46px;
    }

    .business-page-intro {
        padding: 80px 0;
    }

    .business-page-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .business-page-list {
        padding: 80px 0;
    }

    .business-page-cards {
        grid-template-columns: 1fr;
    }

    .business-page-card {
        min-height: 430px;
    }

    .business-page-card-content {
        padding: 35px 28px;
    }

    .business-page-card-content h3 {
        font-size: 26px;
    }

    .business-page-contact {
        padding: 80px 0;
    }

}

/* ========================================
   BUSINESS DETAIL PAGE
======================================== */

.business-detail-page {
    color: #071a33;
    background: #fff;
}

.business-detail-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.business-detail-label {
    margin: 0 0 20px;
    color: #174d83;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
}


/* HERO */

.business-detail-hero {
    min-height: 620px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5,25,48,.95) 0%,
            rgba(5,25,48,.72) 48%,
            rgba(5,25,48,.15) 100%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-operation.png")
        center / cover no-repeat;

    color: #fff;
}

.business-detail-hero .business-detail-label {
    color: #b8d0e8;
}

.business-detail-hero h1 {
    margin: 0;

    color: #fff;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 1.2;
    letter-spacing: -.05em;
}

.business-detail-lead {
    margin-top: 35px;

    color: rgba(255,255,255,.9);
    font-size: 19px;
    line-height: 2;
}


/* ABOUT */

.business-detail-about {
    padding: 140px 0;
}

.business-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.business-detail-grid h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.45;
    letter-spacing: -.04em;
}

.business-detail-text {
    color: #536174;
    font-size: 16px;
    line-height: 2.1;
}

.business-detail-text p {
    margin: 0 0 28px;
}


/* SERVICE */

.business-detail-service {
    padding: 130px 0;
    background: #f4f7fa;
}

.business-detail-heading {
    margin-bottom: 70px;
}

.business-detail-heading h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.2;
}


.business-detail-service-list {
    border-top: 1px solid #cbd3dc;
}

.business-detail-service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;

    padding: 45px 0;

    border-bottom: 1px solid #cbd3dc;
}

.business-detail-service-item > span {
    font-size: 18px;
    font-weight: 700;
    color: #174d83;
}

.business-detail-service-item h3 {
    margin: 0 0 15px;

    font-size: 26px;
    line-height: 1.5;
}

.business-detail-service-item p {
    max-width: 700px;
    margin: 0;

    color: #536174;
    line-height: 2;
}


/* STRENGTH */

.business-detail-strength {
    padding: 140px 0;
}


/* CONTACT */

.business-detail-contact {
    padding: 120px 0;

    background: #0b1f3a;
    color: #fff;
}

.business-detail-contact .business-detail-label {
    color: #a9c5e0;
}

.business-detail-contact h2 {
    margin: 0 0 45px;

    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.4;
}

.business-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    padding: 17px 35px;

    border-radius: 999px;

    background: #fff;
    color: #0b1f3a;

    font-weight: 700;
    text-decoration: none;
}


/* MOBILE */

@media (max-width: 768px) {

    .business-detail-container {
        width: calc(100% - 40px);
    }

    .business-detail-hero {
        min-height: 540px;
    }

    .business-detail-about,
    .business-detail-strength {
        padding: 80px 0;
    }

    .business-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .business-detail-service {
        padding: 80px 0;
    }

    .business-detail-service-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
        padding: 35px 0;
    }

    .business-detail-service-item h3 {
        font-size: 22px;
    }

    .business-detail-contact {
        padding: 80px 0;
    }

}

/* ========================================
   HUMAN RESOURCE PAGE
======================================== */

.business-detail-human {
    background:
        linear-gradient(
            90deg,
            rgba(5,25,48,.95) 0%,
            rgba(5,25,48,.72) 48%,
            rgba(5,25,48,.15) 100%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-human.png")
        center / cover no-repeat;
}

/* ========================================
   NEW BUSINESS PAGE
======================================== */

.business-detail-newbusiness {
    background:
        linear-gradient(
            90deg,
            rgba(5,25,48,.95) 0%,
            rgba(5,25,48,.72) 48%,
            rgba(5,25,48,.15) 100%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-newbusiness.png")
        center / cover no-repeat;
}

/* ========================================
   STRENGTH PAGE
======================================== */

.strength-page {
    color: #071a33;
    background: #fff;
}

.strength-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.strength-label {
    margin: 0 0 22px;
    color: #174d83;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
}


/* HERO */

.strength-hero {
    min-height: 620px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5,25,48,.95) 0%,
            rgba(5,25,48,.72) 48%,
            rgba(5,25,48,.15) 100%
        ),
        url("https://ysgroup.info/wp-content/uploads/2026/08/ys-business-cleaning.png")
        center / cover no-repeat;

    color: #fff;
}

.strength-hero .strength-label {
    color: #b8d0e8;
}

.strength-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.2;
    letter-spacing: -.05em;
}

.strength-hero-text {
    margin-top: 35px;
    color: rgba(255,255,255,.9);
    font-size: 19px;
    line-height: 2;
}


/* INTRO */

.strength-intro {
    padding: 140px 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 100px;
    align-items: start;
}

.strength-grid > div {
    min-width: 0;
}

.strength-grid h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.45;
    letter-spacing: -.04em;
    word-break: normal;
    overflow-wrap: normal;
}

.strength-grid h2,
.strength-quality-grid h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.45;
    letter-spacing: -.04em;
}

.strength-text {
    color: #536174;
    font-size: 16px;
    line-height: 2.1;
}

.strength-text p {
    margin: 0 0 28px;
}


/* STRENGTH LIST */

.strength-list {
    padding: 130px 0;
    background: #f4f7fa;
}

.strength-section-heading {
    margin-bottom: 70px;
}

.strength-section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.2;
}


.strength-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #cbd3dc;
}

.strength-card {
    min-height: 430px;
    padding: 45px 40px;
    background: #f4f7fa;
}

.strength-card-number {
    margin-bottom: 80px;
    color: #174d83;
    font-size: 18px;
    font-weight: 700;
}

.strength-card-content h3 {
    margin: 0 0 28px;
    font-size: 28px;
    line-height: 1.5;
}

.strength-card-content p {
    margin: 0;
    color: #536174;
    font-size: 15px;
    line-height: 2;
}


/* QUALITY */

.strength-quality {
    padding: 140px 0;
}

.strength-quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* REPORT */

.strength-report {
    padding: 130px 0;
    background: #f4f7fa;
}

.strength-report-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 80px;
    background: #fff;
}

.strength-report-box h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.45;
    letter-spacing: -.04em;
}

.strength-report-text {
    color: #536174;
    font-size: 16px;
    line-height: 2.1;
}


/* CONTACT */

.strength-contact {
    padding: 120px 0;
    background: #0b1f3a;
    color: #fff;
}

.strength-contact .strength-label {
    color: #a9c5e0;
}

.strength-contact h2 {
    margin: 0 0 45px;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.4;
}

.strength-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    padding: 17px 35px;

    border-radius: 999px;

    background: #fff;
    color: #0b1f3a;

    font-weight: 700;
    text-decoration: none;
}


/* MOBILE */

@media (max-width: 768px) {

    .strength-container {
        width: calc(100% - 40px);
    }

    .strength-hero {
        min-height: 540px;
    }

    .strength-intro,
    .strength-quality {
        padding: 80px 0;
    }

    .strength-grid,
    .strength-quality-grid,
    .strength-report-box {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .strength-list,
    .strength-report {
        padding: 80px 0;
    }

    .strength-cards {
        grid-template-columns: 1fr;
    }

    .strength-card {
        min-height: auto;
        padding: 40px 30px;
    }

    .strength-card-number {
        margin-bottom: 45px;
    }

    .strength-report-box {
        padding: 40px 30px;
    }

    .strength-contact {
        padding: 80px 0;
    }

}

/* ========================================
   STRENGTH PAGE - FULL WIDTH FIX
======================================== */

.page-content .strength-page {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.strength-page .strength-container {
    width: min(1200px, calc(100% - 80px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.strength-page .strength-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.strength-page .strength-grid > div {
    min-width: 0;
}

.strength-page .strength-grid h2 {
    width: 100%;
    max-width: 520px;
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.45;
    letter-spacing: -.04em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.strength-page .strength-quality-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 100px;
}

.strength-page .strength-report-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 100px;
}


/* 3つの強みを横長にする */

.strength-page .strength-cards {
    display: block;
    background: transparent;
}

.strength-page .strength-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;
    min-height: auto;
    padding: 55px 0;
    border-top: 1px solid #cbd3dc;
    background: transparent;
}

.strength-page .strength-card:last-child {
    border-bottom: 1px solid #cbd3dc;
}

.strength-page .strength-card-number {
    margin: 0;
    font-size: 18px;
}

.strength-page .strength-card-content {
    max-width: 750px;
}

.strength-page .strength-card-content h3 {
    margin: 0 0 20px;
    font-size: 30px;
    line-height: 1.5;
}

.strength-page .strength-card-content p {
    max-width: 700px;
    margin: 0;
}


/* スマホ */

@media (max-width: 768px) {

    .page-content .strength-page {
        width: 100vw;
    }

    .strength-page .strength-container {
        width: calc(100% - 40px);
    }

    .strength-page .strength-grid,
    .strength-page .strength-quality-grid,
    .strength-page .strength-report-box {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .strength-page .strength-card {
        grid-template-columns: 50px 1fr;
        gap: 20px;
        padding: 40px 0;
    }

}

/* 強みページ：本文幅の調整 */

.strength-page .strength-grid .strength-text {
    width: 100%;
    max-width: 600px;
}

.strength-page .strength-grid .strength-text p {
    max-width: 600px;
}

.strength-page .strength-quality-grid .strength-text {
    width: 100%;
    max-width: 600px;
}

.strength-page .strength-quality-grid .strength-text p {
    max-width: 600px;
}

/* ========================================
   STRENGTH PAGE
   OUR PHILOSOPHY / THREE STRENGTHS
======================================== */

/* OUR PHILOSOPHY */

.strength-page .strength-grid {
    width: min(1136px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 90px;
    align-items: start;
}

.strength-page .strength-grid > div {
    min-width: 0;
}

/* 左側の見出し */

.strength-page .strength-grid h2 {
    width: 100%;
    max-width: 560px;

    margin: 0;

    font-size: 48px;
    line-height: 1.45;
    letter-spacing: -0.03em;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

/* 右側の本文 */

.strength-page .strength-grid .strength-text {
    width: 100%;
    max-width: 520px;
}

.strength-page .strength-grid .strength-text p {
    margin: 0 0 28px;

    font-size: 16px;
    line-height: 2;
}


/* ========================================
   THREE STRENGTHS
======================================== */

.strength-page .strength-cards {
    width: min(1136px, calc(100% - 80px));
    margin: 0 auto;
}

.strength-page .strength-card {
    display: grid;
    grid-template-columns: 80px minmax(280px, 1fr) minmax(300px, 1fr);
    column-gap: 25px;

    padding: 24px 0;

    border-top: 1px solid #d7dde5;
}

.strength-page .strength-card:last-child {
    border-bottom: 1px solid #d7dde5;
}

.strength-page .strength-card-number {
    font-size: 18px;
    line-height: 1.5;
}

.strength-page .strength-card-content {
    min-width: 0;
}

.strength-page .strength-card-content h3 {
    margin: 0;

    font-size: 24px;
    line-height: 1.5;
}

.strength-page .strength-card-content p {
    margin: 0;

    font-size: 16px;
    line-height: 1.9;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .strength-page .strength-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .strength-page .strength-grid h2 {
        max-width: none;
        font-size: 38px;
    }

    .strength-page .strength-grid .strength-text {
        max-width: none;
    }

    .strength-page .strength-cards {
        width: calc(100% - 40px);
    }

    .strength-page .strength-card {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .strength-page .strength-card-content p {
        grid-column: 2;
    }

}

/* ========================================
   私たちの強み
   OUR PHILOSOPHY レイアウト最終調整
======================================== */

/* セクション全体をページ幅いっぱいにする */
.strength-page {
    width: 100%;
}

.strength-page .strength-container {
    width: min(1136px, calc(100% - 80px));
    max-width: 1136px;
    margin-left: auto;
    margin-right: auto;
}

/* OUR PHILOSOPHY */
.strength-page .strength-grid {
    width: 100%;
    max-width: 1136px;
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 90px;
    align-items: start;
}

/* 左右のカラム */
.strength-page .strength-grid > div {
    width: 100%;
    min-width: 0;
}

/* 左側の見出し */
.strength-page .strength-grid h2 {
    width: 100%;
    max-width: 560px;

    margin: 0;

    font-size: 48px;
    line-height: 1.45;
    letter-spacing: -0.03em;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

/* 右側の文章 */
.strength-page .strength-grid .strength-text {
    width: 100%;
    max-width: 520px;
}

.strength-page .strength-grid .strength-text p {
    width: 100%;
    max-width: none;

    margin: 0 0 28px;

    font-size: 16px;
    line-height: 2;
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 768px) {

    .strength-page .strength-container {
        width: calc(100% - 40px);
    }

    .strength-page .strength-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .strength-page .strength-grid h2 {
        max-width: none;
        font-size: 38px;
    }

    .strength-page .strength-grid .strength-text {
        max-width: none;
    }

}

/* OUR PHILOSOPHY：横幅を確保 */
.strength-page .strength-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;

    width: 1100px !important;
    max-width: calc(100vw - 120px) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    column-gap: 100px !important;
}

/* 左カラム */
.strength-page .strength-grid > div:first-child {
    width: 100% !important;
}

/* 左見出し */
.strength-page .strength-grid > div:first-child h2 {
    width: 100% !important;
    max-width: 520px !important;

    font-size: 48px !important;
    line-height: 1.45 !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* 右カラム */
.strength-page .strength-grid .strength-text {
    width: 100% !important;
    max-width: 520px !important;
}

/* 右本文 */
.strength-page .strength-grid .strength-text p {
    width: 100% !important;
    max-width: none !important;

    font-size: 16px !important;
    line-height: 2 !important;
}

/* OUR PHILOSOPHYを画面中央基準にする */

.strength-page .strength-grid {
    position: relative !important;

    width: 1100px !important;
    max-width: 1100px !important;

    margin-left: 50vw !important;
    margin-right: 0 !important;

    transform: translateX(-50%) !important;

    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
column-gap: 70px !important;

.strength-grid h2 {
    width: 100% !important;
    max-width: none !important;
    white-space: normal !important;
}

/* ========================================
   OUR PHILOSOPHY
======================================== */

.strength-philosophy {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f5f8fb;
    overflow: hidden;
}

.strength-philosophy-inner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* 左側 */
.strength-philosophy-content {
    position: relative;
    z-index: 3;

    width: 58%;
    height: 100%;

    padding: 42px 30px 40px 5%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        to right,
        #f5f8fb 0%,
        #f5f8fb 68%,
        rgba(245,248,251,0.95) 80%,
        rgba(245,248,251,0) 100%
    );
}

/* OUR PHILOSOPHY */
.strength-philosophy-label {
    margin: 0 0 18px;

    color: #0b4a8b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* 見出し */
.strength-philosophy-content h2 {
    margin: 0 0 25px;

    color: #0b2341;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: 0;
}

/* 説明文 */
.strength-philosophy-text {
    margin: 0;

    color: #263b55;

    font-size: 13px;
    line-height: 1.9;
}

/* 右側画像 */
.strength-philosophy-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 58%;
    height: 100%;

    z-index: 1;
}

.strength-philosophy-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

    .strength-philosophy-inner {
        height: auto;
    }

    .strength-philosophy-content {
        width: 100%;
        height: auto;

        padding: 40px 25px 35px;

        background: #f5f8fb;
    }

    .strength-philosophy-content h2 {
        font-size: 27px;
        line-height: 1.55;
    }

    .strength-philosophy-text {
        font-size: 13px;
    }

    .strength-philosophy-image {
        position: relative;

        width: 100%;
        height: 280px;
    }
}

