/* china-markceting: ヘッダー無し・独自フッターの単独LP。寸法・切り替え幅（1140/840/540px）は元サイト（STUDIO）に合わせる。
   本文は標準ブロックで編集し、ブロックに付けた追加CSSクラス（cm-*）で見た目を付ける。 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&family=Montserrat:wght@900&family=Source+Sans+3:wght@700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* ===== 共通 ===== */
body.cm-page { margin: 0; background: #fff; color: #333; font-family: "Noto Sans JP", sans-serif; overflow-x: hidden; }
/* ヘッダーのないLPなので、サイト共通のスマホ用ヘッダーの余白・ボタンは出さない */
body.cm-page.mblt-header-mobile-buttons { margin-top: 0; }
.cm-page :is(.mobile-header-menu-buttons, .mobile-footer-menu-buttons) { display: none !important; }
.cm-page main { display: block; overflow-x: clip; }
.cm-page main :is(h1, h2, h3, h4, p, figure, ul, li) { margin: 0; padding: 0; border: none; background: none; }
.cm-page main :is(h1, h2, h3, h4) { color: #333; font-family: "Noto Sans JP", sans-serif; line-height: 1.4; }
.cm-page main :is(h1, h2, h3, h4)::before, .cm-page main :is(h1, h2, h3, h4)::after { content: none; }
.cm-page main .wp-block-group { box-sizing: border-box; margin: 0; }
.cm-page main .wp-block-group > * { margin-block: 0; }
:where(.cm-page main) img { display: block; max-width: 100%; height: auto; }
.cm-page main a { color: inherit; text-decoration: none; }
.cm-page main > .wp-block-group { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; }
/* 見出し（日本語＋緑の英字） */
.cm-head { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cm-page main .cm-head h2 { font-size: 34px; font-weight: 700; }
.cm-page main .cm-en { font-family: Barlow, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; color: #418e43; }

/* ===== メインビジュアル ===== */
.cm-page main .cm-hero { display: grid; grid-template-columns: 50% 40%; grid-template-areas: "text phones" "badges phones"; justify-content: center; align-content: start; padding: 80px 20px; overflow: hidden; background: url(/wp-content/uploads/2026/10/s-1512x731_v-fms_webp_bd4279b0-9ba8-4da5-9a09-5e195bccb0cf.webp) -50px -50px / 100% auto no-repeat; }
/* 右上の赤いリング（元サイトはFont Awesomeのアイコンを800pxで表示） */
.cm-hero::before { content: ""; position: absolute; top: -271px; right: -236px; width: 550px; height: 550px; border: 100px solid #e9535e; border-radius: 50%; box-sizing: border-box; }
.cm-hero > * { position: relative; z-index: 1; }
.cm-hero-text { grid-area: text; justify-self: center; display: flex; flex-direction: column; gap: 11px; }
.cm-page main .cm-hero h1 { font-size: 40px; font-weight: 700; line-height: 1.6; }
.cm-page main .cm-hero-text p { font-size: 26px; font-weight: 700; line-height: 1.5; }
.cm-hero-text strong { color: #e9535e; font-weight: 900; }
.cm-page main .cm-hero-badges { grid-area: badges; justify-self: center; width: 600px; max-width: 100%; }
.cm-page main .cm-hero-phones { grid-area: phones; align-self: start; width: 100%; }
.cm-hero-badges img, .cm-hero-phones img { width: 100%; }

/* ===== 取引先ロゴ（右へ流れ続ける） ===== */
.cm-page main .cm-logos { height: 152px; margin-bottom: 40px; overflow: hidden; justify-content: center; align-items: flex-start; }
.cm-page main .cm-logos-track { display: flex; flex-direction: row; align-items: center; gap: 64px; width: max-content; animation: cm-logos 60s linear infinite; }
.cm-logos-track img { width: auto; height: 100px; object-fit: contain; opacity: .8; transition: opacity .3s; }
.cm-logos-track img:hover { opacity: 1; }
@keyframes cm-logos { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ===== 動画 ===== */
.cm-page main .cm-video { gap: 40px; padding: 80px 0; }
/* 元サイトは1140px以下で画面幅いっぱいだが、左右に余白を残して16:9のまま縮める */
.cm-video-frame { width: min(800px, calc(100% - 40px)); aspect-ratio: 16 / 9; }
/* Cocoonが動画を幅640pxの入れ物（.video-container > .video）で包むため、枠いっぱいに広げる */
.cm-page main .cm-video-frame :is(.video-container, .video) { position: relative; width: 100%; max-width: none; height: 100%; margin: 0; padding: 0; }
.cm-video-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

/* ===== スライダー共通（矢印はJSで追加） ===== */
.cm-carousel { position: relative; width: 100%; overflow: hidden; }
.cm-page main .cm-carousel-track { display: flex; flex-direction: row; transition: transform .6s cubic-bezier(.58, .21, .41, .96); will-change: transform; }
.cm-carousel-track > * { flex: 0 0 auto; }
.cm-carousel-nav { position: absolute; z-index: 3; display: flex; align-items: center; pointer-events: none; }
.cm-carousel-nav button { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; padding: 0; border: none; border-radius: 50%; background: #418e43; cursor: pointer; pointer-events: auto; transition: background .3s; }
.cm-carousel-nav button:hover { background: #e1e1e1; }
.cm-carousel-nav button::before { content: ""; width: 13px; height: 13px; border: solid #fff; border-width: 0 0 4px 4px; transform: translateX(3px) rotate(45deg); }
.cm-carousel-nav .cm-next::before { transform: translateX(-3px) rotate(-135deg); }

/* ===== 運用実績 ===== */
.cm-page main .cm-achv { gap: 40px; padding: 80px 0; }
.cm-achv-carousel { padding: 0 20px 120px; }
.cm-page main .cm-achv-carousel .cm-carousel-track { gap: 40px; }
.cm-achv-carousel .cm-carousel-nav { left: 0; right: 0; bottom: 0; height: 88px; justify-content: center; gap: 80px; }
.cm-page main .cm-achv-slide { width: calc(50% - 20px); height: 760px; padding: 24px; border: 5px solid #418e43; border-radius: 20px; background: #fff; display: flex; flex-direction: column; align-items: center; }
.cm-page main .cm-achv-card { width: 70%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 20px; box-shadow: 0 0 5px 5px rgba(0, 0, 0, .2); }
.cm-page main .cm-achv-tag { padding: 2px 11px 3px; border-radius: 40px; background: #ff702e; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.cm-page main .cm-achv-img { display: flex; align-items: center; justify-content: center; width: 352px; max-width: 100%; height: 235px; background: #fff; }
.cm-achv-img figure { width: 211px; height: 200px; }
.cm-achv-img img { width: 100%; height: 100%; object-fit: cover; }
.cm-page main .cm-achv-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
.cm-page main .cm-achv-name { font-size: 16px; font-weight: 500; line-height: 1.4; height: 26px; }
.cm-page main .cm-achv-title { font-size: 18px; font-weight: 700; line-height: 1.4; height: 29px; }
.cm-page main .cm-achv-item { display: flex; flex-direction: column; gap: 6px; }
.cm-page main .cm-achv-item:nth-child(3) { justify-content: center; height: 58px; }
.cm-page main .cm-achv-result { height: 166px; padding-top: 24px; }
.cm-page main .cm-achv-key { color: #a5a5a5; font-size: 16px; font-weight: 500; line-height: 1.4; }
.cm-page main .cm-achv-val { font-size: 16px; font-weight: 400; line-height: 1.4; }

/* ===== コラム（840px以下は出さない） ===== */
.cm-page main .cm-column { padding: 100px 0; }
.cm-page main .cm-column-grid { display: flex; flex-flow: row wrap; justify-content: space-between; gap: 16px; width: 70%; }
.cm-page main .cm-column-card { width: calc((100% - 32px) / 3); background: #fff; }
.cm-column-card a { display: block; padding: 24px; font-family: Montserrat, "Noto Sans JP", sans-serif; font-size: 18px; font-weight: 900; line-height: 1.2; color: #333; }
.cm-viewmore a { display: flex; align-items: center; gap: 8px; font-family: "Source Sans 3", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.4; color: #333; }
.cm-viewmore a::after { content: ""; width: 47px; height: 47px; background: url(/wp-content/uploads/2026/10/s-188x188_webp_a1425b86-d524-480d-97ef-1d8c5b9ed4f8.webp) center / contain no-repeat; }

/* ===== 中国向けSNS施策の課題 ===== */
.cm-page main .cm-problem { gap: 40px; padding: 80px 0; background: #f1f1f1; }
.cm-page main .cm-problem h2 { font-size: 32px; font-weight: 500; text-align: center; }
.cm-page main .cm-problem-list { width: 816px; max-width: 100%; padding: 44px 42px; border-radius: 20px; list-style: none; box-sizing: border-box; }
.cm-page main .cm-problem-list li { position: relative; padding-left: 12px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.cm-page main .cm-problem-list li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid #c3c3c3; }
.cm-problem-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #4f96ba; }
.cm-problem-list li + li::before { top: calc(20px + .7em); }
.cm-problem-cta { display: flex; flex-direction: column; align-items: center; }
.cm-page main .cm-problem-cta p { color: #e9535e; font-size: 20px; font-weight: 700; line-height: 1.4; text-align: center; }
.cm-problem-lead br { display: none; }
.cm-problem-lead2 strong { font-size: 32px; font-weight: 700; }
.cm-problem-btn .wp-block-button__link { display: block; padding: 10px 110px; border-radius: 0; background: #418e43; box-shadow: 0 4px 4px rgba(0, 0, 0, .2); color: #fff; font-size: 24px; font-weight: 500; line-height: 1.4; }

/* ===== 私たちができること（左右にずれて重なるカード） ===== */
.cm-page main .cm-services { gap: 40px; padding: 80px 0; box-shadow: -5px 6px 31px rgba(0, 0, 0, .2); z-index: 1; }
.cm-page main :is(.cm-services, .cm-strength, .cm-mission) > h2 { font-size: 40px; font-weight: 500; text-align: center; }
.cm-page main .cm-svc-row { display: flex; flex-direction: row; align-items: flex-start; gap: 52px; width: 100%; margin: -100px -100px 0 100px; padding: 50px 200px 100px 50px; border-radius: 53px; background: #fff; box-shadow: 15px 15px 31px rgba(0, 0, 0, .2); }
.cm-page main .cm-svc-row:first-of-type { margin-top: 0; }
.cm-page main .cm-svc-row.is-reverse { flex-direction: row-reverse; justify-content: flex-end; align-items: center; margin: -100px 100px 0 -100px; padding: 50px 50px 100px 200px; background: #efefef; }
.cm-page main .cm-svc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; width: calc(50% - 26px); }
.cm-page main .cm-svc-head { display: flex; flex-direction: row; align-items: center; }
.cm-svc-head figure { flex: 0 0 auto; width: 105px; height: 79px; }
.cm-page main .cm-svc-label { color: #418e43; font-size: 30px; font-weight: 600; line-height: 1.4; }
.cm-page main .is-reverse .cm-svc-label { font-size: 24px; }
.cm-page main .cm-svc-body { font-size: 16px; font-weight: 700; line-height: 1.6; }
.cm-page main .cm-svc-photo { width: calc(50% - 26px); }

/* ===== 弊社の強み ===== */
.cm-page main .cm-strength { gap: 40px; padding: 80px 0; box-shadow: -5px 6px 31px rgba(0, 0, 0, .2); }
.cm-page main .cm-str-row { display: flex; flex-direction: row; align-items: center; gap: 42px; width: 100%; padding: 50px 100px; background: #efefef; }
.cm-page main .cm-str-row.is-reverse { flex-direction: row-reverse; background: #fff; }
.cm-page main .cm-str-illust { width: calc(30% - 12.6px); }
.cm-page main .cm-str-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: calc(70% - 29.4px); }
.cm-page main .cm-str-body h3 { color: #000; font-size: 32px; font-weight: 600; }
.cm-page main .cm-str-lead { color: #000; font-size: 16px; line-height: 1.4; }
.cm-page main .cm-str-steps { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 11px; width: 100%; margin-top: 38px; }
.cm-page main .cm-str-step { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 200px; }
/* 「分析 × 戦略 × 制作」の × */
.cm-page main .cm-str-x { flex: 0 0 auto; padding: 28px 0; color: #418e43; font-size: 24px; line-height: 20px; }
.cm-page main .cm-str-label { width: 100%; padding: 16px 0; border-radius: 8px; background: #418e43; color: #fff; font-size: 30px; font-weight: 600; line-height: 1.4; text-align: center; }
.cm-page main .cm-str-text { font-size: 16px; line-height: 1.6; }

/* ===== 実績動画 ===== */
.cm-page main .cm-works { gap: 50px; padding: 80px 0; }
.cm-page main .cm-works .cm-head h2 { font-size: 32px; }
.cm-page main .cm-works .cm-en { font-size: 16px; }
.cm-page main .cm-works-sub { color: #e9535e; font-size: 20px; font-weight: 500; line-height: 1.4; }
.cm-page main .cm-works-carousel .cm-carousel-track { gap: 64px; }
.cm-works-carousel .cm-carousel-nav { left: 0; right: 0; top: 400px; height: 88px; justify-content: space-between; padding: 0 40px; }
.cm-page main .cm-work { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 280px; }
.cm-page main .cm-work-thumb { width: 280px; height: 517px; }
.cm-work-thumb a, .cm-work-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cm-page main .cm-work-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 280px; height: 336px; padding: 24px; border: 3px solid #d0d0d0; border-radius: 10px; background: #fff; overflow: hidden; }
.cm-page main .cm-work-box p { font-size: 14px; line-height: 1.4; }
.cm-page main .cm-work-box .cm-work-title { font-size: 16px; font-weight: 700; text-decoration: underline; }

/* ===== 提供サービス一覧 ===== */
.cm-page main .cm-svcicons { gap: 40px; padding: 80px 0; }
.cm-page main .cm-svcicon-grid { display: flex; flex-flow: row wrap; justify-content: center; gap: 23px; width: 100%; padding: 10px; }
.cm-page main .cm-svcicon { display: flex; flex-direction: column; align-items: center; gap: 20px; width: calc(26% - 17px); }
.cm-svcicon figure { width: 195px; height: 195px; }
.cm-svcicon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cm-page main .cm-svcicon-text { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; }
.cm-page main .cm-svcicon-text h3 { font-size: 20px; font-weight: 800; }
.cm-page main .cm-svcicon-text p { font-size: 18px; font-weight: 500; line-height: 1.4; }

/* ===== 中国マーケティングは篤月にお任せください ===== */
.cm-page main .cm-mission { gap: 40px; padding: 80px 0; background: #fff9f6; }
.cm-page main .cm-mission-sub { font-size: 24px; line-height: 1.4; }
.cm-page main .cm-mission-text { width: 100%; font-size: 18px; line-height: 2; text-align: center; }
.cm-page main .cm-mission-text.cm-sp { display: none; }

/* ===== チーム紹介 ===== */
.cm-page main .cm-team { gap: 16px; padding: 80px 0 28px; }
.cm-page main .cm-team-sub { font-size: 18px; font-weight: 500; line-height: 1.4; }
.cm-page main .cm-team-sub2 { margin-top: -8px; font-size: 20px; font-weight: 500; line-height: 1.4; text-align: center; }
.cm-page main .cm-team-grid { display: flex; flex-flow: row wrap; justify-content: center; gap: 16px 40px; width: 906px; max-width: 100%; }
.cm-page main .cm-member { display: flex; flex-direction: row; align-items: flex-start; width: 433px; min-height: 424px; padding-top: 24px; }
.cm-member-photo { flex: 0 0 auto; width: 160px; height: 160px; }
.cm-member-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cm-page main .cm-member-text { display: flex; flex-direction: column; align-items: flex-start; width: 256px; margin-left: 17px; }
.cm-page main .cm-member-role { color: #ff702e; font-size: 18px; font-weight: 500; line-height: 30px; }
.cm-page main .cm-member-name { padding: 5px 0; font-size: 20px; font-weight: 500; line-height: 28px; }
.cm-page main .cm-member-bio { font-size: 16px; font-weight: 500; line-height: 2; }

/* ===== 料金プラン ===== */
.cm-page main .cm-pricing { gap: 40px; padding: 80px 20px; background: #f9f9f9; }
.cm-page main .cm-price-box { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 640px; max-width: 100%; padding: 24px; border: 3px solid #d9d9d9; border-radius: 20px; background: #fff; }
.cm-page main .cm-price-list { font-size: 20px; font-weight: 500; line-height: 1.5; }
.cm-page main .cm-price-pill { display: flex; align-items: center; justify-content: center; width: 100%; height: 34px; margin-bottom: 13px; border-radius: 40px; background: #ffe47f; font-size: 18px; font-weight: 700; letter-spacing: .05em; line-height: 1.4; }
.cm-price-pill::before { content: "lightbulb_outline"; font-family: "Material Icons"; font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1; color: #222; font-feature-settings: "liga"; }
.cm-page main .cm-price-box .cm-price-text { width: 100%; color: #000; font-size: 16px; font-weight: 500; line-height: 1.6; }
.cm-page main .cm-price-box .cm-price-text + .cm-price-text { margin-top: -12px; }

/* ===== 導入の流れ ===== */
.cm-page main .cm-flow { gap: 40px; padding: 80px 0 100px; }
.cm-page main .cm-flow-steps { display: flex; flex-flow: row wrap; justify-content: center; }
.cm-page main .cm-flow-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 148px; }
.cm-page main .cm-flow-step:not(:last-child) { margin-right: 28px; }
/* ステップ間の矢印 */
.cm-flow-step:not(:last-child)::after { content: ""; position: absolute; top: 76px; right: -24px; width: 20px; height: 40px; background: url(/wp-content/uploads/2026/10/s-80x161_webp_b0f74fdb-7c6e-4e76-aefb-4e4acc004567.webp) center / contain no-repeat; }
.cm-page main .cm-flow-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 100px; height: 100px; border-radius: 50%; background: #418e43; }
.cm-flow-step:nth-child(1) .cm-flow-icon img { width: 60px; }
.cm-flow-step:nth-child(2) .cm-flow-icon img { width: 52px; }
.cm-flow-step:nth-child(3) .cm-flow-icon img { width: 46px; }
.cm-flow-step:nth-child(4) .cm-flow-icon img { width: 68px; }
.cm-flow-step:nth-child(5) .cm-flow-icon img { width: 56px; }
.cm-flow-step:nth-child(6) .cm-flow-icon img { width: 56px; }
.cm-flow-step:nth-child(7) .cm-flow-icon img { width: 64px; }
.cm-page main .cm-flow-text { display: flex; flex-direction: column; align-items: center; }
.cm-page main .cm-flow-num { color: #418e43; font-family: Barlow, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cm-page main .cm-flow-label { min-height: 50px; font-size: 18px; font-weight: 500; line-height: 1.4; text-align: center; }

/* ===== よくある質問 ===== */
.cm-page main .cm-faq { gap: 40px; padding: 80px 20px; background: #fff9f6; }
.cm-page main .cm-faq-item { display: flex; flex-direction: column; justify-content: center; gap: 20px; width: 800px; max-width: 100%; min-height: 190px; padding: 32px 40px; border-radius: 20px; background: #fff; box-shadow: 0 0 25px rgba(255, 37, 0, .25); }
.cm-page main :is(.cm-faq-q, .cm-faq-a) { position: relative; padding-left: 30px; font-size: 18px; line-height: 1.4; }
.cm-page main .cm-faq-q { font-weight: 700; }
.cm-page main .cm-faq-a { padding-left: 28px; font-weight: 500; }
.cm-faq-q::before, .cm-faq-a::before { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: Arial, sans-serif; font-size: 20px; font-weight: 900; line-height: 1; }
.cm-faq-q::before { content: "Q"; color: #222; }
.cm-faq-a::before { content: "A"; color: #ff702e; }

/* ===== お問い合わせ ===== */
.cm-page main .cm-contact { padding: 64px 0; }
.cm-page main .cm-contact .cm-head { height: 122px; }
.cm-page main .cm-contact-lead { width: 560px; max-width: 90%; margin-bottom: 24px; font-size: 14px; line-height: 1.4; text-align: center; }
.cm-contact .wpcf7 { width: 572px; max-width: 90%; }
.cm-contact .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.cm-contact .wpcf7-form p { margin: 0; }
.cm-contact .wpcf7-form br { display: none; }
.cm-form-field > p { display: flex; flex-direction: column; gap: 4px; }
.cm-form-field label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: #333; }
.cm-form-field .required { color: #f23a3c; font-size: 12px; }
.cm-contact .cm-form-field :is(input, textarea) { box-sizing: border-box; width: 100%; height: 50px; padding: 10px; border: 1px solid #eee; border-radius: 4px; background: #f6f6f6; color: #333; font-family: inherit; font-size: 15px; line-height: 1.4; }
.cm-contact .cm-form-field textarea.wpcf7-textarea { height: 120px; min-height: 0; resize: none; }
.cm-form-field :is(input, textarea)::placeholder { color: #e0e0e0; }
.cm-form-radio-group .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 30px; }
.cm-form-radio-group .wpcf7-list-item { margin: 0; }
.cm-form-radio-group .wpcf7-list-item label { box-sizing: border-box; width: 180px; height: 40px; padding: 10px; align-items: center; gap: 10px; cursor: pointer; }
.cm-form-radio-group .wpcf7-list-item label:hover { background: #fafafa; }
.cm-form-radio-group input[type="radio"] { width: 15px; height: 15px; margin: 0; }
.cm-contact .cm-form-privacy { font-size: 14px; line-height: 1.4; color: #333; }
.cm-form-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; }
.cm-form-agree .wpcf7-list-item { margin: 0; }
.cm-form-agree input { width: 13px; height: 13px; margin: 0; }
.cm-contact input.cm-form-submit { display: block; width: 400px; max-width: 100%; height: 48px; margin: 0 auto; border: none; border-radius: 40px; background: #418e43; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; }
.cm-contact .wpcf7-spinner { position: absolute; }

/* ===== 会社概要・コピーライト（テンプレート側） ===== */
.cm-footer { display: flex; flex-direction: column; align-items: center; padding: 80px 0 0; background: #f9f9f9; }
.cm-footer .cm-head { height: 122px; }
.cm-footer .cm-head h2 { margin: 0; color: #333; font-size: 34px; font-weight: 700; line-height: 1.4; }
.cm-footer .cm-en { margin: 0; font-family: Barlow, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; color: #418e43; }
.cm-company-table { width: 800px; max-width: 100%; }
.cm-company-table .row { display: flex; border-bottom: 1px solid #d7d7d7; }
.cm-company-table .row > div { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; height: 80px; padding: 24px 16px; font-size: 16px; line-height: 1.4; }
.cm-company-table .row .k { flex: 0 0 240px; color: #7a7a7a; }
.cm-company-table .row > div:last-child { flex: 1 1 auto; min-width: 0; color: #000; overflow-wrap: anywhere; }
.cm-footer-sns-label { margin: 0; padding-top: 58px; font-size: 16px; line-height: 1.4; color: #333; }
.cm-footer-sns { display: flex; align-items: center; gap: 40px; padding: 30px 40px; }
.cm-footer-sns a { display: block; }
.cm-footer-sns img { display: block; width: 48px; height: 48px; object-fit: contain; }
.cm-footer-sns .cm-sns-tiktok { position: relative; }
.cm-footer-sns .cm-sns-tiktok-glyph { position: absolute; top: 50%; left: 50%; width: 30px; height: 35px; transform: translate(-50%, -50%); }
.cm-footer-sns .cm-sns-youtube img { width: 52px; height: 37px; }
.cm-footer-copy { align-self: stretch; margin: 80px 0 0; padding: 10px 0; background: #000; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; text-align: center; }

/* ===== 1140px以下 ===== */
@media screen and (max-width: 1140px) {
  .cm-page main .cm-achv-card { width: 90%; }
  .cm-page main .cm-column-card { width: calc(50% - 8px); }
  .cm-page main .cm-svc-row:nth-child(4) .cm-svc-label { font-size: 24px; }
  .cm-page main .cm-str-row { padding: 50px; }
  .cm-page main .cm-str-illust { width: 30%; }
  .cm-page main .cm-str-body { width: 70%; }
  .cm-page main .cm-str-step { width: calc(30% - 7px); }
  .cm-page main .cm-str-label { padding: 16px 0; }
  .cm-page main .cm-flow { padding: 80px 0; }
}

/* ===== 840px以下 ===== */
@media screen and (max-width: 840px) {
  .cm-page main .cm-hero { display: flex; flex-direction: column; align-items: center; gap: 30px; }
  .cm-hero::before { top: -263px; right: -225px; width: 412px; height: 412px; border-width: 75px; }
  .cm-hero-text { width: 90%; }
  .cm-page main .cm-hero-phones, .cm-page main .cm-hero-badges { width: 70%; }
  .cm-page main .cm-logos, .cm-page main .cm-column { display: none; }
  .cm-page main .cm-achv-slide { width: calc(80% - 8px); }
  .cm-page main .cm-svc-row, .cm-page main .cm-svc-row.is-reverse { flex-direction: column-reverse; align-items: flex-start; padding: 50px 20px 100px; }
  .cm-page main .cm-svc-row { margin: -100px -40px 0 40px; }
  .cm-page main .cm-svc-row.is-reverse { flex-direction: column; align-items: flex-end; margin: -100px 40px 0 -40px; }
  .cm-page main .cm-svc-row:first-of-type { margin-top: 0; }
  .cm-page main :is(.cm-svc-text, .cm-svc-photo) { width: 90%; }
  .cm-page main .cm-svc-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cm-page main .cm-svc-label { padding: 18px 0; }
  .cm-page main :is(.cm-services, .cm-strength) > h2 { font-size: 32px; }
  .cm-page main .cm-str-row, .cm-page main .cm-str-row.is-reverse { flex-direction: column; padding: 50px 20px; }
  .cm-page main .cm-str-illust { width: calc(50% - 21px); }
  .cm-page main .cm-str-body { align-items: center; width: 100%; }
  .cm-page main .cm-str-body > :is(h3, p) { width: 90%; }
  .cm-page main .cm-str-steps { flex-direction: column; align-items: center; gap: 11px; }
  .cm-page main .cm-str-step { width: 90%; }
  .cm-page main .cm-svcicon { width: calc(40% - 14px); }
  .cm-page main .cm-mission { padding: 80px 20px; }
  .cm-page main .cm-team { gap: 24px; }
  .cm-page main .cm-team-grid { gap: 24px; }
  .cm-page main .cm-member { min-height: 0; }
  .cm-form-radio-group .wpcf7-radio { flex-wrap: wrap; }
  .cm-footer { padding: 80px 20px 0; }
  .cm-company-table .row { flex-direction: column; padding: 32px 0; }
  .cm-company-table { width: 560px; }
  .cm-company-table .row > div { height: auto; min-height: 32px; padding: 0 16px; }
  .cm-company-table .row .k { flex-basis: auto; min-height: 32px; }
  .cm-footer-copy { margin: 80px -20px 0; }
}

/* ===== 540px以下 ===== */
@media screen and (max-width: 540px) {
  .cm-page main .cm-head h2 { font-size: 24px; }
  .cm-hero::before { top: -287px; right: -224px; }
  .cm-page main .cm-hero h1 { font-size: 24px; }
  .cm-page main .cm-hero-text p { font-size: 16px; }
  .cm-page main .cm-video { padding: 0; }
  .cm-achv-carousel { padding: 0 20px; }
  .cm-carousel-nav { display: none !important; }
  .cm-page main .cm-achv-slide { width: calc(90% - 4px); height: 800px; }
  .cm-page main .cm-achv-card { width: 100%; }
  .cm-page main .cm-achv-result { height: auto; }
  .cm-page main .cm-problem { padding: 80px 10px; }
  .cm-page main .cm-problem h2 { font-size: 24px; font-weight: 700; }
  .cm-page main .cm-problem-list { width: 90%; padding: 24px 22px; }
  .cm-page main .cm-problem-cta p { font-size: 24px; }
  .cm-problem-lead br { display: inline; }
  .cm-problem-btn .wp-block-button__link { padding: 24px 50px; }
  .cm-page main .cm-strength > h2 { font-size: 24px; }
  .cm-page main .cm-works { gap: 40px; }
  .cm-page main .cm-works .cm-head h2 { font-size: 24px; }
  .cm-page main .cm-works-sub { font-size: 18px; }
  .cm-page main .cm-svcicon { width: calc(60% - 9px); }
  .cm-page main .cm-mission > h2 { font-size: 24px; }
  .cm-page main .cm-mission-text.cm-pc { display: none; }
  .cm-page main .cm-mission-text.cm-sp { display: block; }
  .cm-page main .cm-team { gap: 48px; }
  .cm-page main .cm-team-grid { gap: 48px; }
  .cm-page main .cm-member { flex-wrap: wrap; justify-content: center; width: 90%; min-height: 0; padding-top: 0; }
  .cm-page main .cm-member-text { margin: 8px 0 0; }
  .cm-page main .cm-team-sub2 { margin-top: -40px; }
  .cm-page main .cm-price-box { padding: 14px; }
  .cm-page main .cm-flow-steps { flex-direction: column; align-items: center; }
  .cm-page main .cm-flow-step { flex-direction: row; justify-content: flex-start; width: 300px; }
  .cm-page main .cm-flow-step:not(:last-child) { margin: 0 0 40px; }
  .cm-flow-step:not(:last-child)::after { top: auto; right: auto; bottom: -40px; left: 40px; transform: rotate(90deg); }
  .cm-page main .cm-flow-text { align-items: flex-start; }
  .cm-page main .cm-flow-label { min-height: 0; text-align: left; }
  .cm-faq-q::before, .cm-faq-a::before { top: 3px; transform: none; }
  .cm-contact .wpcf7, .cm-page main .cm-contact-lead { width: 90%; max-width: 90%; }
  .cm-form-radio-group .wpcf7-radio { gap: 0; }
  .cm-form-radio-group .wpcf7-list-item { width: 50%; }
  .cm-form-radio-group .wpcf7-list-item label { width: 100%; }
}
