/*
Theme Name: Kankyo New
*/

/* =======================================================
   1. WordPress基本リセット（不要な余白削除）
   ======================================================= */
/* 全体の幅・高さを整える */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important; /* 横スクロール防止 */
}

/* 読み込みアニメーション等の非表示（以前の要望維持） */
.loading, .spinner, #nm-loading-bar, .loading-bar, [class*="loading"],
.page-enter-active, .page-leave-active, [data-v-277f8dd4] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 画像の表示保証 */
.sd:not(.appear), .sd:not(.appear)::before, .sd:not(.appear)::after, img {
    opacity: 1 !important;
    visibility: visible !important;
}


/* =======================================================
   2. ヘッダー固定（WordPress仕様）
   ======================================================= */
header, #header, .header {
    /* 絶対固定 */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;

    /* アニメーション停止（形を崩さないため） */
    transform: none !important;
    transition: none !important;
}

/* ヘッダーの中身（ロゴやメニュー）の崩れ防止 */
header *, #header *, .header * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* =======================================================
   3. 【重要】WordPress管理バー（黒いバー）対策
   ======================================================= */
/* ログイン中、WordPressは上部に32pxの隙間（黒いバー）を作ります。
   これを考慮しないと、ヘッダーがバーの下に潜り込んだり、変な隙間が空きます。
*/

/* 管理バーがある時だけ、ヘッダーを少し下げる */
body.admin-bar header,
body.admin-bar #header,
body.admin-bar .header {
    top: 32px !important;
}

/* スマホ閲覧時（管理バーが少し太くなる場合などの対策） */
@media screen and (max-width: 782px) {
    body.admin-bar header,
    body.admin-bar #header,
    body.admin-bar .header {
        top: 46px !important;
    }
}


/* =======================================================
   4. フッター・コンテンツ調整
   ======================================================= */
/* メインコンテンツの一番上を詰める（白い隙間削除） */
main, #main, .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* フッターは固定しない（通常配置） */
footer, #footer, .footer {
    position: relative !important;
    width: 100% !important;
    z-index: 1 !important;
    transform: none !important;
}


/* =======================================================
   5. アニメーション（IntersectionObserver 用）
   ======================================================= */
/* メインのみアニメーション対象（ヘッダー/フッターは除外） */
main .appear {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

main .appear.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* ヘッダー/フッターは常時表示 */
header .appear,
footer .appear {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 固定ヘッダーが効かない原因（祖先のtransform/overflow）を解除 */
#__nuxt,
.StudioCanvas,
.StudioCanvas > .sd,
.container,
[data-s-66e5ee07-e9fb-47f8-96c6-d2ee282a96e5] {
    transform: none !important;
}

header[data-s-75d168de-d428-4ee4-853c-f43c0b36f9e9] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
}

/* ヒーローセクションの上余白を削除（背景を最上部に） */
.sd[data-s-b8aab3b6-5ab7-402e-ba0a-e87eae3b6f21] {
    margin-top: 0 !important;
}

/* =======================================================
   6. アニメーション個別調整
   ======================================================= */
/* 取引企業数の背景（会議室画像）アニメーションOFF */
main .sd[data-s-19e9f8b2-f551-4cb1-aacc-a8a15fffeb0d].appear,
main .sd[data-s-19e9f8b2-f551-4cb1-aacc-a8a15fffeb0d].appear.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
}
/* 背景上のぼかし/グラデーションレイヤも固定 */
main .sd[data-s-94e39636-2dc7-4463-ab0f-60801655cf50].appear,
main .sd[data-s-94e39636-2dc7-4463-ab0f-60801655cf50].appear.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
}

/* 実例カード：画像と文字を同時に表示（遅延を解除） */
main .sd[data-s-e3f44c16-e579-43f0-b5fe-93cac00c901e].appear {
    transition-delay: 0s !important;
}
main .sd[data-s-e3f44c16-e579-43f0-b5fe-93cac00c901e] .appear {
    transition-delay: 0s !important;
}

/* ヒーロー背景はズームアウト */
main .sd[data-s-b8aab3b6-5ab7-402e-ba0a-e87eae3b6f21].appear {
    transform: scale(1.08) !important;
    transition: transform 1s ease !important;
}
main .sd[data-s-b8aab3b6-5ab7-402e-ba0a-e87eae3b6f21].appear.is-visible {
    transform: scale(1) !important;
}

/* ホーム：001.png を 002.png と同じ高さに合わせる */
main[data-s-432b113b-98b9-4f07-aff4-6bb59b49d35c] .sd[data-s-495cd8a5-cf7e-4267-a365-a7f570b916db] {
    height: 379px !important;
}
@media screen and (max-width: 840px) {
    main[data-s-432b113b-98b9-4f07-aff4-6bb59b49d35c] .sd[data-s-495cd8a5-cf7e-4267-a365-a7f570b916db] {
        height: 200px !important;
    }
}

/* ホームヒーローの行間を少し広げる */
main[data-s-432b113b-98b9-4f07-aff4-6bb59b49d35c] .sd[data-s-6990e502-8cfb-4736-bd88-72eb68b07839] {
    gap: 8px !important;
}

/* ヒーロー見出しは下からではなくフェードのみ（0.5秒） */
main .sd[data-s-140fee41-ff9b-45a3-9695-414e0a78ae04].appear {
    transform: none !important;
    filter: blur(8px) !important;
    opacity: 0 !important;
    transition-property: opacity, filter !important;
    transition-duration: 1s !important;
    transition-timing-function: ease !important;
    transition-delay: 0s !important;
}
main .sd[data-s-6990e502-8cfb-4736-bd88-72eb68b07839].appear,
main .sd[data-s-15acc6a2-f38d-4b7b-888e-801cec4b6ebd].appear,
main .sd[data-s-f05a33b2-e128-4a42-80bd-53fcb1e5c85e].appear,
main .sd[data-s-a44f40a3-0280-4818-a56b-a697eb5476f3].appear {
    transform: none !important;
    filter: blur(8px) !important;
    opacity: 0 !important;
    transition-property: opacity, filter !important;
    transition-duration: 1s !important;
    transition-timing-function: ease !important;
    transition-delay: 0s !important;
}
main .sd[data-s-140fee41-ff9b-45a3-9695-414e0a78ae04].appear.is-visible,
main .sd[data-s-6990e502-8cfb-4736-bd88-72eb68b07839].appear.is-visible,
main .sd[data-s-15acc6a2-f38d-4b7b-888e-801cec4b6ebd].appear.is-visible,
main .sd[data-s-f05a33b2-e128-4a42-80bd-53fcb1e5c85e].appear.is-visible,
main .sd[data-s-a44f40a3-0280-4818-a56b-a697eb5476f3].appear.is-visible {
    opacity: 1 !important;
    filter: none !important;
}

/* =======================================================
   7. 会社概要ページ レイアウト微調整
   ======================================================= */
/* Valueカードは縦並び（サンプルに合わせる） */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-ee907702-9cca-405a-851a-556145925d0f] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-5717bda2-65fc-42d6-bedf-f2970d28bb3f],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-12ae237b-4c53-433c-bcfd-54cc6d3ac939],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-609e0278-a98a-445f-8794-4713a21fcd57] {
    width: 100% !important;
    max-width: 100% !important;
}

/* Overviewを左揃え（CEO Messageと同じ幅に合わせる） */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-2eb1b1e0-1d0a-43b1-b542-2e4579e1decc],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-302ed68f-1bb0-4946-a793-50213250f1a5],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-d151564a-e31d-4eaa-8825-6a95e0e05689] {
    align-items: flex-start !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-2eb1b1e0-1d0a-43b1-b542-2e4579e1decc] {
    margin: 0 72px !important;
    padding: 0 !important;
    width: 1440px !important;
    max-width: calc(100% - 144px) !important;
}
@media screen and (max-width: 840px) {
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-2eb1b1e0-1d0a-43b1-b542-2e4579e1decc] {
        margin: 0 48px !important;
        width: auto !important;
        max-width: calc(100% - 96px) !important;
    }
}
@media screen and (max-width: 540px) {
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-2eb1b1e0-1d0a-43b1-b542-2e4579e1decc] {
        margin: 0 24px !important;
        width: auto !important;
        max-width: calc(100% - 48px) !important;
    }
}

/* Overview内のGoogle Mapを中央寄せ */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-7db5742b-2950-4835-a328-64beb7180b04] {
    margin: 56px auto 0 !important;
    width: 1440px !important;
    max-width: calc(100% - 144px) !important;
}
@media screen and (max-width: 840px) {
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-7db5742b-2950-4835-a328-64beb7180b04] {
        margin: 40px auto 0 !important;
        max-width: calc(100% - 96px) !important;
    }
}
@media screen and (max-width: 540px) {
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-7db5742b-2950-4835-a328-64beb7180b04] {
        margin: 40px auto 0 !important;
        width: 90% !important;
        max-width: 90% !important;
    }
}

/* CEO Message / Overview 見出し */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9] {
    color: #4fae76 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46] {
    color: #777 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Value 見出し */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-9d7baa3c-16c8-4bba-b359-4fa899feba55] {
    color: #4fae76 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-ea4da0f9-edb9-4acf-8670-7d37a1c9f72b] {
    color: #777 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Valueカードの文字・配置 */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-405e9cc1-9d3e-4250-ba1f-53c8681c3c0a],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-2287a647-fb91-46da-8562-741a3d75cb21],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-6b456e46-1300-48e1-8c37-ce61a77e7206] {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-effec486-2707-4fca-9327-a9baf61d6b19],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-7b75d56c-c15c-4d1e-9c9c-50d75ec9c6b4],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-9df2ad0d-a03a-47de-a0ed-ff5ed594f8f1] {
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Valueカードのアイコン形状を統一 */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-21f380d9-8d73-4d9e-8517-4389b25b3afd],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-17c1a0a9-a226-4503-88b8-00ecfe6d19e0],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-8d9354ff-a472-4f31-9244-dc11e1735b61] {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: #e6f2ec !important;
    color: #4fae76 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}

/* CompanyページのCSSが当たらない場合の保険（mainなし） */
.sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9],
.sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9] {
    color: #4fae76 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
.sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46],
.sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46] {
    color: #777 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
}
.sd[data-s-9d7baa3c-16c8-4bba-b359-4fa899feba55] {
    color: #4fae76 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
.sd[data-s-ea4da0f9-edb9-4acf-8670-7d37a1c9f72b] {
    color: #777 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
}
.sd[data-s-405e9cc1-9d3e-4250-ba1f-53c8681c3c0a],
.sd[data-s-2287a647-fb91-46da-8562-741a3d75cb21],
.sd[data-s-6b456e46-1300-48e1-8c37-ce61a77e7206] {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
.sd[data-s-effec486-2707-4fca-9327-a9baf61d6b19],
.sd[data-s-7b75d56c-c15c-4d1e-9c9c-50d75ec9c6b4],
.sd[data-s-9df2ad0d-a03a-47de-a0ed-ff5ed594f8f1] {
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}
.sd[data-s-21f380d9-8d73-4d9e-8517-4389b25b3afd],
.sd[data-s-17c1a0a9-a226-4503-88b8-00ecfe6d19e0],
.sd[data-s-8d9354ff-a472-4f31-9244-dc11e1735b61] {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: #e6f2ec !important;
    color: #4fae76 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}

/* Company page: match section headings to Services style */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-059c9dbc-7457-4ee6-8086-5eab55c7b1c9] {
    color: transparent !important;
    font-family: var(--s-font-f9ac651d) !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    background: var(--s-color-99ac853d) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-e7c05820-6aeb-44b4-b5c8-091b43b1ec86] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-237f5ca7-b1ab-4e5c-b572-6e6c0e6221d8] .sd[data-s-a9815f5b-c37a-454a-9512-ecbeaf465d46] {
    color: var(--s-color-3ca27dfc) !important;
    font-family: var(--s-font-9d800cba) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Company page: Value heading + subtitle */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-9d7baa3c-16c8-4bba-b359-4fa899feba55] {
    color: var(--s-color-aabf31dd) !important;
    font-family: var(--s-font-f9ac651d) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-ea4da0f9-edb9-4acf-8670-7d37a1c9f72b] {
    color: var(--s-color-3ca27dfc) !important;
    font-family: var(--s-font-9d800cba) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Company page: Value cards horizontal layout */
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-ee907702-9cca-405a-851a-556145925d0f] {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    align-items: stretch !important;
}
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-5717bda2-65fc-42d6-bedf-f2970d28bb3f],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-12ae237b-4c53-433c-bcfd-54cc6d3ac939],
main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-609e0278-a98a-445f-8794-4713a21fcd57] {
    width: calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
    align-items: flex-start !important;
    padding: 24px !important;
}

@media screen and (max-width: 840px) {
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-ee907702-9cca-405a-851a-556145925d0f] {
        flex-direction: column !important;
    }
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-5717bda2-65fc-42d6-bedf-f2970d28bb3f],
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-12ae237b-4c53-433c-bcfd-54cc6d3ac939],
    main[data-s-197662db-84a8-48fc-bfd8-1866fd1e73f1] .sd[data-s-609e0278-a98a-445f-8794-4713a21fcd57] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Works: View More */
.works-item.is-hidden {
    display: none !important;
}

.works-view-more-wrap {
    width: 100%;
    padding-bottom: 120px;
}

.works-view-more {
    border: 1px solid var(--s-color-1ea9a158);
    border-radius: 999px;
    color: var(--s-color-1ea9a158);
    font-family: var(--s-font-f9ac651d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 10px 24px;
    text-transform: none;
}

.works-view-more:hover {
    background: rgba(79, 174, 118, 0.08);
}

@media screen and (max-width: 840px) {
    .works-view-more-wrap {
        padding-bottom: 80px;
    }
}

/* Works: No Image placeholder + button layout */
.works-view-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
}

.image.sd.no-image {
    background: #f2f4f4 !important;
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

.works-no-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, 0.4);
    font-family: var(--s-font-f9ac651d);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Works: Single post layout */
.works-article {
    width: 100%;
    padding: 0 32px 120px;
    box-sizing: border-box;
}

.works-article-inner {
    width: 100%;
    max-width: 960px;
    gap: 24px;
    align-items: flex-start;
}

.works-article-client {
    color: var(--s-color-1ea9a158);
    font-family: var(--s-font-f9ac651d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.works-article-title {
    color: var(--s-color-3ca27dfc);
    font-family: var(--s-font-f9ac651d);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.works-article-hero {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.works-article-content {
    color: var(--s-color-3ca27dfc);
    font-family: var(--s-font-9d800cba);
    font-size: 16px;
    line-height: 1.9;
}

.works-article-back {
    color: var(--s-color-1ea9a158);
    font-family: var(--s-font-f9ac651d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 840px) {
    .works-article {
        padding: 0 24px 80px;
    }
    .works-article-title {
        font-size: 24px;
    }
    .works-article-hero {
        height: 260px;
    }
}

@media screen and (max-width: 540px) {
    .works-article {
        padding: 0 16px 64px;
    }
    .works-article-hero {
        height: 220px;
    }
}
