.company-section {
    border-top: 1px solid #E8E8E8;
    padding-top: 120px;
}

.company-section__container {
    margin-bottom: 7.5rem;
}

#companyHeading {
    margin-bottom: 60px;
}

#companyHeading h2 {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .company-section {
        padding-top: 60px;
    }

    .company-section__container {
        margin-bottom: 3.75rem;
        /* 60px相当 */
    }
}
.wwd-section {
    padding: 100px 0 100px;
    background-color: #fff;
}

.wwd-section__inner {
    max-width: 1280px;
    /* コンテンツ幅1200px + 左右padding40px*2 */
    margin: 0 auto;
    padding: 0 40px;
    /* 左右余白 */
}

.wwd-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.wwd-section__header .heading {
    margin-bottom: 30px;
}

.wwd-section__lead {
    font-size: 1rem;
    /* 16px */
    line-height: 2;
    color: #666;
    text-align: center;
    letter-spacing: 0.02em;
}

/* 4カラムリスト */
.wwd-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.wwd-item {
    width: calc(25% - 24px);
    max-width: 264px;
    /* 余白(約32px*3)を考慮した幅 */
}

.wwd-item__image {
    margin: 0 0 24px;
    padding: 0;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #e0e0e0;
    overflow: hidden;
}

.wwd-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wwd-item__image:hover img {
    transform: scale(1.05);
    /* 軽いホバー効果 */
}

.wwd-item__number {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 3.125rem;
    /* 50px */
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: 'Rokkitt', serif;
    /* タイトル(heading)と同じ英字フォントファミリー */
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.wwd-item__title {
    font-size: 1.25rem;
    /* 20px */
    font-weight: bold;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.wwd-item__catch {
    font-size: 1rem;
    /* 16px */
    font-weight: bold;
    color: #444;
    margin: 0 0 12px;
    line-height: 1.6;
}

.wwd-item__desc {
    font-size: 0.9375rem;
    /* 15px */
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.wwd-item__desc br {
    display: none;
    /* PCでは幅に応じて折り返し */
}

/* レスポンシブ対応 (SP) */
@media screen and (max-width: 768px) {
    .wwd-section {
        padding: 60px 0;
    }

    .wwd-section__inner {
        padding: 0 20px;
    }

    .wwd-section__header {
        margin-bottom: 40px;
    }

    .wwd-section__header .heading {
        margin-bottom: 24px;
    }

    .wwd-section__lead {
        font-size: 1rem;
        /* 16px相当 */
        line-height: 1.8;
    }

    /* 1カラム化 */
    .wwd-list {
        flex-direction: column;
        gap: 50px;
    }

    .wwd-item {
        width: 100%;
        max-width: 100%;
    }

    .wwd-item__image {
        aspect-ratio: 16 / 12;
        /* SP版の画像比率寄り */
        margin-bottom: 20px;
    }

    .wwd-item__title {
        text-align: center;
        margin-bottom: 12px;
    }

    .wwd-item__catch {
        text-align: center;
        font-size: 1rem;
        /* 16px相当 */
    }

    .wwd-item__desc {
        text-align: center;
        font-size: 0.9375rem;
        /* 15px相当 */
    }

    .wwd-item__desc br {
        display: block;
        /* SPではテキストの改行を活かす */
    }
}

/* 汎用クラス追加 */
.u-sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .u-sp-only {
        display: inline;
    }
}

/* Philosophy セクションのスタイル */
.philosophy-section {
    background-color: #000;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.philosophy-section__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.philosophy-section__header {
    margin-bottom: 60px;
}

#philosophyHeading {
    margin-bottom: 0;
}

.philosophy-section__heading h2 {
    color: #fff;
    margin-bottom: 0;
}

.philosophy-section__heading h2::before {
    background-color: #fff;
    /* 下線を白に */
}

.philosophy-section__content p {
    font-size: 1rem;
    /* 16px基準と想定 */
    line-height: 2.4;
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

.philosophy-section__content p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 (SP) */
@media screen and (max-width: 768px) {
    .philosophy-section {
        padding: 60px 0;
    }

    .philosophy-section__inner {
        padding: 0 20px;
    }

    .philosophy-section__header {
        margin-bottom: 60px;
    }

    #philosophyHeading h2 {
        margin: 0;
    }

    .philosophy-section__content p {
        font-size: 0.875rem;
        /* 14px */
        line-height: 2.2;
        margin-bottom: 40px;
        text-align: center;
    }
}

/* .new-list の余白調整 */
.new-list {
    padding-top: 200px;
}

@media screen and (max-width: 768px) {
    .new-list {
        padding-top: 60px;
        margin-bottom: 44px;
    }
}

/* .company-visual__image の背景画像変更 */
.company-visual__image {
    background-image: url(/wp-content/themes/odoroki/assets/_/public/company-visual-image.jpg);
    background-position: 50%;
}

/* .header__logo_img の背景画像変更 */
.header__logo_img {
    background-image: url(/wp-content/themes/odoroki/assets/_/public/logo_white_01.svg) !important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}

/* スクロール時（.active付与時）のロゴ背景画像変更 */
.header.active .header__logo_img {
    background-image: url(/wp-content/themes/odoroki/assets/_/public/logo_black_01.svg) !important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}

/* 業務内容リストの太字化 */
.company-content__description ol {
    font-weight: bold;
}

/* メインビジュアルのスタイル（参考ファイルからの移植） */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.main-visual__video {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 600ms ease;
    z-index: 0;
}

.main-visual__video.visible {
    opacity: 1;
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%,
            transparent 40%,
            rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.text-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.main-visual__title {
    font-family: 'Noto Serif JP', "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 6rem;
    /* 96px */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-align: center;
    opacity: 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 0;
}

.lang_en .main-visual__title {
    font-size: 3rem;
}

.main-visual__lead {
    font-family: 'Noto Serif JP', "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 1.375rem;
    /* 22px */
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.16em;
    text-align: center;
    white-space: nowrap;
    margin-top: calc(0.5em - 10px);
    opacity: 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
    .main-visual {
        height: 100vh;
        min-height: auto;
    }

    .main-visual__title {
        font-size: 20vw;
        margin-bottom: 0;
        letter-spacing: 0;
    }

    .lang_en .main-visual__title {
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .main-visual__lead {
        font-size: 4.6vw;
        letter-spacing: 0.05em;
    }
}