@font-face {
  font-family: "Noto Sans JP";
  /* format("woff2-variations") は未実装の記法で、ブラウザが src を読み飛ばしていた。
     可変フォントも format("woff2") で 100〜900 の全ウェイトが使える。 */
  src: local("Noto Sans JP"), local("NotoSansJP"), url("../fonts/NotoSansJP-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #062b72;
  --blue: #0b45a0;
  --blue-2: #1674cf;
  --ink: #111827;
  --muted: #333333;
  --line: #dbe3ee;
  --soft: #f3f7fc;
  --gold: #d9a92f;
  --white: #fff;
  --shell: 1180px;
  --shadow: 0 18px 55px rgb(9 42 94 / 12%);

  /* ヘッダー実高: .site-header__inner 92px + .site-nav 49px + border-bottom 1px */
  --header-h: 142px;
  --admin-bar-h: 0px;

  /* 子ページ共通のヒーロー見出しサイズ。変更はここ1箇所で全ページに効く。 */
  --hero-h1: clamp(2.35rem, 3vw, 3.5rem);
  /* 見出しが長いページ用（基幹システム）。2行に収まる上限。 */
  --hero-h1-long: clamp(1.6rem, 2.6vw, 2.35rem);
}

/* ファーストビューの利用可能高。個々のページで数値を持たせない。 */
body { --fv-h: calc(100svh - var(--header-h) - var(--admin-bar-h)); }
body.admin-bar { --admin-bar-h: 32px; }
@media (max-width: 960px) { :root { --header-h: 75px; } }
@media (max-width: 782px) { body.admin-bar { --admin-bar-h: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.9; font-kerning: normal; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; font-family: inherit; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
p, li, dd, dt { line-height: 1.9; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--navy); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 3px; }

/* ヘッダー固定。position: sticky なので場所を占めたまま貼り付き、
   --header-h を使ったFV高さの計算（100svh - ヘッダー - 管理バー）はそのまま成立する。
   管理バー表示中はその下に貼り付くよう top をずらす。 */
.site-header { position: sticky; top: var(--admin-bar-h, 0px); z-index: 100; border-bottom: 1px solid #edf0f4; background: rgb(255 255 255 / 97%); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; min-width: 285px; align-items: center; gap: 14px; }
.brand__mark { position: relative; display: grid; width: 64px; aspect-ratio: 1; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 4px; background: linear-gradient(145deg, #0c3f91, #00194e); box-shadow: 0 7px 18px rgb(2 33 91 / 22%); }
.brand__mark::before, .brand__mark::after, .brand__mark i { position: absolute; content: ""; border-style: solid; border-width: 15px 0 15px 26px; border-color: transparent transparent transparent #fff; }
.brand__mark::before { transform: translateX(-6px) scale(1.22); opacity: .42; }
.brand__mark::after { transform: translateX(1px) scale(.82); }
.brand__mark i { transform: translateX(-1px) scale(.42); border-left-color: #124895; }
.brand__logo img { width: 64px; max-height: 64px; object-fit: contain; }
.brand > span:last-child { display: grid; }
.brand strong { font-size: clamp(1rem, 2vw, 1.42rem); line-height: 1.4; letter-spacing: .04em; }
.brand small { font-size: .69rem; font-weight: 700; }
.site-header__contact { display: flex; align-items: center; gap: 20px; }
.header-phone { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 7px; color: var(--navy); line-height: 1.25; }
.header-phone .dashicons { grid-row: 1 / 4; }
.header-phone strong { font-size: 1.22rem; letter-spacing: .05em; }
.header-phone small { color: var(--ink); font-size: .68rem; }
.site-nav { min-height: 49px; }
.site-nav__list, .site-nav ul { display: flex; height: 49px; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.6vw, 37px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: grid; height: 100%; place-items: center; font-size: .84rem; font-weight: 800; white-space: nowrap; }
.site-nav a::after { position: absolute; right: 50%; bottom: 0; left: 50%; height: 3px; content: ""; background: var(--blue); transition: left .2s, right .2s; }
.site-nav a:hover::after, .site-nav .current-menu-item a::after { right: 0; left: 0; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 8px; border: 0; color: var(--navy); background: transparent; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }
.menu-toggle b { display: block; font-size: 8px; letter-spacing: .1em; }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border: 1px solid var(--navy); border-radius: 3px; color: #fff; background: var(--navy); box-shadow: 0 8px 24px rgb(4 44 112 / 14%); font-weight: 800; line-height: 1.4; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: #0b4096; box-shadow: 0 12px 30px rgb(4 44 112 / 25%); }
.button--small { min-height: 44px; padding: 10px 16px; font-size: .78rem; }
.button--outline { color: var(--navy); background: #fff; }
/* hover時に .button:hover の背景色だけが効いて紺文字＋濃紺背景になるため、文字色も反転させる */
.button--outline:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; display: grid; min-height: 620px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr); gap: 46px; padding-block: 84px 94px; }
.hero__copy { position: relative; z-index: 2; max-width: 690px; }
.hero__solution { margin: 0 0 8px; color: var(--blue); font-size: clamp(3.6rem, 7.4vw, 6.7rem); font-weight: 800; letter-spacing: .035em; line-height: .95; }
.eyebrow { margin: 0 0 12px; color: var(--navy); font-size: .92rem; font-weight: 900; letter-spacing: .06em; }
.hero h1 { margin: 0 0 24px; font-size: clamp(3rem, 4.1vw, 4rem); font-weight: 800; letter-spacing: .01em; line-height: 1.38; }
.hero--home h1 { white-space: nowrap; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__lead { max-width: 720px; margin: 0 0 7px; font-size: 1.0625rem; font-weight: 700; line-height: 1.9; }
.hero__lead-mobile-break { display: none; }
.hero__copy > p:last-of-type { color: var(--muted); }
.hero--home .hero__lead, .hero--home .hero__copy > p:last-of-type { font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.hero--home { min-height: var(--fv-h); }
.hero--home .eyebrow { display: none; }
.hero--home .hero__solution { font-size: clamp(3.75rem, 5.125vw, 5rem); line-height: 1.12; }
.hero--home h1 { font-size: clamp(2.4rem, 3.28vw, 3.2rem); }
.hero--home .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(270px, .45fr); min-height: var(--fv-h); padding-block: clamp(52px, 7vh, 86px); }
.hero--home .hero__media { position: absolute; inset: 0; background-position: 68% center; background-repeat: no-repeat; background-size: cover; opacity: var(--dcs-home-image-opacity, .96); }
.hero--home .hero__media--mobile { display: none; }
.hero--home::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgb(255 255 255 / 15%) 0%, rgb(255 255 255 / 14%) 31%, rgb(255 255 255 / 10%) 48%, rgb(255 255 255 / 1.5%) 78%); }
.hero__picture { position: relative; }
.hero__picture::before { position: absolute; z-index: -1; top: -30px; right: -80px; width: 440px; height: 440px; content: ""; border-radius: 50%; background: #e8f2ff; }
.hero__picture img { width: 100%; aspect-ratio: 19 / 14; border-radius: 6px; box-shadow: var(--shadow); object-fit: cover; object-position: center; }
.achievement { position: relative; z-index: 2; display: grid; width: 156px; aspect-ratio: 1; margin-left: auto; place-content: center; border: 5px double #d9ae42; border-radius: 50%; color: var(--navy); background: rgb(255 255 255 / 89%); text-align: center; box-shadow: 0 9px 30px rgb(7 41 103 / 14%); }
.hero__picture .achievement { position: absolute; right: -32px; bottom: -42px; }
/* TOPヒーロー右カラムの30周年エンブレム。
   以前は CSS 製の円（.achievement）を margin-left: auto で右端へ寄せていたため、
   装飾の ::before / ::after が .hero { overflow: hidden } に切られていた。
   画像に差し替え、右カラム内に収める。 */
.hero__badge { align-self: center; justify-self: center; width: min(100%, clamp(200px, 22vw, 400px)); margin: 0; }
.hero__badge img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgb(6 30 70 / 20%)); }
.achievement::before, .achievement::after { position: absolute; top: 50%; width: 25px; height: 70px; content: ""; border: solid #d9ae42; opacity: .8; }
.achievement::before { left: -15px; transform: translateY(-50%) rotate(-12deg); border-width: 0 0 0 2px; }
.achievement::after { right: -15px; transform: translateY(-50%) rotate(12deg); border-width: 0 2px 0 0; }
.achievement span { font-size: .78rem; font-weight: 900; line-height: 1.2; }
.achievement strong { font-size: 3.35rem; line-height: .95; }

.section { padding-block: 86px; }
.section--spacious { padding-block: clamp(100px, 11vw, 160px); }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading > span { display: block; margin-bottom: 6px; color: var(--blue); font-size: .77rem; font-weight: 900; letter-spacing: .2em; }
.section-heading h1, .section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2.25rem, 3.3vw, 2.8rem); font-weight: 800; line-height: 1.5; }
.section-heading p { max-width: 670px; margin: 14px auto 0; color: var(--muted); }
/* 「SERVICE」はページ下部の「会社概要」見出し（1.75rem）と同じ大きさに揃える。
   .proof など他の section-heading には影響させないため .section--services に限定する。 */
.section--services .section-heading > span { margin-bottom: 8px; font-size: 1.75rem; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 16px 50px rgb(11 59 128 / 8%); }
.service-card { display: flex; min-height: 295px; flex-direction: column; align-items: center; padding: 35px 22px 22px; border-right: 1px solid var(--line); text-align: center; transition: transform .2s, box-shadow .2s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-7px); background: #fff; box-shadow: var(--shadow); }
.service-card .dashicons { width: auto; height: auto; color: var(--blue); font-size: 50px; }
.service-card h3 { min-height: 52px; margin: 19px 0 8px; color: var(--navy); font-size: 1.0625rem; font-weight: 800; line-height: 1.65; }
.service-card p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.85; }
.service-card b { margin-top: auto; color: var(--blue); font-size: 1.35rem; }
.proof { color: #fff; background: linear-gradient(125deg, #021f59, #0a459d 60%, #0873c3); }
.section-heading--light h2, .section-heading--light > span { color: #fff; }
.section-heading--light p { color: #d8e9ff; }
.proof__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid rgb(255 255 255 / 24%); }
.proof__grid div { display: grid; min-height: 150px; place-content: center; border-right: 1px solid rgb(255 255 255 / 24%); text-align: center; }
.proof__grid div:last-child { border: 0; }
.proof__grid .dashicons { width: auto; height: auto; margin: 0 auto 7px; font-size: 34px; }
.proof__grid strong { font-size: 1.2rem; line-height: 1.3; }
.proof__grid small { font-size: .9rem; }
.proof__grid em { color: #dceaff; font-size: .76rem; font-style: normal; font-weight: 700; }
.proof__grid em b { color: #ffd264; font-size: 1.1rem; }
.company-overview { padding-block: 36px; text-align: center; }
.company-overview h2 { margin-bottom: 8px; color: var(--navy); font-size: 1.75rem; }
.company-overview strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.12rem; font-weight: 900; }
.company-overview .dcs-seo-copy { max-width: 860px; margin: 22px auto 0; color: #333; font-size: 1rem; line-height: 1.9; }
/* スマホでだけ効かせる改行。PCでは無効なので既存の1行表示は変わらない。 */
.dcs-br-sp { display: none; }
.dcs-br-mobile { display: none; }
@media (max-width: 960px) { .dcs-br-sp { display: inline; } }
@media (max-width: 600px) { .dcs-br-mobile { display: inline; } }
/* 逆にPCでだけ効かせる改行。スマホでは無効（狭い画面では文字の折り返しに任せる）。
   960pxはdcs-br-spと同じ境界＝スマホ用ヒーロー縮小の切替幅に揃えている。 */
.dcs-br-pc { display: none; }
@media (min-width: 961px) { .dcs-br-pc { display: inline; } }

/* PCのTOPは、参考デザインどおり「ヒーロー＋サービス＋実績帯」を1画面に収める。 */
@media (min-width: 961px) {
  .home-viewport { display: grid; min-height: var(--fv-h); grid-template-rows: auto auto minmax(min-content, .4fr); overflow: visible; }
  .home-viewport .hero--home { min-height: 0; margin-bottom: 20px; }
  .home-viewport .hero--home .shell { width: calc(100% - clamp(72px, 7.8vw, 150px)); max-width: none; }
  .home-viewport .hero__copy { max-width: 760px; margin-left: clamp(76px, 7.8vw, 150px); }
  .home-viewport .hero--home .hero__inner { min-height: 0; height: auto; padding-block: clamp(12px, 2.2vh, 28px); }
  .home-viewport .hero__solution { margin-bottom: clamp(16px, 2.7vh, 28px); font-size: clamp(3.1rem, min(5vw, 8.1vh), 5rem); line-height: 1.08; }
  .home-viewport .hero h1 { margin-bottom: clamp(16px, 2.7vh, 28px); font-size: clamp(1.6rem, min(2.56vw, 4.32vh), 2.56rem); line-height: 1.16; }
  .home-viewport .hero__lead { margin-bottom: clamp(14px, 2.3vh, 24px); font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.85; }
  .home-viewport .hero__copy > p:last-of-type { margin-block: 0; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.85; }
  .home-viewport .hero__actions { margin-top: clamp(4px, 1vh, 10px); }
  /* 1画面レイアウトでは画面の高さでも上限を掛け、縦にはみ出さないようにする。 */
  .home-viewport .hero__badge { width: min(100%, clamp(190px, min(22vw, 33vh), 400px)); }
  /* PCのみ左へ200pxずらす。transform なのでグリッドの幅計算には影響しない。 */
  .home-viewport .hero__badge { transform: translateX(-200px); }
  .home-viewport .button { min-height: 44px; padding: 10px 22px; font-size: .88rem; }
  .home-viewport .section--services { width: calc(100% - clamp(72px, 7.8vw, 150px)); max-width: none; padding: 0 0 clamp(9px, 1.8vh, 18px); }
  .home-viewport .section--services .section-heading { margin: 0 auto clamp(5px, .9vh, 9px); padding-top: 0; text-align: center; }
  .home-viewport .section--services .section-heading > span { font-size: 1.75rem; letter-spacing: .18em; }
  .home-viewport .section--services .section-heading h2,
  .home-viewport .section--services .section-heading p { display: none; }
  .home-viewport .service-grid { grid-template-columns: repeat(6, 1fr); }
  .home-viewport .service-card { display: grid; height: auto; min-height: 0; grid-template-rows: auto auto auto auto; align-content: center; justify-items: center; gap: 3px; padding: clamp(6px, 1vh, 12px) 12px; }
  .home-viewport .service-card .dashicons { align-self: center; font-size: clamp(29px, 3.3vh, 43px); }
  .home-viewport .service-card h3 { min-height: 0; margin: 0; align-self: center; font-size: clamp(.76rem, 1.12vw, .96rem); line-height: 1.48; }
  .home-viewport .service-card p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; align-self: center; font-size: clamp(.63rem, .82vw, .76rem); line-height: 1.55; }
  .home-viewport .service-card b { margin: 0; align-self: center; font-size: 1rem; line-height: 1; }
  .home-viewport .proof { padding: 0; background: #fff; }
  .home-viewport .proof .shell { display: grid; grid-template-rows: auto 1fr; width: calc(100% - clamp(72px, 7.8vw, 150px)); height: 100%; max-width: none; overflow: hidden; border-radius: 4px 4px 0 0; background: linear-gradient(125deg, #021f59, #0a459d 60%, #0873c3); }
  /* ① PCでも「安心して任せられる確かな実績」を表示する。
     旧実装は1画面に収めるため見出しごと display:none にしていた。
     ヒーロー・カード・実績帯の高さを詰めて表示領域を確保している。 */
  .home-viewport .proof .section-heading { display: block; max-width: 620px; margin: 0 auto clamp(5px, .8vh, 10px); padding-top: clamp(8px, 1.2vh, 14px); text-align: center; }
  .home-viewport .proof .section-heading > span { display: none; }
  .home-viewport .proof .section-heading h2 { font-size: clamp(1rem, 1.3vw, 1.3rem); line-height: 1.35; }
  .home-viewport .proof .section-heading p { margin: 4px auto 0; font-size: clamp(.72rem, .85vw, .84rem); line-height: 1.5; }
  .home-viewport .proof__grid { border: 0; }
  .home-viewport .proof__grid div { position: relative; min-height: clamp(66px, 8.4vh, 90px); border-right: 0; }
  .home-viewport .proof__grid div:not(:last-child)::after { position: absolute; top: 14%; right: 0; bottom: 14%; width: 1px; content: ""; background: rgb(255 255 255 / 24%); }
  .home-viewport .proof__grid .dashicons { margin-bottom: 3px; font-size: clamp(20px, 3vh, 31px); }
  .home-viewport .proof__grid strong { font-size: clamp(.76rem, 1.25vw, 1.08rem); }
  .home-viewport .proof__grid em { font-size: clamp(.52rem, .68vw, .68rem); line-height: 1.35; }
  .home-viewport .proof__grid em b { font-size: 1em; }
}

/* App page lower content: one column, including the development steps. */
.app-page .app-bottom { grid-template-columns: 1fr; }
.app-page .app-bottom article { min-height: 0; }
.app-page .app-bottom ol { grid-template-columns: 1fr; gap: 8px; }
.app-page .app-bottom ol li { min-height: 82px; grid-template-columns: 54px 1fr; place-content: initial; align-items: center; padding: 13px 20px; text-align: left; }
.app-page .app-bottom ol li::before { margin: 0; text-align: center; }


/* 縦が短い画面（1366x768 / 1280x720 など）でも1画面に収める。
   旧実装はここで1画面レイアウト自体を放棄していた（min-height:0 / rows:auto）。
   レイアウトは維持し、ヒーローの文字とカードだけを画面高に応じて圧縮する。 */
@media (min-width: 961px) and (max-height: 820px) {
  .home-viewport .hero--home { min-height: 0; }
  .home-viewport .hero--home .hero__inner { height: auto; min-height: 0; padding-block: clamp(12px, 2.2vh, 26px); }
  .home-viewport .hero__copy .eyebrow,
  .home-viewport .hero__copy > p:last-of-type { display: none; }
  .home-viewport .hero__solution { font-size: clamp(2.2rem, 6.5vh, 3.25rem); line-height: 1.12; }
  .home-viewport .hero h1 { font-size: clamp(1.4rem, 4.16vh, 2.08rem); }
  .home-viewport .hero__lead { font-size: clamp(.8rem, 2.1vh, .95rem); }
  .home-viewport .hero__actions { margin-top: 8px; }
  .home-viewport .service-card { gap: 2px; }
  .home-viewport .service-card p { display: none; }
  /* 縦が短い画面でも見出しと本文の両方を表示する（文字サイズだけ詰める） */
  .home-viewport .proof .section-heading { max-width: none; margin-bottom: clamp(5px, .8vh, 10px); padding-top: clamp(8px, 1.2vh, 14px); }
  .home-viewport .proof .section-heading h2 { font-size: clamp(.95rem, 1.3vw, 1.3rem); }
  .home-viewport .proof .section-heading p { margin-top: 3px; font-size: clamp(.72rem, .85vw, .84rem); line-height: 1.45; }
  .home-viewport .proof__grid div { min-height: clamp(64px, 9vh, 88px); }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 230px; padding: 31px; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 9px 35px rgb(6 43 114 / 5%); }
.feature-card .dashicons { width: auto; height: auto; color: var(--blue); font-size: 45px; }
.feature-card h3 { margin: 18px 0 6px; color: var(--navy); font-size: 1.125rem; font-weight: 800; line-height: 1.6; }
.feature-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.process { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; display: grid; min-height: 220px; place-items: center; align-content: center; gap: 6px; padding: 24px 18px; border: 1px solid var(--line); border-right: 0; background: #fff; text-align: center; }
.steps li:first-child { border-radius: 5px 0 0 5px; }
.steps li:last-child { border-right: 1px solid var(--line); border-radius: 0 5px 5px 0; }
.steps li:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -10px; width: 19px; height: 19px; content: ""; transform: translateY(-50%) rotate(45deg); border: solid var(--line); border-width: 1px 1px 0 0; background: #fff; }
.steps b { color: var(--blue); font-size: .74rem; }
.steps .dashicons { width: auto; height: auto; color: var(--navy); font-size: 42px; }
.steps strong { color: var(--navy); font-weight: 800; line-height: 1.6; }
.steps small { color: var(--muted); font-size: .875rem; line-height: 1.75; }
.editorial { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; padding: 58px; border-left: 6px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.editorial h2 { margin: 0 0 16px; color: var(--navy); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.55; }
.editorial__checks { display: grid; align-content: center; gap: 10px; padding-left: 36px; border-left: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.editorial__checks p { margin: 0; }
.entry-content { max-width: 920px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-card { margin-bottom: 22px; padding: 28px; border: 1px solid var(--line); }

/* Core-system page: reference-image based layout */
.core-page { padding-bottom: 0; background: #fff; }
.core-page .shell { width: min(calc(100% - 48px), 1240px); }
.core-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.core-hero__inner { display: grid; min-height: 445px; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); align-items: stretch; }
.core-hero__copy { z-index: 2; padding: 42px 12px 28px 10px; }
.core-hero__eyebrow { margin: 0 0 8px; color: var(--ink); font-weight: 800; }
.core-hero h1 { margin: 0 0 15px; color: var(--ink); font-size: var(--hero-h1-long); font-weight: 900; letter-spacing: .01em; line-height: 1.22; }
.core-hero h1 em { color: var(--blue); font-style: normal; }
.core-hero__lead { max-width: 550px; margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.72; }
/* スマホでは JS がこのブロックを次セクションのスロットへ移すため、
   スタイルは .core-hero__copy ではなく .core-hero__detail を起点にする。 */
.core-hero__detail ul { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 19px 0 0; padding: 0; color: var(--navy); list-style: none; }
.core-hero__detail li { position: relative; padding-left: 18px; font-size: .94rem; font-weight: 800; line-height: 1.6; }
.core-hero__detail li::before { position: absolute; top: 2px; left: 0; content: "✓"; color: #fff; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); font-size: 10px; line-height: 14px; text-align: center; }
.core-hero__visual { position: relative; min-height: 445px; }
.core-hero__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #fff 0%, transparent 17%); pointer-events: none; }
.core-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.core-section { padding-top: 26px; }
.core-title { display: flex; align-items: center; gap: 18px; margin-bottom: 2rem; color: var(--navy); }
.core-title::before, .core-title::after { height: 3px; flex: 1; content: ""; background: #9eacc3; }
.core-title h2 { margin: 0; color: var(--navy); font-size: 1.35rem; font-weight: 900; line-height: 1.4; }
.core-issues .core-title h2 > span { padding-inline: .16em; background: linear-gradient(transparent 54%, #fff0ae 54%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.core-issues__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.core-issues__grid article { display: grid; min-height: 142px; place-content: center; padding: 13px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: center; box-shadow: 0 4px 14px rgb(8 49 111 / 4%); }
.core-issues__grid .dashicons { width: auto; height: auto; color: var(--navy); font-size: 39px; }
.core-issues__grid p { margin: 9px 0 0; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.55; }
.core-message { display: flex; min-height: 72px; align-items: center; justify-content: center; gap: 15px; margin-top: 11px; padding: 10px 22px; border-radius: 4px; background: #fff7df; text-align: center; }
.core-message .dashicons { width: auto; height: auto; color: #d3a628; font-size: 44px; }
.core-message p { margin: 0; font-size: 1.08rem; font-weight: 800; line-height: 1.55; }
.core-message strong { color: var(--blue); }
.core-systems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.core-systems__grid article { display: flex; min-height: 142px; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; }
.core-systems__grid .dashicons { width: auto; height: auto; color: var(--navy); font-size: 36px; }
.core-systems__grid h3 { margin: 0 0 5px; color: var(--navy); font-size: 1.25rem; font-weight: 900; line-height: 1.4; }
.core-systems__grid p { margin: 0; font-size: 1rem; line-height: 1.65; }
.core-systems--vertical .core-systems__grid article { display: grid; grid-template-columns: 1fr; align-content: start; justify-items: center; gap: 11px; text-align: center; }
.core-systems--vertical .core-systems__grid .dashicons { font-size: 43px; }
.core-systems--vertical .core-systems__grid h3 { margin: 0 0 4px; }
.core-note { margin: 12px 0 0; color: var(--navy); font-size: 1rem; font-weight: 800; text-align: center; }
.core-linkage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.core-linkage > div { position: relative; overflow: hidden; min-height: 345px; padding: 24px; border: 1px solid var(--line); border-radius: 5px; }
.core-linkage h2, .core-flow h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.5rem; font-weight: 900; line-height: 1.45; }
.core-linkage p { margin: 0; font-size: 1rem; line-height: 1.7; }
.diagram { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: center; margin-top: 18px; }
.diagram span { z-index: 1; display: grid; min-height: 62px; align-content: center; padding: 8px; border: 1px solid #bed0e8; border-radius: 4px; color: var(--navy); background: #fff; font-size: 1rem; font-weight: 800; line-height: 1.35; text-align: center; }
.diagram span small { color: var(--muted); font-size: .875rem; font-weight: 400; }
.diagram strong { z-index: 1; display: grid; width: 118px; height: 118px; grid-column: 2; grid-row: 1 / 4; place-content: center; justify-self: center; border-radius: 50%; color: #fff; background: var(--blue); box-shadow: 0 0 0 13px #e8f1fc; font-size: .9rem; line-height: 1.45; text-align: center; }
.diagram span:nth-of-type(1), .diagram span:nth-of-type(2) { grid-column: 1; }
.diagram span:nth-of-type(3), .diagram span:nth-of-type(4) { grid-column: 3; }
.diagram span:nth-of-type(5) { grid-column: 1; }
.core-linkage__takeover ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; margin: 12px 0 0; padding: 0; list-style: none; }
.core-linkage__takeover li { position: relative; padding-left: 20px; font-size: 1rem; font-weight: 700; line-height: 1.55; }
.core-linkage__takeover li::before { position: absolute; left: 0; content: "✓"; color: var(--blue); }
.core-linkage__photo { position: absolute; right: 0; bottom: 0; left: 0; height: 145px; }
.core-linkage__photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 8%) 65%); }
.core-linkage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; opacity: .75; }
.core-flow { display: grid; grid-template-columns: .88fr 1.12fr; gap: 15px; margin-top: 16px; }
.core-flow > div { min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 5px; }
.core-flow p { margin: 0 0 12px; font-size: 1rem; line-height: 1.7; }
.core-flow p strong { color: var(--blue); }
.core-flow__steps ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.core-flow__steps li { display: grid; min-height: 112px; place-content: center; padding: 10px 6px; border: 1px solid #cbd7e8; color: var(--navy); font-size: 1rem; font-weight: 800; line-height: 1.4; text-align: center; }
.core-flow__steps li::before { display: block; margin-bottom: 8px; content: counter(flow, decimal-leading-zero); counter-increment: flow; color: var(--blue); font-size: .875rem; }

@media (min-width: 961px) {
  .core-page .core-section { padding-top: 5rem; }
  .core-page .core-linkage, .core-page .core-flow { margin-top: 5rem; }
  .core-page .core-message { margin-top: 3rem; margin-bottom: 3rem; }
  .core-page .core-title h2 { flex: 0 0 auto; font-size: clamp(2rem, 3.9vw, 3rem); line-height: 1.35; }
  .core-page .core-title::before, .core-page .core-title::after { flex: 0 0 16%; }
  .core-page .core-hero__inner, .core-page .core-hero__visual { min-height: 360px; }
  .core-page .core-hero__copy { align-self: center; padding-top: 28px; padding-bottom: 20px; }
  .core-page .core-issues { padding-top: 1rem; }
}

@media (max-width: 960px) {
  .core-page .shell { width: min(calc(100% - 36px), 760px); }
  .core-hero__inner { min-height: 0; grid-template-columns: 1fr; }
  /* 装飾線に押されて見出しが折り返さないよう、h2は縮小させない */
  .core-title h2 { flex: 0 0 auto; font-size: clamp(1rem, 5vw, 1.35rem); }
  .core-hero__copy { padding: 55px 0 22px; }
  .core-hero__visual { min-height: 330px; }
  .core-issues__grid { grid-template-columns: repeat(3, 1fr); }
  .core-systems__grid { grid-template-columns: repeat(2, 1fr); }
  .core-linkage, .core-flow { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .core-page .shell { width: min(calc(100% - 28px), 760px); }
  .core-hero h1 { font-size: clamp(1.2rem, 6.4vw, 1.8rem); }
  .core-hero__detail ul { display: grid; grid-template-columns: 1fr; gap: 10px; width: fit-content; margin-inline: auto; }
  .core-hero__detail li { font-size: clamp(.8rem, 3.4vw, .94rem); }
  .core-issues__grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .core-issues__grid article { min-height: 112px; }
  .core-issues__grid p { font-size: clamp(.72rem, 3.6vw, .9rem); }
  .core-message { flex-direction: column; align-items: center; gap: 8px; padding: 18px 15px; text-align: center; }
  .core-message p { font-size: .95rem; }
  .core-systems__grid { grid-template-columns: 1fr; }
  .core-systems__grid p { min-height: calc(1.65em * 2); }
  .core-linkage > div { min-height: 0; }
  .diagram { grid-template-columns: 1fr 1fr; }
  .diagram strong { width: 104px; height: 104px; grid-column: 1 / -1; grid-row: auto; }
  .diagram span, .diagram span:nth-of-type(n) { grid-column: auto; }
  .core-linkage__takeover { padding-bottom: 180px !important; }
  .core-flow__steps ol { grid-template-columns: repeat(2, 1fr); }
}

/* Smartphone app: core-system-style hero and consultation section. */
.app-page .app-fv { height: auto; min-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.app-page .app-fv__inner { display: grid; min-height: 445px; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); align-items: stretch; }
.app-page .app-fv__copy { z-index: 2; padding: 42px 12px 28px 10px; }
.app-page .app-fv__eyebrow { margin: 0 0 8px; color: var(--ink); font-size: 1rem; font-weight: 800; }
.app-page .app-fv h1 { margin: 0 0 15px; color: var(--ink); font-size: clamp(2.35rem, 4vw, 4.1rem); font-weight: 900; letter-spacing: .01em; line-height: 1.22; }
.app-page .app-fv h1 em { color: var(--blue); font-style: normal; }
.app-page .app-fv__lead { max-width: 550px; margin: 0; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.72; }
.app-fv__bullets { display: flex; gap: 20px; margin: 19px 0 0; padding: 0; color: var(--navy); list-style: none; }
.app-fv__bullets li { position: relative; padding-left: 20px; font-size: 1rem; font-weight: 800; line-height: 1.5; }
.app-fv__bullets li::before { position: absolute; top: 2px; left: 0; display: grid; width: 14px; height: 14px; place-content: center; border-radius: 50%; content: "✓"; color: #fff; background: var(--blue); font-size: 10px; }
.app-page .app-fv__visual { position: relative; min-height: 445px; height: auto; }
.app-page .app-fv__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #fff 0%, transparent 17%); pointer-events: none; }
.app-page .app-fv__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.app-consult { padding-top: 5rem; }
.app-consult__title { display: flex; align-items: center; gap: 18px; margin-bottom: 2rem; }
.app-consult__title::before, .app-consult__title::after { flex: 1; height: 3px; content: ""; background: #9eacc3; }
.app-consult__title h2 { margin: 0; color: var(--navy); font-size: 3rem; font-weight: 900; line-height: 1.35; }
.app-consult__title h2 > span { padding-inline: .16em; background: linear-gradient(transparent 54%, #fff0ae 54%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.app-consult__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.app-consult__grid article { display: grid; min-height: 142px; place-content: center; padding: 13px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: center; box-shadow: 0 4px 14px rgb(8 49 111 / 4%); }
.app-consult__grid .dashicons { width: auto; height: auto; color: var(--navy); font-size: 39px; }
.app-consult__grid p { margin: 9px 0 0; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.55; }

@media (min-width: 961px) {
  .app-page .app-fv { height: auto; min-height: 0; }
  .app-page .app-fv .app-fv__inner { width: min(calc(100% - 48px), 1240px); height: auto; min-height: 445px; max-width: 1240px; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); }
  .app-page .app-fv__copy { width: auto; margin-left: 0; padding: 42px 12px 28px 10px; }
  .app-page .app-fv__visual { min-height: 445px; }
  .app-page .app-fv__visual img { object-fit: cover; }
}
@media (max-width: 960px) {
  .app-page .app-fv__inner { grid-template-columns: 1fr; min-height: 0; }
  .app-page .app-fv__copy { padding: 52px 0 28px; }
  .app-page .app-fv__visual { min-height: 350px; }
  .app-page .app-fv__visual::after { background: linear-gradient(180deg, #fff 0%, transparent 25%); }
  .app-consult__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .app-page .app-fv__copy { padding: 46px 0 25px; }
  .app-page .app-fv h1 { font-size: 2rem; line-height: 1.35; }
  .app-page .app-fv__lead { font-size: 1rem; }
  .app-fv__bullets { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .app-fv__bullets li { font-size: 1rem; }
  .app-page .app-fv__visual { min-height: 280px; }
  /* ヒーローの直後に66pxの余白が開きすぎるので詰める。 */
  .app-consult { padding-top: 22px; }
  .app-consult__title { gap: 10px; margin-bottom: 1.75rem; }
  .app-consult__title h2 { flex: 0 0 auto; font-size: clamp(1.3rem, 6.4vw, 1.65rem); line-height: 1.45; }
  .app-consult__grid { grid-template-columns: 1fr; }
  .app-consult__grid article { min-height: 112px; }
}


/* Core system: alternating editorial sections. */
.core-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; margin-top: 5rem; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.core-feature__copy { padding: clamp(32px, 4vw, 58px); }
.core-feature__copy h2 { margin: 0 0 1.5rem; color: var(--navy); font-size: 2rem; font-weight: 900; line-height: 1.5; }
.core-feature__copy > p:not(.section-kicker) { margin: 0 0 15px; color: #333; font-size: 1rem; line-height: 1.9; }
.core-feature__copy strong { color: var(--blue); }
.core-feature--reverse .core-feature__copy { grid-column: 2; }
.core-feature--reverse .core-feature__photo { grid-column: 1; grid-row: 1; }
.core-feature__photo { min-height: 350px; }
.core-feature__photo img { width: 100%; height: 100%; object-fit: cover; }
/* 連携図は写真ではないため切り抜かない。全体が入るように contain。 */
.core-feature__photo--diagram { display: grid; min-height: 0; place-items: center; padding: clamp(14px, 3vw, 28px); background: #f6faff; }
.core-feature__photo--diagram img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.core-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin: 23px 0 0; padding: 0; list-style: none; }
.core-check-list li { position: relative; padding-left: 21px; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.65; }
.core-check-list li::before { position: absolute; left: 0; content: "✓"; color: var(--blue); }
@media (min-width: 961px) {
  .core-feature--reverse .core-check-list { gap: 9px 16px; }
  .core-feature--reverse .core-check-list li { padding-left: 17px; font-size: .875rem; letter-spacing: -.035em; white-space: nowrap; }
}
.core-connect-map { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 15px; min-height: 350px; padding: 28px; background: #f6faff; }
.core-connect-map span { z-index: 1; display: grid; min-height: 68px; align-content: center; padding: 8px; border: 1px solid #bed0e8; border-radius: 4px; color: var(--navy); background: #fff; font-size: 1rem; font-weight: 800; line-height: 1.35; text-align: center; }
.core-connect-map span small { display: block; color: #333; font-size: .82rem; font-weight: 400; }
.core-connect-map strong { z-index: 1; display: grid; width: 136px; height: 136px; grid-column: 2; grid-row: 1 / span 3; place-self: center; place-content: center; border: 12px solid #e5effc; border-radius: 50%; color: #fff; background: #0952ae; font-size: 1.05rem; line-height: 1.45; text-align: center; }
.core-connect-map span:nth-of-type(-n+3) { grid-column: 1; }
.core-connect-map span:nth-of-type(n+4) { grid-column: 3; }
.core-process { margin-top: 5rem; padding-bottom: 5rem; }
.core-process .core-title { display: grid; grid-template-columns: 1fr auto 1fr; justify-content: initial; }
.core-process .core-title::before, .core-process .core-title::after { min-width: 0; }
.core-process .core-title h2 { grid-column: 2; text-align: center; }
.core-process__lead { margin: 0 0 2rem; color: #333; font-size: 1rem; text-align: center; }
.core-seo-section, .web-seo-section, .ec-seo-section, .takeover-seo-section { width: 100%; padding-block: 50px; background: #f3fbff; }
.core-seo-section p, .web-seo-section p, .ec-seo-section p, .takeover-seo-section p { max-width: 960px; margin: 0 auto; color: #333; font-size: 1rem; line-height: 1.9; text-align: center; }
.web-seo-section p + p, .ec-seo-section p + p { margin-top: 18px; }
.core-page + .contact-band { margin-top: 0; }
.web-page + .contact-band { margin-top: 0; }
.ec-page + .contact-band { margin-top: 0; }
.takeover-page + .contact-band { margin-top: 0; }
.core-process ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.core-process li { position: relative; display: grid; min-height: 174px; place-items: center; align-content: center; gap: 4px; padding: 14px 8px; border: 1px solid #cbd7e8; color: var(--navy); text-align: center; }
.core-process li:not(:last-child)::after { position: absolute; z-index: 1; top: 50%; right: -6px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); content: ""; transform: translateY(-50%) rotate(45deg); background: #fff; }
.core-process .dashicons { width: auto; height: auto; color: var(--blue); font-size: 31px; }
.core-process b { color: var(--blue); font-size: .78rem; }
.core-process strong { font-size: 1rem; line-height: 1.4; }
.core-process small { color: #333; font-size: .78rem; line-height: 1.45; }

@media (max-width: 960px) {
  .core-feature { grid-template-columns: 1fr; }
  .core-feature--reverse .core-feature__copy, .core-feature--reverse .core-feature__photo { grid-column: auto; grid-row: auto; }
  .core-feature--reverse .core-feature__photo { order: 2; }
  .core-process ol { grid-template-columns: repeat(4, 1fr); }
  .core-process li::after { display: none; }
}
@media (max-width: 600px) {
  .core-feature { margin-top: 66px; }
  .core-feature__copy { padding: 30px 24px; }
  .core-feature__copy h2 { font-size: 1.55rem; }
  .core-feature__photo, .core-connect-map { min-height: 300px; }
  .core-check-list { grid-template-columns: 1fr; }
  .core-connect-map { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 9px; padding: 18px; }
  .core-connect-map strong { width: 116px; height: 116px; grid-column: 1 / -1; grid-row: auto; order: -1; font-size: .9rem; }
  .core-connect-map span, .core-connect-map span:nth-of-type(n) { grid-column: auto; }
  .core-process { margin-top: 66px; padding-bottom: 66px; }
  .core-title { margin-bottom: 1.75rem; }
  .core-process__lead { margin: 0 0 1.75rem; text-align: left; }
  .core-process .core-title { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .core-process ol { grid-template-columns: 1fr; gap: 10px; }
  .core-process li { min-height: 148px; grid-template-columns: minmax(76px, 25%) minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 18px; row-gap: 5px; padding: 21px 24px; text-align: left; }
  .core-process .dashicons { grid-column: 1; grid-row: 1 / span 3; align-self: center; justify-self: center; font-size: 43px; }
  .core-process b { grid-column: 2; grid-row: 1; align-self: end; color: var(--blue); font-size: .76rem; letter-spacing: .08em; }
  .core-process strong { grid-column: 2; grid-row: 2; align-self: center; font-size: 1.13rem; }
  .core-process small { grid-column: 2; grid-row: 3; align-self: start; font-size: 1rem; line-height: 1.65; }
}

/* EC operation page */
.ec-page .shell { width: min(calc(100% - 48px), 1240px); }
.ec-fv { color: #fff; background: radial-gradient(circle at 75% 30%, #1266ad, #031b51 70%); }
.ec-fv__inner { display: grid; min-height: 390px; grid-template-columns: 1fr .85fr; align-items: center; gap: 25px; }
.ec-fv p { margin: 0 0 12px; color: #ffd846; font-size: 1rem; font-weight: 900; }
.ec-fv h1 { margin: 0 0 17px; font-size: clamp(2.6rem, 4.1vw, 4.5rem); font-weight: 900; line-height: 1.25; }
.ec-fv h1 em { color: #ffd23d; font-style: normal; }
.ec-fv strong { display: inline-block; padding: 9px 19px; border-radius: 4px; color: var(--navy); background: #fff; font-size: 1.7rem; }
.ec-fv strong small { font-size: 1rem; }
.ec-fv__points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; font-size: .87rem; font-weight: 800; text-align: center; }
.ec-fv__points span { padding-top: 9px; border-top: 1px solid rgb(255 255 255 / 35%); }
.ec-fv__inner > img { width: 100%; max-height: 355px; object-fit: contain; }
.ec-malls { margin-top: 20px; padding: 17px; border: 1px solid var(--line); text-align: center; }
.ec-malls p { margin: 0 0 7px; color: var(--navy); font-size: 1.1rem; font-weight: 900; }
.ec-malls div { display: flex; align-items: center; justify-content: space-around; gap: 18px; }
.ec-malls b { color: var(--navy); font-size: clamp(1.2rem, 2vw, 2rem); }
.ec-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 5rem; }
.ec-solution article { overflow: hidden; min-height: 380px; border: 1px solid var(--line); text-align: center; }
.ec-solution article:first-child header { background: #c30018; }
.ec-solution article:last-child header { background: #04713f; }
.ec-solution header { padding: 8px; color: #fff; font-size: 1rem; font-weight: 900; }
.ec-solution h2 { margin: 28px 0 14px; font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: 1; }
.ec-solution article:first-child h2 { color: #c30018; }
.ec-solution article:last-child h2 { color: #04713f; }
.ec-solution p { max-width: 500px; margin: 0 auto; padding-inline: 25px; font-size: 1rem; line-height: 1.7; }
.ec-solution article > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 25px 15px; }
.ec-solution article > div span { display: grid; min-height: 75px; place-content: center; padding: 8px; color: var(--navy); background: #f4f7fb; font-size: .85rem; font-weight: 800; }
.ec-functions, .ec-bottom { margin-top: 5rem; }
.ec-title { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; }
.ec-title::before, .ec-title::after { height: 3px; flex: 1; content: ""; background: #a6b4ca; }
.ec-title h2 { margin: 0; color: var(--navy); font-size: 3rem; line-height: 1.35; text-align: center; }
.ec-functions > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ec-functions article { min-height: 150px; padding: 17px 10px; border: 1px solid var(--line); text-align: center; }
.ec-functions i { width: auto; height: auto; color: var(--navy); font-size: 37px; }
.ec-functions h3 { margin: 7px 0 3px; color: var(--navy); font-size: 1.05rem; }
.ec-functions p { margin: 0; font-size: 1rem; line-height: 1.5; }
.ec-proof { margin-top: 5rem; padding: 16px 0; color: #fff; background: linear-gradient(105deg, #03225e, #0a59af); }
.ec-proof .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.ec-proof article { display: grid; min-height: 108px; place-content: center; border-right: 1px solid rgb(255 255 255 / 25%); text-align: center; }
.ec-proof article:last-child { border: 0; }
.ec-proof strong { font-size: 1.5rem; line-height: 1.4; }
.ec-proof small { font-size: 1rem; }
.ec-proof span { font-size: .88rem; font-weight: 700; }
.ec-bottom { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; }
.ec-bottom article { min-height: 255px; padding: 24px; border: 1px solid var(--line); }
.ec-bottom h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.5rem; }
.ec-bottom p, .ec-bottom li { font-size: 1rem; line-height: 1.75; }
.ec-bottom ul { padding-left: 1.1em; }
.ec-bottom ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: ecstep; }
.ec-bottom ol li { display: grid; min-height: 108px; place-content: center; padding: 5px; border: 1px solid var(--line); color: var(--navy); font-size: .72rem; font-weight: 800; text-align: center; }
.ec-bottom ol li::before { display: block; margin-bottom: 5px; content: counter(ecstep, decimal-leading-zero); counter-increment: ecstep; color: var(--blue); }
@media (max-width: 960px) { .ec-page .shell { width: min(calc(100% - 36px), 760px); } .ec-fv__inner,.ec-solution,.ec-bottom { grid-template-columns: 1fr; } .ec-functions > div { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ec-page .shell { width: min(calc(100% - 28px), 760px); } .ec-fv__inner { padding-block: 45px; } .ec-fv h1 { font-size: 2.2rem; } .ec-fv strong { font-size: 1.2rem; } .ec-fv__points { grid-template-columns: repeat(2, 1fr); } .ec-malls div { flex-wrap: wrap; } .ec-solution article > div,.ec-functions > div { grid-template-columns: repeat(2, 1fr); } .ec-title { gap: 9px; } .ec-title h2 { font-size: 1.55rem; } .ec-title::before,.ec-title::after { height: 2px; } .ec-proof .shell { grid-template-columns: repeat(2, 1fr); } .ec-proof article:nth-child(2) { border-right: 0; } .ec-bottom ol { grid-template-columns: repeat(2, 1fr); }
  /* 「デーシーエスのEC運営ツール 主な機能」= 17.5em。前半13em 分の幅で折り返させ、
     必ず「〜EC運営ツール」/「主な機能」の2行になるようにする。 */
  .ec-page .ec-title h2 { max-width: 13.6em; font-size: min(1.55rem, (100vw - 52px) / 13.7); }
}

/* Website production page — reference-specific composition */
.web-page .shell { width: min(calc(100% - 48px), 1240px); }
.web-fv { overflow: hidden; }
.web-fv__inner { display: grid; min-height: 540px; grid-template-columns: .88fr 1.12fr; align-items: center; }
.web-fv__copy { padding-block: 44px; }
.web-fv__copy > p { margin: 0 0 16px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.web-fv h1 { margin: 0 0 18px; color: var(--ink); font-size: clamp(3rem, 4.6vw, 4.8rem); font-weight: 900; line-height: 1.28; }
.web-fv h1 em { color: var(--blue); font-style: normal; }
.web-fv__lead { font-size: 1.16rem; font-weight: 800; line-height: 1.65; }
.web-fv__copy > strong { display: inline-block; margin-top: 15px; padding: 6px 18px; border-radius: 100px; color: #fff; background: var(--blue); font-size: 1rem; }
.web-fv__mobile-text { display: none; }
.web-fv__price { display: flex; gap: 10px; margin-top: 18px; }
.web-fv__price span { display: grid; min-width: 174px; min-height: 93px; align-content: center; padding: 10px 18px; border: 2px solid #cbd6e2; border-radius: 5px; color: var(--navy); font-size: 1rem; font-weight: 900; text-align: center; }
.web-fv__price span:nth-child(2) { min-width: 290px; grid-template-columns: auto 1fr; align-items: center; row-gap: 1px; }
.web-fv__price b { color: #f35b0b; font-size: 3rem; line-height: 1; }
.web-fv__price span:nth-child(2) b { color: var(--navy); font-size: 2.9rem; }
.web-fv__price small { font-size: 1.1rem; }
.web-fv__price i { align-self: end; font-size: .72rem; font-style: normal; }
/* 「月額」は素のテキストノードだと匿名グリッドアイテムになり位置指定できないため <em> で包んでいる。
   数字が作る46pxの行の中央に「月額」が置かれ、「（税込）」との間が大きく空いていた。 */
.web-fv__price em { grid-area: 1 / 1; align-self: end; font-style: normal; line-height: 1.2; }
.web-fv__price span:nth-child(2) i { grid-area: 2 / 1; align-self: start; line-height: 1.2; }
.web-fv__price span:nth-child(2) b { grid-area: 1 / 2 / span 2 / 3; align-self: center; margin-left: 12px; }
.web-fv__visual { height: 100%; }
.web-fv__visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.web-stat { padding: 13px 0; color: #fff; background: linear-gradient(100deg, #032361, #0a55ad); }
.web-stat .shell { display: grid; grid-template-columns: repeat(3, 1fr); }
.web-stat article { display: flex; min-height: 105px; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid rgb(255 255 255 / 36%); text-align: center; }
.web-stat article:last-child { border-right: 0; }
.web-stat strong { font-size: 1.8rem; line-height: 1.25; }
.web-stat span { font-size: 1rem; font-weight: 800; line-height: 1.5; }
.web-stat b { color: #ffd13d; font-size: 1.6rem; }
.web-section { margin-top: 5rem; }
.web-title { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; }
.web-title::before, .web-title::after { height: 3px; flex: 1; content: ""; background: #a6b4ca; }
.web-title h2 { margin: 0; color: var(--navy); font-size: 3rem; font-weight: 900; line-height: 1.35; text-align: center; }
.web-reasons { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.web-reasons article { position: relative; min-height: 280px; padding: 17px 13px 54px; border: 1px solid var(--line); border-radius: 5px; }
.web-reasons > article > b { display: grid; width: 31px; height: 31px; place-content: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: .75rem; }
.web-reasons h3 { margin: 11px 0 8px; color: var(--navy); font-size: 1.05rem; font-weight: 900; line-height: 1.45; }
.web-reasons p { margin: 0; font-size: 1rem; line-height: 1.6; }
.web-reasons i { position: absolute; right: 15px; bottom: 14px; width: auto; height: auto; color: var(--navy); font-size: 36px; }
.web-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.web-addons article { min-height: 295px; padding: 28px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.web-addons i { width: auto; height: auto; color: var(--blue); font-size: 44px; }
.web-addons h3 { margin: 12px 0 8px; color: var(--navy); font-size: 1.5rem; }
.web-addons p { margin: 0; font-size: 1rem; line-height: 1.75; }
.web-ec { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; margin-top: 5rem; padding: 36px; border: 1px solid #cddded; background: linear-gradient(120deg, #edf6ff, #fff); }
.web-ec p { margin: 0; color: var(--navy); font-size: 1.15rem; font-weight: 800; line-height: 1.5; }
.web-ec h2 { margin: 5px 0; color: var(--navy); font-size: 2.5rem; line-height: 1.15; }
.web-ec > div > span { font-size: 1rem; }
.web-ec__features { display: grid; align-content: center; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.web-ec__features span { display: grid; min-height: 90px; place-content: center; color: var(--navy); font-size: 1rem; font-weight: 900; text-align: center; }
.web-takeover { display: grid; grid-template-columns: auto 1fr .9fr; align-items: center; gap: 18px; margin-top: 5rem; padding: 25px 30px; color: #fff; background: linear-gradient(90deg, #062a70, #0a489c); }
.web-takeover > .dashicons { width: auto; height: auto; color: #ffd044; font-size: 48px; }
.web-takeover h2 { margin: 0 0 6px; font-size: 1.35rem; }
.web-takeover p { margin: 0; font-size: 1rem; line-height: 1.6; }
.web-takeover > strong { font-size: 1.35rem; line-height: 1.5; }

@media (max-width: 960px) {
  .web-page .shell { width: min(calc(100% - 36px), 760px); }
  .web-fv__inner { grid-template-columns: 1fr; }
  .web-fv__visual { min-height: 380px; }
  .web-reasons { grid-template-columns: repeat(3, 1fr); }
  .web-addons, .web-ec { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .web-page .shell { width: min(calc(100% - 28px), 760px); }
  .web-fv h1 { font-size: 2.2rem; }
  .web-fv__price { display: grid; }
  .web-fv__price span, .web-fv__price span:nth-child(2) { min-width: 0; }
  .web-stat .shell { grid-template-columns: 1fr; }
  .web-stat article { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 28%); }
  .web-reasons { grid-template-columns: repeat(2, 1fr); }
  .web-title { gap: 9px; }
  .web-title h2 { font-size: 1.55rem; }
  .web-title::before, .web-title::after { height: 2px; }
  .web-ec__features { grid-template-columns: 1fr; }
  .web-takeover { grid-template-columns: 1fr; }
}

/* Smartphone app page — reference-specific composition */
.app-page .shell { width: min(calc(100% - 48px), 1240px); }
.app-fv { overflow: hidden; background: linear-gradient(125deg, #fff 38%, #eaf4ff); }
.app-fv__inner { display: grid; min-height: 560px; grid-template-columns: .88fr 1.12fr; align-items: center; }
.app-fv__copy { z-index: 2; padding-block: 54px; }
.app-fv__copy > p { margin: 0 0 18px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.app-fv h1 { margin: 0 0 22px; color: var(--navy); font-size: clamp(3rem, 4.7vw, 4.8rem); font-weight: 900; line-height: 1.28; }
.app-fv h1 em { color: var(--blue); font-style: normal; }
.app-fv__lead { max-width: 650px; font-size: 1.1rem; font-weight: 700; line-height: 1.75; }
.app-fv__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; max-width: 630px; margin: 24px 0 17px; }
.app-fv__features span { display: grid; min-height: 104px; place-content: center; padding: 8px; border: 1px solid #c7d5e7; border-radius: 4px; background: rgb(255 255 255 / 83%); color: var(--navy); font-size: .83rem; font-weight: 800; line-height: 1.5; text-align: center; }
.app-fv__features i { width: auto; height: auto; margin-bottom: 7px; font-size: 31px; }
.app-orange-button { display: flex; width: min(100%, 460px); min-height: 58px; align-items: center; gap: 11px; padding: 12px 22px; border-radius: 4px; color: #fff; background: linear-gradient(90deg, #f06a17, #ff9a0a); font-size: 1.05rem; font-weight: 900; box-shadow: 0 8px 20px rgb(204 94 5 / 21%); }
.app-orange-button i { width: auto; height: auto; font-size: 25px; }
.app-orange-button b { margin-left: auto; font-size: 2rem; line-height: 1; }
.app-fv__visual { align-self: stretch; }
.app-fv__visual img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
@media (min-width: 961px) {
  .app-fv { height: var(--fv-h); min-height: 560px; }
  .app-fv .app-fv__inner { width: calc(100% - clamp(72px, 7.8vw, 150px)); height: 100%; min-height: 0; max-width: none; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); }
  .app-fv__copy { width: auto; grid-column: auto; margin-left: 0; padding: 18px 12px 16px 10px; }
  .app-fv__copy > p { margin-bottom: 5px; font-size: .85rem; }
  .app-fv h1 { margin-bottom: 8px; font-size: clamp(2rem, min(2.7vw, 4.5vh), 2.75rem); line-height: 1.14; }
  .app-fv__lead { font-size: .82rem; line-height: 1.5; }
  .app-fv__features { margin: 8px 0; }
  .app-fv__features span { min-height: 58px; padding: 5px; font-size: .63rem; line-height: 1.3; }
  .app-fv__features i { margin-bottom: 2px; font-size: 20px; }
  .app-orange-button { min-height: 40px; max-width: 350px; padding: 7px 13px; font-size: .75rem; }
  .app-orange-button i { font-size: 17px; }
  .app-orange-button b { font-size: 1.2rem; }
  .app-fv__visual { min-width: 0; min-height: 0; height: 100%; grid-column: auto; }
  .app-fv__visual img { object-fit: contain; object-position: center; }
}
.app-section-title { margin-bottom: 26px; text-align: center; }
.app-section-title h2 { margin: 0; color: var(--navy); font-size: 2rem; font-weight: 900; line-height: 1.45; }
.app-pwa, .app-work, .app-bottom { margin-top: 5rem; }
.app-pwa__grid { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: stretch; gap: 20px; }
.app-pwa__grid article { position: relative; min-height: 300px; padding: 23px 26px; border: 1px solid var(--line); border-radius: 5px; }
.app-pwa__grid h3 { margin: 0 0 15px; color: var(--navy); font-size: 1.25rem; font-weight: 900; text-align: center; }
.app-pwa__grid ul { margin: 0; padding: 0 0 0 105px; list-style: none; }
.app-pwa__grid li { position: relative; padding: 5px 0 5px 24px; font-size: 1rem; line-height: 1.55; }
.app-pwa__grid li::before { position: absolute; left: 0; content: "×"; color: #858c95; font-size: 1.18rem; font-weight: 900; }
.app-pwa__phone { position: absolute; top: 74px; left: 30px; width: 56px; height: 113px; border: 3px solid #78818b; border-radius: 11px; color: #78818b; font-size: 0; }
.app-pwa__arrow { display: grid; place-content: center; color: var(--blue); font-size: 3.5rem; font-weight: 900; }
.app-pwa__good { border-color: var(--blue) !important; }
.app-pwa__good h3 { margin: -23px -26px 16px; padding: 10px; color: #fff; background: var(--blue); }
.app-pwa__good li::before { content: "✓"; color: var(--blue); }
.app-pwa__pwa-mark { position: absolute; top: 64px; right: 28px; display: grid; width: 92px; aspect-ratio: 1; place-content: center; border: 4px solid var(--navy); border-radius: 15px; color: var(--navy); font-size: 1.4rem; font-weight: 900; line-height: 1.25; text-align: center; }
.app-pwa__pwa-mark i { width: auto; height: auto; margin: 5px auto 0; font-size: 24px; }
.app-pwa__good ul { padding-left: 0; padding-right: 122px; }
.app-work__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.app-work__grid article { min-height: 155px; padding: 15px 8px; border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.app-work__grid i { width: auto; height: auto; color: var(--navy); font-size: 35px; }
.app-work__grid h3 { margin: 7px 0 3px; color: var(--navy); font-size: .98rem; font-weight: 900; line-height: 1.35; }
.app-work__grid p { margin: 0; font-size: .82rem; line-height: 1.45; }
.app-work__note { margin: 14px 0 0; color: var(--navy); font-size: 1rem; font-weight: 800; text-align: center; }
.app-bottom { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; }
.app-bottom article { min-height: 275px; padding: 24px; border: 1px solid var(--line); border-radius: 5px; }
.app-bottom h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.35rem; line-height: 1.45; }
.app-bottom p, .app-bottom li { font-size: 1rem; line-height: 1.7; }
.app-bottom ul { margin: 0; padding-left: 1.1em; }
.app-bottom ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: appstep; }
.app-bottom ol li { display: grid; min-height: 125px; place-content: center; padding: 5px; border: 1px solid var(--line); color: var(--navy); font-size: .75rem; font-weight: 800; line-height: 1.35; text-align: center; }
.app-bottom ol li::before { display: block; margin-bottom: 7px; content: counter(appstep, decimal-leading-zero); counter-increment: appstep; color: var(--blue); }
.app-ecosystem { margin-top: 5rem; padding: 36px 0; color: #fff; background: linear-gradient(110deg, #03225e, #0b60b6); }
.app-ecosystem .shell { display: grid; grid-template-columns: .65fr 1.35fr; gap: 32px; align-items: center; }
.app-ecosystem strong { font-size: 2rem; }
.app-ecosystem strong b { color: #ffd341; font-size: 3rem; }
.app-ecosystem p { margin: 7px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.65; }
.app-ecosystem__circles { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-ecosystem__circles span { display: grid; width: 112px; aspect-ratio: 1; place-content: center; gap: 4px; border-radius: 50%; color: var(--navy); background: #fff; font-size: .72rem; font-weight: 800; line-height: 1.35; text-align: center; }
.app-ecosystem__circles span .dashicons { width: auto; height: auto; color: var(--blue); font-size: 23px; }
.app-ecosystem__circles > b { color: #fff; font-size: 1.6rem; }

@media (max-width: 960px) {
  .app-page .shell { width: min(calc(100% - 36px), 760px); }
  .app-fv__inner { grid-template-columns: 1fr; }
  .app-fv__visual { min-height: 400px; }
  .app-work__grid { grid-template-columns: repeat(3, 1fr); }
  .app-bottom { grid-template-columns: 1fr; }
  .app-ecosystem .shell { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .app-page .shell { width: min(calc(100% - 28px), 760px); }
  .app-fv__copy { padding-block: 52px 24px; }
  .app-fv h1 { font-size: 2.2rem; }
  .app-fv__features { grid-template-columns: repeat(2, 1fr); }
  .app-pwa, .app-work, .app-bottom { margin-top: 3.5rem; }
  .app-section-title { text-align: center; }
  .app-section-title h2 { font-size: 1.55rem; }
  .app-pwa__grid { grid-template-columns: 1fr; }
  .app-pwa__arrow { min-height: 48px; transform: rotate(90deg); }
  .app-pwa__grid ul, .app-pwa__good ul { padding: 0; }
  /* スマホでの表示はファイル末尾のブロックで position:static にして対応 */
  .app-work__grid { grid-template-columns: repeat(2, 1fr); }
  .app-bottom ol { grid-template-columns: repeat(2, 1fr); }
  .app-ecosystem__circles { flex-wrap: wrap; justify-content: center; }
  .app-ecosystem__circles span { width: 96px; }
}


.contact-band { margin-top: 110px; padding-block: 60px; color: #fff; background: linear-gradient(110deg, #031e55, #063984); }
.contact-band__inner { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 50px; }
.eyebrow--gold { color: #ffd264; }
.contact-band h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.55; }
.contact-band p { margin-bottom: 0; color: #d7e5fb; }
.contact-band__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-band__cards a { display: grid; min-height: 145px; place-content: center; padding: 18px; border-radius: 5px; color: var(--navy); background: #fff; text-align: center; box-shadow: 0 12px 25px rgb(0 0 0 / 14%); }
.contact-band__cards .dashicons { width: auto; height: auto; margin: 0 auto 9px; font-size: 30px; }
.contact-band__cards strong { font-size: clamp(.88rem, 1.5vw, 1.1rem); }
.contact-band__cards small { font-size: .68rem; }
.contact-band__cards .contact-line { color: #078b46; }
.site-footer { color: #d8e3f4; background: #021638; }
.brand--footer { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr); gap: 56px; padding-block: 56px 44px; }

.site-footer__brand { display: grid; align-content: start; gap: 20px; }
.site-footer__about { margin: 0; max-width: 420px; color: #a9bedd; font-size: .82rem; line-height: 1.85; }
.site-footer__contact { display: grid; gap: 10px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.site-footer__contact a:hover { color: #ffd264; }
.site-footer__contact .dashicons { width: auto; height: auto; flex: 0 0 auto; color: #6f9fd8; font-size: 22px; }
.site-footer__contact a:hover .dashicons { color: #ffd264; }
.site-footer__contact span:last-child { display: grid; }
.site-footer__contact strong { font-size: 1.02rem; font-weight: 900; letter-spacing: .01em; line-height: 1.3; }
.site-footer__contact small { color: #93a8c6; font-size: .68rem; font-weight: 700; }

.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__col h2 { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / 16%); color: #fff; font-size: .84rem; font-weight: 900; letter-spacing: .1em; }
.site-footer__col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { color: #c2d3ec; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
/* 「拠点」列だけは住所を並べるのでリンクにしない */
.site-footer__col--offices li { display: grid; gap: 3px; }
.site-footer__col--offices strong { color: #fff; font-size: .82rem; font-weight: 900; }
.site-footer__col--offices span { color: #a9bedd; font-size: .74rem; line-height: 1.7; }

.site-footer__bottom { padding-block: 18px 22px; border-top: 1px solid rgb(255 255 255 / 13%); }
.site-footer__bottom p { margin: 0; color: #8fa4c3; font-size: .7rem; text-align: center; }

@media (max-width: 1100px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 44px; }
  .site-footer__about { max-width: none; }
  .site-header__contact .header-phone { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { border-bottom: 1px solid var(--line); }
  .service-card:nth-child(3) { border-right: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); }
  .contact-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 78px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .site-header { position: sticky; top: 0; box-shadow: 0 3px 16px rgb(4 35 90 / 8%); }
  .site-header__inner { min-height: 74px; }
  .brand { min-width: 0; }
  .brand__mark, .brand__logo img { width: 49px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: block; font-size: .58rem; line-height: 1.35; }
  .site-header__contact { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; right: 0; left: 0; width: 100%; max-height: 0; min-height: 0; overflow: hidden; background: #fff; box-shadow: 0 17px 28px rgb(2 30 80 / 12%); transition: max-height .3s; }
  .is-menu-open .site-nav { max-height: 80vh; overflow-y: auto; }
  .site-nav__list, .site-nav ul { display: block; width: min(calc(100% - 36px), var(--shell)); height: auto; margin-inline: auto; padding-block: 8px 20px; }
  .site-nav a { display: flex; height: auto; min-height: 51px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .site-nav a::after { position: static; content: "→"; height: auto; background: none; }
  .is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero--home { min-height: 0; }
  .hero__inner, .hero--home .hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 48px; padding-block: 70px; }
  .hero--home .hero__media { inset: auto 0 0 20%; height: 55%; opacity: .28; }
  .hero--home::after { background: linear-gradient(180deg, #fff 25%, rgb(255 255 255 / 68%) 70%, #fff); }
  .hero__solution { font-size: clamp(3.3rem, 12vw, 5.8rem); }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 3.25rem); line-height: 1.42; }
  .section-heading h1, .section-heading h2 { font-size: clamp(2rem, 4.5vw, 2.35rem); line-height: 1.5; }
  /* SERVICE の下の見出しと本文は会社概要セクションへ移したので出さない */
  .section--services .section-heading h2, .section--services .section-heading p { display: none; }
  .editorial h2, .contact-band h2 { font-size: clamp(1.85rem, 4vw, 2.2rem); }
  .hero--home .achievement { display: none; }
  .hero__picture { max-width: 720px; margin-inline: auto; }
  .hero__picture .achievement { right: 10px; bottom: -42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .steps li, .steps li:last-child { border: 1px solid var(--line); border-radius: 5px; }
  .steps li::after { display: none; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__grid div:nth-child(2), .proof__grid div:nth-child(4) { border-right: 0; }
  .proof__grid div:nth-child(-n+4) { border-bottom: 1px solid rgb(255 255 255 / 24%); }
  .editorial { grid-template-columns: 1fr; gap: 30px; padding: 42px; }
  .editorial__checks { padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand strong { font-size: .89rem; }
  .brand small { font-size: .55rem; }
  .hero__inner, .hero--home .hero__inner { padding-block: 52px 70px; }
  .hero__solution { font-size: 3rem; }
  body { font-size: 16px; line-height: 1.85; }
  p, li, dd, dt { line-height: 1.85; }
  .hero h1 { font-size: clamp(1.875rem, 8.2vw, 2.25rem); line-height: 1.48; letter-spacing: 0; }
  .hero__lead { font-size: 1rem; line-height: 1.85; }
  .section-heading h1, .section-heading h2 { font-size: clamp(1.625rem, 7vw, 1.875rem); line-height: 1.55; }
  .editorial h2, .contact-band h2 { font-size: clamp(1.625rem, 7vw, 1.875rem); line-height: 1.55; }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero__picture img { aspect-ratio: 4 / 3; }
  .hero__picture .achievement { width: 112px; }
  .achievement strong { font-size: 2.4rem; }
  .section { padding-block: 66px; }
  .section--spacious { padding-block: 92px; }
  .section-heading { margin-bottom: 10px; text-align: left; }
  .service-grid { grid-template-columns: 1fr; border: 0; gap: 12px; box-shadow: none; }
  .service-card { min-height: 0; align-items: flex-start; padding: 25px; border: 1px solid var(--line) !important; text-align: left; }
  .service-card .dashicons { font-size: 40px; }
  .service-card h3 { min-height: 0; margin: 10px 0 4px; font-size: 1.0625rem; line-height: 1.65; }
  .service-card p, .feature-card p { font-size: 1rem; line-height: 1.85; }
  .service-card b { position: absolute; right: 24px; align-self: flex-end; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { min-height: 0; padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 155px; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__grid div { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 24%); }
  .editorial { padding: 28px 24px; }
  .contact-band { margin-top: 0; }
  .contact-band__cards { grid-template-columns: 1fr; }
  .contact-band__cards a { min-height: 112px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 38px; padding-block: 44px 34px; }
  .site-footer__nav { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header__contact, .menu-toggle, .site-nav, .contact-band { display: none !important; }
  .site-header { position: static; }
  .hero__inner { min-height: 0; }
  a { text-decoration: underline; }
}

/* Website takeover: dedicated desktop reference layout. */
.takeover-page { color: #172033; }
.takeover-page .shell { width: min(calc(100% - 48px), 1240px); }
.take-fv { overflow: hidden; background: linear-gradient(105deg, #fff 0 45%, #eff5fc 72%, #dceaf8); }
.take-fv__inner { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; min-height: 450px; }
.take-fv__copy { position: relative; z-index: 1; padding-block: 55px; }
.section-kicker { margin: 0 0 10px; color: #0752ae; font-size: .85rem; font-weight: 800; letter-spacing: .15em; }
.take-fv__eyebrow { display: inline-block; margin: 0 0 15px; padding: 6px 16px; border-radius: 100px; color: #072c70; background: #ffc93c; font-size: .85rem; font-weight: 900; letter-spacing: .1em; }
.take-fv h1 { margin: 0; color: #072c70; font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.38; letter-spacing: .02em; }
.take-fv h1 em { color: #0754b5; font-style: normal; }
.take-fv__lead { max-width: 540px; margin: 22px 0 7px; color: #172033; font-size: 1.15rem; font-weight: 700; }
.take-fv__promise { position: relative; max-width: 560px; margin: 14px 0 0; padding: 15px 20px 15px 52px; border-radius: 10px; color: #fff; background: linear-gradient(100deg, #072c70, #0d5aa8); box-shadow: 0 10px 26px rgb(9 42 94 / 22%); font-size: clamp(1.02rem, 1.35vw, 1.18rem); font-weight: 800; line-height: 1.6; }
.take-fv__promise-mobile { display: none; }
.take-fv__promise::before { position: absolute; top: 15px; left: 17px; color: #ffc93c; content: "\f147"; font-family: dashicons; font-size: 25px; font-weight: 400; line-height: 1; }
.take-fv__visual { position: relative; height: 100%; min-height: 450px; }
.take-fv__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #fff 0%, transparent 28%); }
.take-fv__visual img { width: 100%; height: 100%; object-fit: cover; }
.take-fv__visual span { position: absolute; z-index: 1; right: 5%; bottom: 9%; display: grid; width: 142px; height: 142px; place-content: center; border: 3px solid #d89b14; border-radius: 50%; outline: 1px solid #d89b14; outline-offset: 4px; color: #082f75; background: rgb(255 255 255 / 90%); font-size: .75rem; font-weight: 800; line-height: 1.2; text-align: center; }
.take-fv__visual b { display: block; font-size: 3.2rem; line-height: .95; }
.take-fv__visual small { font-size: .67rem; }
.take-title { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; text-align: center; }
.take-title::before, .take-title::after { flex: 1; height: 3px; content: ""; background: #b5c3d8; }
.take-title h2 { margin: 0; color: #052d72; font-size: 3rem; line-height: 1.35; letter-spacing: .03em; }
.take-title--light h2 { color: #fff; }
.take-title--light::before, .take-title--light::after { background: #6d90c6; }
.take-issues { padding-block: 5rem; background: linear-gradient(105deg, #021a52, #064ca4); }
.take-issues__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.take-issues article { min-height: 218px; padding: 30px 22px; border-radius: 3px; background: #fff; text-align: center; box-shadow: 0 11px 25px rgb(0 0 0 / 13%); }
.take-issues .dashicons { width: auto; height: auto; color: #0751ad; font-size: 40px; }
.take-issues h3 { margin: 13px 0 9px; color: #082e71; font-size: 1.22rem; line-height: 1.55; }
.take-issues p { margin: 0; color: #333; font-size: 1rem; line-height: 1.75; }
.take-support { display: grid; grid-template-columns: .87fr 1.13fr; align-items: stretch; gap: 50px; padding-block: 5rem; }
.take-support__photo { min-height: 410px; }
.take-support__photo img { width: 100%; height: 100%; object-fit: cover; }
.take-support__body { padding-block: 20px; }
.take-support h2, .take-addons h2 { margin: 0 0 22px; color: #062d72; font-size: 2rem; line-height: 1.5; }
.take-support__body > p:not(.section-kicker), .take-addons p { margin: 0; color: #333; font-size: 1rem; line-height: 2; }
.take-support__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 26px; }
.take-support__items span { display: grid; min-height: 84px; place-content: center; padding: 7px; border: 1px solid #d4dfef; color: #083982; font-size: .92rem; font-weight: 700; line-height: 1.55; text-align: center; }
.take-call { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-bottom: 5rem; padding: 23px 34px; border-radius: 3px; background: #fff6dd; }
.take-call > .dashicons { width: auto; height: auto; color: #dba720; font-size: 43px; }
.take-call p { margin: 0; color: #333; font-size: 1rem; line-height: 1.75; }
.take-call strong { color: #082c70; font-size: 1.15rem; }
.take-flow { padding-bottom: 5rem; }
.take-flow ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.take-flow li { position: relative; display: grid; min-height: 116px; place-content: center; padding: 18px 12px; border: 1px solid #cdd9eb; color: #082e72; font-size: 1rem; font-weight: 800; line-height: 1.45; text-align: center; }
.take-flow li:not(:last-child)::after { position: absolute; z-index: 1; top: 50%; right: -12px; width: 10px; height: 10px; border-top: 2px solid #0d52aa; border-right: 2px solid #0d52aa; content: ""; transform: translateY(-50%) rotate(45deg); background: #fff; }
.take-flow b { display: block; margin-bottom: 6px; color: #1680cf; font-size: .8rem; }
.take-proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 5rem; background: linear-gradient(90deg, #062861, #0879bd); color: #fff; }
.take-proof article { display: grid; min-height: 125px; place-content: center; padding: 15px; border-right: 1px solid rgb(255 255 255 / 30%); text-align: center; }
.take-proof article:last-child { border-right: 0; }
.take-proof strong { font-size: 1.2rem; line-height: 1.25; }
.take-proof strong b { font-size: 2.2rem; }
.take-proof small, .take-proof span { display: block; font-size: .83rem; }
.take-addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 5rem; }
.take-addons article { min-height: 220px; padding: 40px; border: 1px solid #d3deec; background: #f9fbfe; }
.take-addons h2 { font-size: 1.5rem; }

@media (max-width: 960px) {
  .takeover-page .shell { width: min(calc(100% - 36px), 1240px); }
  .take-fv__inner, .take-support { grid-template-columns: 1fr; }
  .take-fv__visual { min-height: 320px; }
  .take-fv__visual::after { background: linear-gradient(180deg, #fff, transparent 35%); }
  .take-issues__grid { grid-template-columns: repeat(2, 1fr); }
  .take-support__photo { min-height: 300px; }
  .take-flow ol { grid-template-columns: repeat(3, 1fr); }
  .take-flow li::after { display: none; }
}
@media (max-width: 600px) {
  .takeover-page .shell { width: min(calc(100% - 28px), 1240px); }
  .take-fv h1 { font-size: 2rem; }
  .take-fv__lead { font-size: 1rem; }
  .take-fv__visual span { width: 110px; height: 110px; }
  .take-fv__visual b { font-size: 2.5rem; }
  .take-title { gap: 12px; margin-bottom: 28px; }
  .take-title h2 { font-size: 1.65rem; }
  .take-issues, .take-support { padding-block: 66px; }
  .take-issues__grid, .take-addons, .take-proof { grid-template-columns: 1fr; }
  .take-issues article { min-height: 0; }
  .take-support { gap: 28px; }
  .take-support h2 { font-size: 1.55rem; }
  .take-support__items { grid-template-columns: repeat(2, 1fr); }
  .take-call { grid-template-columns: 1fr; padding: 25px; text-align: center; }
  .take-call .button { width: 100%; }
  .take-flow { padding-bottom: 66px; }
  .take-flow ol { grid-template-columns: 1fr; }
  .take-proof { margin-bottom: 66px; }
  .take-proof article { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 30%); }
  .take-addons { padding-bottom: 66px; }
  .take-addons article { min-height: 0; padding: 28px 24px; }
}



/* ============================================================
   スマホアプリ ヒーロー（デスクトップ）
   旧実装は同一セレクタの指定が最大5ブロックに重複し、
   後方のブロックが前方を打ち消していた。実効値のみをここへ集約。
   画像(__visual)の寸法は後方の「共有ヒーロー画像ルール」が支配するため
   ここでは指定しない。
   ============================================================ */
@media (min-width: 961px) {
  .app-first-view { display: grid; height: var(--fv-h); min-height: 705px; grid-template-rows: 445px minmax(260px, 1fr); overflow: hidden; background: #fff; }
  .app-first-view .app-fv { height: 445px; min-height: 0; }
  .app-page .app-first-view .app-fv__copy { align-self: center; padding: 28px 12px 18px 10px; }
  .app-page .app-first-view .app-fv__features { max-width: 100%; margin: 15px 0 0; }
  .app-first-view .app-consult { display: grid; width: min(calc(100% - 48px), 1240px); align-content: start; padding: 26px 0 0; }
  .app-first-view .app-consult__title h2 { font-size: 3rem; }
  .app-first-view .app-consult__grid article { min-height: 142px; }
  .app-page .app-first-view { grid-template-rows: clamp(445px, 27vw, 513px) minmax(260px, 1fr); }
  .app-page .app-first-view .app-fv { height: clamp(445px, 27vw, 513px); }
  .app-page .app-first-view .app-fv__inner { height: 100%; min-height: 0; width: min(calc(100% - 48px), 1240px); max-width: 1240px; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); }
  .app-page .app-first-view .app-fv__eyebrow { margin-bottom: 6px; font-size: .9rem; }
  .app-page .app-first-view .app-fv__lead { font-size: .94rem; line-height: 1.58; }
  .app-first-view .app-consult__title { margin-bottom: 2rem; }
  .app-page .app-first-view .app-fv h1 { margin-bottom: 15px; font-size: var(--hero-h1); line-height: 1.16; }
  .app-page .app-first-view .app-fv h1 em { white-space: nowrap; }
  .app-page .app-first-view .app-fv__features span { min-height: 110px; font-size: .85rem; line-height: 1.4; }
  .app-page .app-first-view .app-fv__features i { margin-bottom: 7px; font-size: 34px; }
  .app-page .app-first-view .app-orange-button { min-height: 46px; max-width: 430px; margin-top: 22px; padding: 10px 18px; font-size: .86rem; }
  .app-page .app-first-view .app-orange-button i { font-size: 19px; }
  .app-page .app-first-view .app-orange-button b { font-size: 1.4rem; }
  .app-page .app-first-view .app-consult { padding: 18px 0 0; }
  .app-page .app-first-view .app-consult__title { margin-bottom: 18px; }
  .app-page .app-first-view .app-consult__grid article { min-height: 122px; }
}

/* App development style and process: editorial panel plus vertical timeline. */
.app-page .app-bottom { display: grid; grid-template-columns: 1fr; gap: 32px; }
.app-page .app-bottom > article { min-height: 0; padding: 0; border: 0; border-radius: 0; }
.app-bottom__style { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); overflow: hidden; background: #f5f8fc; }
.app-bottom__style-heading { display: grid; align-content: center; min-height: 310px; padding: 44px; color: #fff; background: linear-gradient(145deg, #031d55, #0959ad); }
.app-bottom__style-heading p, .app-bottom__flow header p { margin: 0 0 13px; color: #9fcbff; font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.app-bottom__style-heading h2 { margin: 0; color: #fff; font-size: 2rem; font-weight: 900; line-height: 1.45; }
.app-bottom__style-body { display: grid; align-content: center; padding: 48px 58px; }
.app-bottom__style-body p { max-width: 720px; margin: 0 0 18px; color: #333; font-size: 1rem; line-height: 2; }
.app-bottom__style-body .dcs-seo-copy { margin-bottom: 18px; }
.app-bottom__style-body strong { color: var(--blue); font-size: 1.2rem; line-height: 1.75; }
.app-bottom__style-body > span { color: var(--navy); font-size: 1rem; font-weight: 800; }
.app-bottom__flow { padding: 48px !important; border: 1px solid #d6e1ef !important; background: #fff; }
.app-bottom__flow header { display: block; margin-bottom: 30px; text-align: center; }
.app-bottom__flow header p { margin-bottom: 5px; color: var(--blue); }
.app-bottom__flow h2 { margin: 0; color: var(--navy); font-size: 2rem; font-weight: 900; }
.app-bottom__flow header > span { display: block; margin-top: 8px; padding: 0; color: #333; font-size: 1rem; text-align: center; }
.app-page .app-bottom__flow ol { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 auto; max-width: 640px; }
.app-page .app-bottom__flow ol li { position: relative; display: grid; min-height: 86px; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 18px; padding: 0 0 0 3px; border: 0; color: var(--navy); background: transparent; text-align: left; }
.app-page .app-bottom__flow ol li:not(:last-child)::after { position: absolute; top: 58px; bottom: -3px; left: 36px; width: 2px; content: ""; background: #c4d8ef; }
.app-page .app-bottom__flow ol li::before { display: none; }
.app-bottom__flow ol b { position: relative; z-index: 1; display: grid; width: 64px; height: 64px; place-content: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: .9rem; letter-spacing: .04em; }
.app-bottom__flow ol li > div { display: grid; gap: 3px; padding: 12px 16px; border-left: 3px solid #e2edf9; }
.app-bottom__flow ol strong { font-size: 1.13rem; font-weight: 900; line-height: 1.4; }
.app-bottom__flow ol span { color: #333; font-size: 1rem; font-weight: 400; line-height: 1.6; }
@media (max-width: 700px) {
  .app-page .app-bottom { gap: 24px; }
  .app-bottom__style { grid-template-columns: 1fr; }
  .app-bottom__style-heading { min-height: 0; padding: 32px 15px; }
  .app-bottom__style-heading p, .app-bottom__style-heading h2 { white-space: nowrap; }
  .app-bottom__style-heading p br, .app-bottom__style-heading h2 br { display: none; }
  .app-bottom__style-heading h2 { font-size: clamp(1.05rem, 4.6vw, 1.25rem); letter-spacing: -.045em; }
  .app-bottom__style-body { padding: 30px 25px; }
  .app-bottom__style-body strong { font-size: 1.05rem; }
  .app-bottom__flow { padding: 30px 22px !important; }
  .app-bottom__flow header { display: block; margin-bottom: 22px; }
  .app-bottom__flow h2 { font-size: 1.65rem; }
  .app-bottom__flow header > span { display: block; margin-top: 7px; text-align: center; }
  .app-page .app-bottom__flow ol li { min-height: 96px; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .app-bottom__flow ol b { width: 50px; height: 50px; font-size: .76rem; }
  .app-page .app-bottom__flow ol li:not(:last-child)::after { top: 49px; left: 28px; }
  .app-bottom__flow ol li > div { padding: 9px 12px; }
  .app-bottom__flow ol strong { font-size: 1rem; }
}

@media (max-width: 600px) {
  .app-page .app-first-view .app-orange-button { width: 100%; min-height: 48px; flex-wrap: nowrap; gap: 8px; padding: 8px 13px; font-size: clamp(.68rem, 3.4vw, .82rem); line-height: 1; white-space: nowrap; }
  .app-page .app-first-view .app-orange-button i { flex: 0 0 auto; font-size: 16px; }
  .app-page .app-first-view .app-orange-button b { flex: 0 0 auto; font-size: 1.2rem; }
}

/* Website production: full-height desktop hero with a full-bleed visual area. */
@media (min-width: 961px) {
  .web-page .web-fv { min-height: var(--fv-h); background: #fff; }
  .web-page .web-fv__inner { width: min(calc(100% - 48px), 1240px); min-height: inherit; max-width: 1240px; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .web-page .web-fv__copy { grid-column: auto; align-self: center; padding: 36px 12px 36px 0; }
  .web-page .web-fv h1 { font-size: clamp(2.25rem, 2.7vw, 3.25rem); line-height: 1.18; }
  .web-page .web-fv__lead { font-size: 1rem; line-height: 1.65; }
  .web-page .web-fv__visual { min-width: 0; min-height: inherit; grid-column: auto; }
  .web-page .web-fv__visual img { height: 100%; object-fit: contain; object-position: center right; }
}

/* Website production: the hero and its achievement band form one desktop first view. */
.web-page .web-stat { padding: 0; color: #fff; background: linear-gradient(100deg, #032460 0%, #0954a9 100%); }
.web-page .web-stat .shell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(calc(100% - 48px), 1440px); max-width: 1440px; margin: 0 auto; }
.web-page .web-stat article { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 18px; min-height: 130px; padding: 18px clamp(18px, 3vw, 52px); }
.web-page .web-stat article { border-right: 0; }
.web-page .web-stat article + article { position: relative; }
.web-page .web-stat article + article::before { position: absolute; top: 14px; bottom: 14px; left: 0; width: 2px; content: ""; background: rgb(255 255 255 / 35%); }
.web-page .web-stat .dashicons { width: auto; height: auto; color: #fff; font-size: 48px; line-height: 1; }
.web-page .web-stat strong { display: block; color: #fff; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 900; line-height: 1.12; white-space: nowrap; }
.web-page .web-stat strong small { margin-left: 7px; color: #fff; font-size: .9rem; }
.web-page .web-stat span { display: block; color: #fff; font-size: 1rem; font-weight: 800; line-height: 1.45; }
.web-page .web-stat span b { color: #ffd342; font-size: 1.45em; }

@media (min-width: 961px) {
  .web-page .web-first-view { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: var(--fv-h); min-height: 640px; overflow: hidden; background: #fff; }
  .web-page .web-first-view .web-fv { min-height: 0; height: auto; }
  .web-page .web-first-view .web-fv__inner { min-height: 0; height: 100%; }
  .web-page .web-first-view .web-fv__visual { min-height: 0; height: 100%; }
  .web-page .web-first-view .web-stat { min-height: 0; }
}

@media (max-width: 960px) {
  .web-page .web-stat .shell { grid-template-columns: 1fr; width: 100%; }
  .web-page .web-stat article { grid-template-columns: 44px minmax(0, 1fr); min-height: 96px; gap: 14px; padding: 18px 24px; border-bottom: 0; }
  .web-page .web-stat article + article::before { top: 0; right: 24px; bottom: auto; left: 24px; width: auto; height: 1px; }
  .web-page .web-stat .dashicons { font-size: 38px; }
  .web-page .web-stat strong { font-size: 1.4rem; }
}

/* Website production: identify the visitor's issue before explaining the solution. */
.web-page .web-issues__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.web-page .web-issues__grid article { display: grid; min-height: 164px; align-content: center; justify-items: center; gap: 14px; padding: 18px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: center; }
.web-page .web-issues__grid .dashicons { width: auto; height: auto; color: var(--navy); font-size: 38px; line-height: 1; }
.web-page .web-issues__grid p { margin: 0; color: #222; font-size: 1rem; font-weight: 800; line-height: 1.65; }
.web-page .web-issues__message { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0 0; padding: 18px 24px; color: #222; background: #fff6d9; font-size: 1rem; font-weight: 700; line-height: 1.65; text-align: center; }
.web-page .web-issues__message .dashicons { width: auto; height: auto; color: #d9a61e; font-size: 34px; }
.web-page .web-issues__message strong { color: var(--navy); }
.web-page .web-takeover { grid-template-columns: auto minmax(0, 1fr) minmax(190px, .75fr) auto; }
.web-page .web-takeover .button--light { min-width: 184px; border-color: #fff; color: var(--navy); background: #fff; box-shadow: none; }
.web-page .web-takeover .button--light:hover { color: #fff; background: var(--blue); }

@media (max-width: 960px) {
  .web-page .web-issues__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .web-page .web-takeover { grid-template-columns: auto minmax(0, 1fr); }
  .web-page .web-takeover > strong, .web-page .web-takeover .button--light { grid-column: 2; }
  .web-page .web-takeover .button--light { justify-self: start; }
}

@media (max-width: 600px) {
  .web-page .web-issues__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .web-page .web-issues__grid article { min-height: 142px; }
  .web-page .web-issues__grid p { font-size: .94rem; }
  .web-page .web-issues__message { display: grid; gap: 8px; padding: 16px; font-size: .94rem; }
  /* 見出し「こんなお困りごとはありませんか？」は16文字。1.55rem(24.8px)だと397px必要で、
     430px端末でも本文幅384pxに収まらず2行になっていた。桁数から逆算した上限を掛ける。
     .web-title は flex で ::before/::after の罫線があるため、gap 9px×2 を引いて計算する。 */
  .web-page .web-issues .web-title h2 { font-size: min(1.55rem, (100vw - 50px) / 16.3); }
  /* カードは最長「問い合わせや採用応募が」11文字。.94rem(15.04px)だと165px必要で、
     390px端末の本文幅157pxに収まらず3行になっていた。2行に抑える上限を掛ける。
     1列の幅 = (100vw - 28px - gap 8px) ÷ 2、本文幅はさらに padding 10px×2 を引く。 */
  .web-page .web-issues__grid p { font-size: min(.94rem, (100vw - 76px) / 22.6); }
  .web-page .web-takeover { grid-template-columns: 1fr; }
  .web-page .web-takeover > strong, .web-page .web-takeover .button--light { grid-column: auto; }
  .web-page .web-takeover .button--light { width: 100%; }
}

/* Website-production add-ons: alternating editorial rows with editable images. */
.web-addons.dcs-block { display: grid; grid-template-columns: 1fr; gap: 24px; }
.dcs-block .web-addon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); min-height: 300px; padding: 0; overflow: hidden; border: 0; border-radius: 6px; }
.dcs-block .web-addon:nth-child(1) { background: #fff3f7; }
.dcs-block .web-addon:nth-child(2) { background: #effaf2; }
.dcs-block .web-addon:nth-child(3) { background: #eefaff; }
.dcs-block .web-addon__copy { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-content: center; gap: 18px; padding: clamp(30px, 4vw, 64px); }
.dcs-block .web-addon__copy > .dashicons { width: auto; height: auto; color: var(--blue); font-size: 48px; line-height: 1; }
.dcs-block .web-addon h3 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 900; line-height: 1.35; }
.dcs-block .web-addon p { margin: 0; color: #333; font-size: 1rem; line-height: 1.8; }
.dcs-block .web-addon__visual { min-height: 300px; margin: 0; overflow: hidden; }
.dcs-block .web-addon__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dcs-block .web-addon:nth-child(even) .web-addon__copy { order: 2; }
.dcs-block .web-addon:nth-child(even) .web-addon__visual { order: 1; }

@media (max-width: 700px) {
  .web-addons.dcs-block { gap: 18px; }
  .dcs-block .web-addon { grid-template-columns: 1fr; min-height: 0; }
  .dcs-block .web-addon__copy { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 30px 24px; }
  .dcs-block .web-addon__copy > .dashicons { font-size: 40px; }
  .dcs-block .web-addon h3 { font-size: 1.35rem; }
  .dcs-block .web-addon__visual { min-height: 220px; }
  .dcs-block .web-addon:nth-child(even) .web-addon__copy, .dcs-block .web-addon:nth-child(even) .web-addon__visual { order: initial; }
}

/* EC operation tools: a compact dashboard-style product overview. */
/* 左のイントロ列はセクション見出し（.web-title + .dcs-block-kicker/lead）へ移したので、
   カードは3項目だけのグリッドになる。 */
.web-ec.dcs-block { display: block; margin-top: 0; padding: 0; overflow: hidden; border: 1px solid #d6e4f4; border-radius: 6px; background: #fff; }
.dcs-block .web-ec__main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcs-block .web-ec__item { position: relative; padding: 28px 10px 20px; background: #fff; }
.dcs-block .web-ec__item + .web-ec__item { border-left: 1px solid #dce7f3; }
.dcs-block .web-ec__item > .dashicons { width: auto; height: auto; margin-right: 7px; color: #118bc5; font-size: 23px; vertical-align: -4px; }
.dcs-block .web-ec__item h3 { display: inline; margin: 0; color: var(--navy); font-size: 1.18rem; font-weight: 900; line-height: 1.4; }
.dcs-block .web-ec__item p { min-height: 68px; margin: 12px 0 13px; color: #333; font-size: .88rem; line-height: 1.6; }
.dcs-block .web-ec__chart { position: relative; display: flex; height: 65px; align-items: end; justify-content: space-between; padding: 0 6px 7px; border-bottom: 2px solid #1f90c4; background: linear-gradient(to right, transparent 0 100%); }
.dcs-block .web-ec__chart::before { position: absolute; right: 5px; bottom: 27px; left: 5px; height: 2px; content: ""; background: linear-gradient(148deg, transparent 0 7%, #188bc4 8% 25%, transparent 26% 31%, #188bc4 32% 52%, transparent 53% 58%, #188bc4 59% 77%, transparent 78% 83%, #f47b40 84% 100%); transform: skewY(9deg); transform-origin: left; }
.dcs-block .web-ec__chart span { position: relative; z-index: 1; width: 8px; height: 8px; border: 2px solid #168bc5; border-radius: 50%; background: #fff; }
.dcs-block .web-ec__chart span:last-child { border-color: #f47b40; }
.dcs-block .web-ec__sync { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 10px 0 0; color: #188bc4; text-align: center; }
.dcs-block .web-ec__sync .dashicons { width: auto; height: auto; font-size: 39px; }
.dcs-block .web-ec__sync b { font-size: 2rem; font-weight: 400; }
.dcs-block .web-ec__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 66px; padding-top: 3px; --logo-h: clamp(18px, 1.9vw, 27px); }
.dcs-block .web-ec__brands b { color: var(--navy); font-family: Arial, sans-serif; font-size: 1rem; line-height: 1; }
.dcs-block .web-ec__benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0; padding: 17px 24px; border-top: 1px solid #d6e4f4; list-style: none; }
.dcs-block .web-ec__benefits li { color: var(--navy); font-size: .94rem; font-weight: 800; line-height: 1.5; }
.dcs-block .web-ec__benefits li::before { display: inline-grid; width: 17px; height: 17px; margin-right: 7px; place-content: center; border: 1px solid #123e78; border-radius: 50%; content: "✓"; font-size: .7rem; vertical-align: -1px; }

@media (max-width: 960px) {
  .dcs-block .web-ec__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2列時は3番目が折り返して2段目の先頭に来るため、左罫線を上罫線に振り替える。 */
  .dcs-block .web-ec__item--mall { border-top: 1px solid #dce7f3; border-left: 0; }
}

@media (max-width: 600px) {
  .dcs-block .web-ec__main { grid-template-columns: 1fr; }
  .dcs-block .web-ec__item + .web-ec__item { border-top: 1px solid #dce7f3; border-left: 0; }
  .dcs-block .web-ec__item p { min-height: 0; }
  .dcs-block .web-ec__benefits { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: start; }
}

/* Refined add-on layout: white editorial copy with a contained product visual. */
.web-addons.dcs-block { gap: 64px; }
.dcs-block .web-addon { --addon-accent: #1fb87b; grid-template-columns: minmax(0, 1fr) minmax(400px, .98fr); min-height: 410px; overflow: visible; border-radius: 0; background: transparent; }
.dcs-block .web-addon:nth-child(1) { --addon-accent: #e66c97; background: transparent; }
.dcs-block .web-addon:nth-child(2) { --addon-accent: #1fb87b; background: transparent; }
.dcs-block .web-addon:nth-child(3) { --addon-accent: #159fca; background: transparent; }
.dcs-block .web-addon__copy { display: grid; grid-template-columns: 1fr; align-content: center; gap: 0; padding: 35px 56px 35px 12px; }
.dcs-block .web-addon__tag { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--addon-accent); font-size: 1rem; font-weight: 900; line-height: 1.4; }
.dcs-block .web-addon__tag .dashicons { width: auto; height: auto; color: inherit; font-size: 32px; }
.dcs-block .web-addon h3 { max-width: 540px; margin: 0; color: #20272d; font-size: clamp(1.55rem, 2vw, 2rem); letter-spacing: -.035em; line-height: 1.45; white-space: nowrap; }
.dcs-block .web-addon__rule { display: block; width: 100%; max-width: 420px; height: 3px; margin: 22px 0 23px; background: linear-gradient(to right, var(--addon-accent) 0 30%, #d7e1e5 30% 100%); }
.dcs-block .web-addon .web-addon__body { max-width: 540px; margin: 0; color: #333; font-size: 1rem; line-height: 1.9; }
.dcs-block .web-addon__visual { display: grid; width: min(100%, 540px); min-height: 0; height: 380px; align-self: center; justify-self: end; place-items: center; margin: 0; padding: 0; overflow: visible; border-radius: 0; background: transparent; }
.dcs-block .web-addon__visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 30px; filter: none; }
@media (min-width: 701px) {
  .dcs-block .web-addon:nth-child(even) .web-addon__copy { order: 2; padding-right: 12px; padding-left: 56px; }
  .dcs-block .web-addon:nth-child(even) .web-addon__visual { order: 1; justify-self: start; }
}

@media (max-width: 700px) {
  .web-addons.dcs-block { gap: 42px; }
  .dcs-block .web-addon { grid-template-columns: 1fr; min-height: 0; }
  .dcs-block .web-addon__copy { padding: 10px 8px 25px; }
  .dcs-block .web-addon__tag { margin-bottom: 16px; font-size: .9rem; }
  .dcs-block .web-addon h3 { font-size: 1.65rem; }
  .dcs-block .web-addon h3 { white-space: normal; }
  .dcs-block .web-addon__rule { margin: 17px 0; }
  .dcs-block .web-addon__visual { width: 100%; height: 250px; padding: 22px; border-radius: 22px; }
  .dcs-block .web-addon:nth-child(even) .web-addon__copy, .dcs-block .web-addon:nth-child(even) .web-addon__visual { order: initial; }
}

/* 3カラム横並びの変種。デザイン案どおり「アイコン＋見出し → 本文 → 画像」の縦積みカードを並べる。
   既存の .web-addons.dcs-block が (0,2,0) なので、単独クラスでは詳細度で負ける。
   .web-addons.dcs-block.web-addons--columns (0,3,0) にして順序に依存せず勝たせる。 */
.web-addons.dcs-block.web-addons--columns .web-addon { grid-template-columns: 1fr; min-height: 0; }
.web-addons.dcs-block.web-addons--columns .web-addon__copy { padding: 22px 22px 0; }
.web-addons.dcs-block.web-addons--columns .web-addon__tag { margin-bottom: 12px; font-size: .95rem; }
.web-addons.dcs-block.web-addons--columns .web-addon__tag .dashicons { font-size: 27px; }
/* 最長の「ショッピングカート・ECシステム」は字送り 15em（letter-spacing 込み 14.68em）。
   桁数から逆算した上限を掛けて、どの幅でも3つとも1行に収める。
   1列時の本文幅 = 100vw - 48px(shell) - 44px(copy の左右 padding)。 */
.web-addons.dcs-block.web-addons--columns .web-addon h3 { max-width: none; font-size: min(1.35rem, (100vw - 92px) / 15); letter-spacing: -.02em; line-height: 1.4; white-space: normal; }
.web-addons.dcs-block.web-addons--columns .web-addon__rule { max-width: none; margin: 13px 0 14px; }
.web-addons.dcs-block.web-addons--columns .web-addon .web-addon__body { max-width: none; font-size: .95rem; line-height: 1.8; }
.web-addons.dcs-block.web-addons--columns .web-addon__visual { width: auto; height: auto; align-self: end; justify-self: stretch; margin: 20px 22px 22px; padding: 0; border-radius: 10px; aspect-ratio: 4 / 3; }
.web-addons.dcs-block.web-addons--columns .web-addon__visual img { border-radius: 10px; }
.web-addons.dcs-block.web-addons--columns .web-addon:nth-child(even) .web-addon__copy, .web-addons.dcs-block.web-addons--columns .web-addon:nth-child(even) .web-addon__visual { order: initial; padding-right: 22px; padding-left: 22px; justify-self: stretch; }
@media (min-width: 961px) {
  .web-addons.dcs-block.web-addons--columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .web-addons.dcs-block.web-addons--columns .web-addon { grid-template-rows: auto 1fr; }
  .web-addons.dcs-block.web-addons--columns .web-addon:nth-child(even) .web-addon__copy { padding-right: 22px; padding-left: 22px; }
  /* 3列時の本文幅 = (shell - gap×2 - padding×3) / 3。これを 15 で割るので合わせて /45。 */
  .web-addons.dcs-block.web-addons--columns .web-addon h3 { font-size: min(1.4rem, (min(100vw - 48px, 1180px) - 184px) / 45); }
}

/* Website handover: one coherent message block and one clear action. */
.web-page .web-takeover { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; margin-bottom: 5rem; padding: 30px 42px; }
.web-page .web-takeover__copy { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 18px; }
.web-page .web-takeover__copy > .dashicons { width: auto; height: auto; color: #ffd044; font-size: 48px; }
.web-page .web-takeover__eyebrow { margin: 0 0 6px; color: #dbe9ff; font-size: 1rem; font-weight: 800; }
.web-page .web-takeover h2 { margin: 0 0 9px; color: #fff; font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 900; line-height: 1.35; }
.web-page .web-takeover__copy div > p:last-child { margin: 0; color: #fff; font-size: 1rem; line-height: 1.65; }
.dcs-seo-section { max-width: 940px; padding-block: 56px; }
.dcs-seo-section p { margin: 0; color: #333; font-size: 1rem; line-height: 1.9; }
.dcs-seo-section p + p { margin-top: 18px; }
.web-page .web-takeover .button--light { min-width: 205px; }

@media (max-width: 700px) {
  .web-page .web-takeover { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .web-page .web-takeover__copy { display: block; }
  .web-page .web-takeover__copy > .dashicons { display: block; width: 38px; height: 38px; margin: 0 auto 18px; font-size: 38px; }
  .web-page .web-takeover .button--light { width: 100%; }

  .web-page .web-reasons { grid-template-columns: 1fr; gap: 10px; }
  .web-page .web-reasons article { display: grid; min-height: 0; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 13px; padding: 19px 17px; }
  .web-page .web-reasons > article > b { grid-column: 1; grid-row: 1; align-self: start; width: 30px; height: 30px; font-size: .7rem; }
  .web-page .web-reasons i { position: static; grid-column: 1; grid-row: 2; align-self: start; width: auto; height: auto; margin-top: 5px; color: var(--blue); font-size: 35px; }
  .web-page .web-reasons h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.05rem; }
  .web-page .web-reasons p { grid-column: 2; grid-row: 2; margin-top: 5px; font-size: .94rem; line-height: 1.65; }
}

@media (max-width: 600px) {
  .web-page .web-fv h1 { font-size: clamp(1.8rem, 8.2vw, 2rem); line-height: 1.25; }
  .web-page .web-fv h1 em { white-space: nowrap; }
  .web-page .web-fv__mobile-break { display: block; }
  .web-page .web-fv__copy > strong { display: block; text-align: center; }
}

@media (min-width: 601px) {
  .web-page .web-fv__mobile-break { display: none; }
}

/* EC operation page: full-height product hero with an integrated marketplace band. */
.ec-page .ec-fv { overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 22%, #0f5ca4 0%, #062758 45%, #02183f 100%); }
.ec-page .ec-fv__inner { display: grid; min-height: 0; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 2vw, 38px); }
.ec-page .ec-fv__copy { padding: 38px 0; }
.ec-page .ec-fv__copy > p { margin: 0 0 12px; color: #ffdb3b; font-size: 1rem; font-weight: 900; }
.ec-page .ec-fv h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; letter-spacing: -.085em; line-height: 1.2; }
.ec-page .ec-fv h1 em { color: #ffce2d; font-style: normal; }
.ec-page .ec-fv strong { display: grid; width: min(100%, 580px); grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 17px; padding: 13px 19px; border-radius: 4px; color: var(--navy); background: #fff; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.15; }
.ec-page .ec-fv strong small { padding-left: 16px; border-left: 1px solid #d6dce5; color: var(--navy); font-size: .92rem; font-weight: 900; line-height: 1.5; }
.ec-page .ec-fv__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; margin-top: 22px; }
.ec-page .ec-fv__points span { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; padding: 8px 12px 8px 0; border: 0; border-right: 1px solid rgb(255 255 255 / 35%); color: #fff; text-align: left; }
.ec-page .ec-fv__points span:nth-child(2n) { padding-left: 16px; border-right: 0; }
.ec-page .ec-fv__points b, .ec-page .ec-fv__points small { white-space: nowrap; }
.ec-page .ec-fv__points i { grid-column: 1; grid-row: 1 / 3; width: auto; height: auto; color: #fff; font-size: 30px; }
.ec-page .ec-fv__points b { font-size: .83rem; line-height: 1.35; }
.ec-page .ec-fv__points small { color: #d8e9ff; font-size: .64rem; font-weight: 700; line-height: 1.35; }
.ec-page .ec-fv__visual { display: grid; min-height: 0; height: 100%; place-items: center; }
.ec-page .ec-fv__visual img { display: block; width: 100%; max-width: 600px; max-height: 360px; object-fit: contain; }
.ec-page .ec-malls { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 18px; margin: 0 auto; padding: 14px 20px; border: 1px solid #d9e3ee; background: #fff; }
.ec-page .ec-malls p { margin: 0; color: var(--navy); font-size: 1rem; font-weight: 900; text-align: left; }
.ec-page .ec-malls div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.ec-page .ec-malls b { font-family: Arial, sans-serif; font-size: clamp(1.05rem, 1.8vw, 1.7rem); }
.ec-page .ec-malls strong { padding: 8px 12px; color: #fff; background: #08347c; font-size: .72rem; line-height: 1.35; text-align: center; }

/* ============================================================
   EC運営ツール ファーストビュー（デスクトップ）
   旧実装は min-961 が3ブロック + min-1200 が1ブロックに分裂し、
   同詳細度の !important どうしが打ち消し合っていた。
   min-1200 ブロックは11宣言すべてが後方に負けており完全に死んでいた。
   実効値のみをここへ集約。画像は後方の共有ルールが支配する。
   ============================================================ */
@media (min-width: 961px) {
  .ec-page .ec-first-view { display: grid !important; height: var(--fv-h) !important; min-height: 705px !important; overflow: hidden !important; grid-template-rows: minmax(0, 1fr) 112px !important; padding-bottom: 20px; box-sizing: border-box; background: #fff; }
  .ec-page .ec-fv { min-height: 0 !important; height: auto !important; }
  .ec-page .ec-fv__inner { width: min(calc(100% - 48px), 1240px) !important; max-width: 1240px !important; height: 100% !important; min-height: 0 !important; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr) !important; gap: 0 !important; }
  .ec-page .ec-fv__copy { align-self: center; padding: 28px 12px 18px 10px !important; }
  /* 「企業様にあわせて開発します」13文字を1行に収めるため、EC専用の値にする。
     共有トークン --hero-h1 は他ページも使うので変更しない。 */
  .ec-page .ec-fv h1 { margin-bottom: 15px !important; font-size: clamp(2rem, 3vw, 2.8rem) !important; letter-spacing: -.075em !important; line-height: 1.16 !important; }
  .ec-page .ec-fv__visual { height: 100% !important; min-height: 0 !important; }
  .ec-page .ec-fv__visual img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-position: center bottom !important; }
  .ec-page .ec-malls { align-self: start; width: min(calc(100% - 48px), 1240px); height: 112px !important; min-height: 112px !important; margin-top: 0 !important; padding: 0 20px; }
  .ec-page .ec-malls > p { display: block; }
}

/* Shared desktop hero visual rule: a centred 4:3 rectangle, independent of hero height. */
@media (min-width: 961px) {
  .core-hero__visual,
  .app-page .app-fv__visual,
  .web-page .web-fv__visual,
  .ec-page .ec-fv__visual,
  .take-fv__visual { width: 100%; min-height: 0 !important; height: auto !important; aspect-ratio: 4 / 3; align-self: center !important; }

  .core-hero__visual img,
  .app-page .app-fv__visual img,
  .web-page .web-fv__visual img,
  .ec-page .ec-fv__visual img,
  .take-fv__visual img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center !important; }

  .ec-page .ec-fv__visual img { object-fit: contain !important; }
}

@media (max-width: 960px) {
  .ec-page .ec-fv__inner { grid-template-columns: 1fr; padding-block: 34px; }
  .ec-page .ec-fv__copy { padding: 0; }
  .ec-page .ec-fv__visual { height: auto; }
  .ec-page .ec-fv__visual img { max-height: 460px; }
  .ec-page .ec-malls { grid-template-columns: 1fr; margin-top: 0; }
  .ec-page .ec-malls p { text-align: center; }
}

@media (max-width: 600px) {
  .ec-page .ec-fv__inner { padding-block: 36px 0; }
  .ec-page .ec-fv h1 { font-size: clamp(1.85rem, 8vw, 2.2rem); }
  .ec-page .ec-fv strong { grid-template-columns: 1fr; gap: 7px; font-size: 1.4rem; text-align: center; }
  .ec-page .ec-fv strong small { padding: 7px 0 0; border-top: 1px solid #d6dce5; border-left: 0; font-size: .82rem; }
  .ec-page .ec-fv__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-page .ec-fv__points span { margin-top: 10px; border-right: 0; }
  .ec-page .ec-fv__points span:nth-child(odd) { border-right: 1px solid rgb(255 255 255 / 35%); }
  .ec-page .ec-fv__visual img { max-height: 320px; }
  .ec-page .ec-malls { width: min(calc(100% - 28px), 760px); padding: 16px; }
  .ec-page .ec-malls div { justify-content: center; }
}

/* Keep the two EC solution cards compact; only the page hero has a fixed visual ratio. */
.ec-page .ec-solution { align-items: start; }
.ec-page .ec-solution article { min-height: 0; padding-bottom: 22px; }
.ec-page .ec-solution header { padding: 12px 16px; }
.ec-page .ec-solution h2 { margin: 22px 0 12px; font-size: clamp(2rem, 3.1vw, 3rem); }
.ec-page .ec-solution p { padding-inline: 28px; }
.ec-page .ec-solution article > div { margin: 20px 16px 0; }
.ec-page .ec-solution article > div span { min-height: 64px; }

/* EC masters: paired price and stock panels matching the supplied reference. */
.ec-page .ec-solution { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; margin-top: 5rem; }
.ec-page .ec-master { min-height: 0; padding: 0 16px 14px; overflow: hidden; border: 1px solid #d6e0eb; background: #fff; text-align: center; }
.ec-page .ec-master > header { margin: 0 -16px; padding: 11px 16px; color: #fff; font-size: 1rem; font-weight: 900; line-height: 1.4; }
.ec-page .ec-master--price { --master: #cf001c; }
.ec-page .ec-master--stock { --master: #00753b; }
.ec-page .ec-master--price > header, .ec-page .ec-master--price .ec-master__button { background: var(--master); }
.ec-page .ec-master--stock > header, .ec-page .ec-master--stock .ec-master__button { background: var(--master); }
.ec-page .ec-master__badge { display: inline-block; margin: 12px 0 4px; padding: 4px 17px; border-radius: 100px; color: #fff; background: var(--master); font-size: .78rem; font-weight: 900; line-height: 1.2; }
.ec-page .ec-master__heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 8px; color: var(--master); }
.ec-page .ec-master__heading .dashicons { width: auto; height: auto; color: inherit; font-size: clamp(2.5rem, 3.5vw, 3.8rem); }
.ec-page .ec-master__heading h2 { margin: 0; color: inherit; font-size: clamp(2.3rem, 4vw, 3.7rem); font-weight: 900; line-height: 1.15; }
.ec-page .ec-master__lead { min-height: 56px; max-width: 500px; margin: 0 auto 14px; padding: 0; color: #222; font-size: .92rem; line-height: 1.65; }
.ec-page .ec-master__features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ec-page .ec-master__features article { display: grid; min-height: 178px; align-content: start; justify-items: center; padding: 15px 9px 10px; border: 1px solid #edf0f4; background: #fff; text-align: center; }
.ec-page .ec-master__features .dashicons { width: auto; height: auto; margin: 0 0 9px; color: var(--master); font-size: 43px; }
.ec-page .ec-master__features h3 { margin: 0 0 8px; color: var(--master); font-size: .9rem; font-weight: 900; line-height: 1.45; }
.ec-page .ec-master__features p { margin: 0; padding: 0; color: #333; font-size: .72rem; line-height: 1.55; }
.ec-page .ec-master__button { display: flex; width: min(100%, 340px); min-height: 38px; align-items: center; justify-content: center; gap: 12px; margin: 12px auto 0; border-radius: 3px; color: #fff; font-size: .9rem; font-weight: 900; }
.ec-page .ec-master__button b { margin-left: auto; padding-right: 14px; font-size: 1.6rem; line-height: 1; }
.ec-page .ec-solution__link { position: absolute; z-index: 2; top: 44px; left: 50%; display: grid; width: 118px; height: 118px; place-content: center; border-radius: 50%; color: #333; background: #fff; text-align: center; transform: translateX(-50%); }
.ec-page .ec-solution__link .dashicons { width: auto; height: auto; color: #d9a92f; font-size: 86px; line-height: .7; }
.ec-page .ec-solution__link span { position: absolute; top: calc(100% - 18px); left: 50%; width: max-content; padding: 2px 10px; border-radius: 100px; color: var(--navy); background: #fff; font-size: .88rem; font-weight: 900; line-height: 1.25; white-space: nowrap; transform: translateX(-50%); }

@media (max-width: 960px) {
  .ec-page .ec-solution { grid-template-columns: 1fr; }
  /* スマホではカードが縦積みになるため、絶対配置をやめて2枚の間に流し込む。
     DOM順は price → stock → link なので order で並べ替える。 */
  .ec-page .ec-solution__link { position: static; order: 1; display: grid; justify-items: center; align-content: center; gap: 9px; width: auto; height: auto; margin: 2px auto; border-radius: 0; background: transparent; transform: none; }
  .ec-page .ec-solution__link .dashicons { font-size: 62px; }
  .ec-page .ec-solution__link span { position: static; width: auto; padding: 0; background: transparent; transform: none; }
  .ec-page .ec-master--price { order: 0; }
  .ec-page .ec-master--stock { order: 2; }
}

@media (max-width: 600px) {
  .ec-page .ec-master { padding: 0 10px 12px; }
  .ec-page .ec-master > header { margin-inline: -10px; font-size: .88rem; }
  .ec-page .ec-master__heading .dashicons { font-size: 2.2rem; }
  .ec-page .ec-master__heading h2 { font-size: 2rem; }
  .ec-page .ec-master__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .ec-page .ec-master__features article { min-height: 150px; }
}

/* EC results strip: four illustrated proof points. */
.ec-page .ec-proof { margin-top: 5rem; padding: 0; color: #fff; background: linear-gradient(100deg, #061e58 0%, #073578 58%, #0a4d9c 100%); }
.ec-page .ec-proof .shell { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; width: min(calc(100% - 48px), 1240px); padding: 14px 0; }
.ec-page .ec-proof article { display: flex; min-height: 106px; align-items: center; justify-content: center; gap: 13px; padding: 5px 18px; border-right: 1px solid rgb(255 255 255 / 30%); text-align: center; }
.ec-page .ec-proof article:last-child { border-right: 0; }
.ec-page .ec-proof article > .dashicons { width: auto; height: auto; flex: 0 0 auto; color: #ffd33d; font-size: 42px; line-height: 1; }
.ec-page .ec-proof__achievement { gap: 8px; }
.ec-page .ec-proof__achievement > .dashicons { font-size: 47px; }
.ec-page .ec-proof__achievement > .dashicons:last-child { transform: scaleX(-1); }
.ec-page .ec-proof article > div { display: grid; justify-items: center; }
/* ④ 黄色は各列で本当に強調したい1箇所だけに絞る。
   1行目（修飾句）は白系、2行目（要点）を黄色にする。
   導入実績の列だけは数字「300」が要点なので、そちらを黄色にして2行目を白にする。 */
.ec-page .ec-proof strong, .ec-page .ec-proof b, .ec-page .ec-proof p { margin: 0; color: #eaf1fb; }
.ec-page .ec-proof b { color: #ffd33d; }
.ec-page .ec-proof__achievement strong { color: #ffd33d; }
.ec-page .ec-proof__achievement b { color: #eaf1fb; }
.ec-page .ec-proof strong { display: block; font-size: 1.05rem; font-weight: 900; line-height: 1.3; }
.ec-page .ec-proof strong small { font-size: .82rem; }
.ec-page .ec-proof__achievement strong { font-size: 2.55rem; line-height: .9; }
.ec-page .ec-proof__achievement strong small { margin-left: 4px; font-size: .92rem; }
.ec-page .ec-proof b { display: block; font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 900; line-height: 1.35; }
.ec-page .ec-proof__achievement b { font-size: 1.18rem; }
.ec-page .ec-proof p { margin-top: 7px; color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.45; }
/* 実績帯だけ2列化を1180pxまで広げる。4列を維持できるのは列内177px以上（=1174px以上）で、
   それ未満だと2行目「EC価格調査システムを開発」（12文字）が入らないため。 */
@media (max-width: 1180px) {
  .ec-page .ec-proof .shell { grid-template-columns: repeat(2, 1fr); }
  .ec-page .ec-proof article:nth-child(2) { border-right: 0; }
  .ec-page .ec-proof article { min-height: 118px; }
}
@media (max-width: 600px) {
  .ec-page .ec-proof .shell { grid-template-columns: 1fr; width: min(calc(100% - 28px), 760px); }
  .ec-page .ec-proof article, .ec-page .ec-proof article:nth-child(2) { min-height: 0; padding: 17px 12px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 25%); }
  .ec-page .ec-proof article:last-child { border-bottom: 0; }
}

/* EC conversion path: concerns, guided process, then one clear consultation CTA. */
.ec-page .ec-concerns, .ec-page .ec-process, .ec-page .ec-pricing { padding: 5rem 0; }
.ec-page .ec-concerns { background: #f5f8fc; }
.ec-page .ec-process { background: #fff; }
.ec-page .ec-section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.ec-page .ec-section-heading > p, .ec-page .ec-pricing p { margin: 0 0 8px; color: #1c6db2; font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.ec-page .ec-section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 900; line-height: 1.3; }
/* 「こんなお悩みはありませんか？」= 14em。clamp() の下限 2rem は狭い幅ほど相対的に大きくなり
   2行に折り返していた。桁数から逆算した上限を掛けて1行に固定する。
   上の宣言と詳細度が同じ (0,2,1) ため、必ずこの位置＝後方に置く。 */
@media (max-width: 600px) {
  .ec-page .ec-section-heading h2 { font-size: min(2rem, (100vw - 34px) / 14.2); }
}
.ec-page .ec-section-heading span { display: block; margin-top: 13px; color: #33435b; font-size: 1rem; line-height: 1.7; }
.ec-page .ec-concerns__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ec-page .ec-concerns__grid article { padding: 28px 25px; border: 1px solid #dbe5f0; border-top: 4px solid #1a61a9; background: #fff; }
.ec-page .ec-concerns__grid .dashicons { width: auto; height: auto; color: #1670b8; font-size: 42px; }
.ec-page .ec-concerns__grid h3 { margin: 17px 0 9px; color: var(--navy); font-size: 1.2rem; font-weight: 900; }
.ec-page .ec-concerns__grid p { margin: 0; color: #35445b; font-size: .92rem; line-height: 1.75; }

/* Concern cards: neutral outline, softly rounded corners, centred icon only. */
.ec-page .ec-concerns__grid article { border: 1px solid #dbe5f0; border-radius: 8px; }
.ec-page .ec-concerns__grid .dashicons { display: block; margin-inline: auto; }
.ec-page .ec-process__steps { position: relative; max-width: 840px; margin: 0 auto; padding: 0; list-style: none; }
.ec-page .ec-process__steps::before { position: absolute; top:35px; bottom:35px; left: 29px; width: 2px; content: ""; background: #a7b6c5; }
.ec-page .ec-process__steps li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 22px; min-height: 116px; padding-bottom: 24px; }
.ec-page .ec-process__steps li:last-child { padding-bottom: 0; }
.ec-page .ec-process__steps h3 { margin: 7px 0 7px; color: var(--navy); font-size: 1.35rem; font-weight: 900; line-height: 1.35; }
.ec-page .ec-process__steps p { margin: 0; color: #35445b; font-size: .98rem; line-height: 1.7; }
.ec-page .ec-process__steps li > b { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-content: center; border-radius: 8px; color: #fff; background: #5ba8dc; box-shadow: 0 3px 8px rgb(21 106 174 / 20%); font-size: 1.6rem; font-weight: 900; }
.ec-page .ec-pricing { color: #fff; background: linear-gradient(100deg, #06265d, #0d5aa8); }
.ec-page .ec-pricing .shell { display: flex; min-height: 185px; align-items: center; justify-content: space-between; gap: 40px; }
.ec-page .ec-pricing p { color: #87d1ff; }
.ec-page .ec-pricing h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 900; line-height: 1.35; }
.ec-page .ec-pricing span { display: block; color: #e8f3ff; font-size: .95rem; line-height: 1.7; }
.ec-page .ec-pricing .button { display: flex; min-width: 300px; min-height: 60px; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; color: var(--navy); background: #fff; font-size: 1.05rem; font-weight: 900; }
.ec-page .ec-pricing .button b { margin-left: auto; font-size: 1.8rem; }
/* 「無料で相談する」と「公式LINE」を縦積みではなく横並びにする。
   スマホでは2つ並べると 352px 必要で 292〜322px しかないため、601px以上に限定する。 */
@media (min-width: 601px) {
  .ec-page .ec-pricing .dcs-cta { grid-auto-flow: column; align-items: center; gap: 14px; }
  .ec-page .ec-pricing .dcs-cta a { min-width: 210px; white-space: nowrap; }
}
@media (max-width: 760px) {
  .ec-page .ec-concerns, .ec-page .ec-process, .ec-page .ec-pricing { padding: 3.8rem 0; }
  .ec-page .ec-concerns__grid { grid-template-columns: 1fr; }
  .ec-page .ec-process__steps li { grid-template-columns: 50px 1fr; gap: 16px; min-height: 110px; }
  .ec-page .ec-process__steps::before { left: 24px; }
  .ec-page .ec-process__steps li > b { width: 48px; height: 48px; font-size: 1.3rem; }
  .ec-page .ec-pricing .shell { display: grid; gap: 26px; text-align: center; }
  .ec-page .ec-pricing .button { width: 100%; min-width: 0; }
}

/* Marketplace heading: one horizontal rule is interrupted only behind its label. */
.ec-page .ec-malls { position: relative; display: block; border: 0; background: #fff; }
.ec-page .ec-malls::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; content: ""; background: #9eafc6; }
.ec-page .ec-malls > p { position: absolute; z-index: 1; top: 0; left: 50%; width: fit-content; margin: 0; padding: 0 16px; color: var(--navy); background: #fff; font-size: 1rem; font-weight: 900; line-height: 1.15; text-align: center; transform: translate(-50%, -50%); white-space: nowrap; }
.ec-page .ec-malls > div { display: flex; height: 100%; align-items: center; justify-content: center; padding-top: 12px; }
@media (max-width: 960px) {
  .ec-page .ec-malls { min-height: 118px; padding: 22px 0 0; }
  .ec-page .ec-malls > div { height: auto; }
}

@media (min-width: 961px) {
  .ec-page .ec-malls { padding-top: 38px; }
  .ec-page .ec-malls::before { top: 38px; }
  .ec-page .ec-malls > p { top: 38px; padding-inline: 20px; font-size: 1.22rem; line-height: 1.2; }
  .ec-page .ec-malls > div { height: 74px; padding-top: 16px; }
}

/* Companion guide matching the supplied two-panel service illustration. */
.ec-page .ec-service-guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 5rem; }
.ec-page .ec-service-guide > article { border: 1px solid #dce4ee; background: #fff; }
.ec-page .ec-service-guide header { padding: 17px 18px 8px; }
.ec-page .ec-service-guide header p { margin: 0; color: var(--navy); font-size: 1.15rem; font-weight: 900; line-height: 1.35; }
.ec-page .ec-service-guide header span { display: block; margin-top: 3px; color: #273a58; font-size: .8rem; font-weight: 700; line-height: 1.45; }
.ec-page .ec-service-guide__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0 12px 13px; }
.ec-page .ec-service-guide__cards section { min-width: 0; padding: 8px; border-right: 1px solid #e1e7ee; }
.ec-page .ec-service-guide__cards section:last-child { border-right: 0; }
.ec-page .ec-service-guide__cards .dashicons { width: auto; height: auto; color: #0d4e99; font-size: 30px; }
.ec-page .ec-service-guide__cards h3 { margin: 4px 0 4px; color: var(--navy); font-size: .86rem; font-weight: 900; line-height: 1.35; }
.ec-page .ec-service-guide__cards p, .ec-page .ec-service-guide__cards b { margin: 0; color: #263858; font-size: .64rem; font-weight: 700; line-height: 1.5; }
.ec-page .ec-service-guide__cards b { display: block; margin-top: 3px; color: #527197; }
.ec-page .ec-service-guide__tool { display: grid; grid-template-rows: auto 1fr auto; }
.ec-page .ec-service-guide__tool header { padding-bottom: 10px; }
.ec-page .ec-service-guide__tool h2 { margin: 1px 0 5px; color: var(--navy); font-size: 2rem; font-weight: 900; line-height: 1.1; }
.ec-page .ec-service-guide__tool header span { max-width: 430px; color: #203657; font-size: .75rem; }
.ec-page .ec-service-guide__tool-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 5px 14px 12px; }
.ec-page .ec-service-guide__tool-features span { display: grid; place-items: center; gap: 5px; color: #0d417f; font-size: .67rem; font-weight: 900; text-align: center; }
.ec-page .ec-service-guide__tool-features .dashicons { width: auto; height: auto; color: #0a4b94; font-size: 32px; }
.ec-page .ec-service-guide__logos { display: flex; align-items: baseline; justify-content: space-around; gap: 8px; padding: 11px 14px; border-top: 1px solid #e1e7ee; }
.ec-page .ec-service-guide__logos b { color: #c51525; font-family: Arial, sans-serif; font-size: 1.1rem; line-height: 1; white-space: nowrap; }
.ec-page .ec-service-guide__logos b:nth-child(2) { color: #c71828; font-family: Georgia, serif; }
.ec-page .ec-service-guide__logos b:nth-child(3) { color: #161616; }
.ec-page .ec-service-guide__logos b:nth-child(4) { color: #e57027; }
.ec-page .ec-service-guide__logos b:nth-child(4) span { color: #4b5e7c; }
.ec-page .ec-service-guide__logos b:nth-child(5) { color: #8b701b; }
.ec-page .ec-service-guide__logos small { font-family: sans-serif; font-size: .52em; }
@media (max-width: 960px) {
  .ec-page .ec-service-guide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ec-page .ec-service-guide { margin-top: 3.8rem; }
  .ec-page .ec-service-guide__cards { grid-template-columns: 1fr; }
  .ec-page .ec-service-guide__cards section, .ec-page .ec-service-guide__cards section:last-child { border-right: 0; border-bottom: 1px solid #e1e7ee; }
  .ec-page .ec-service-guide__cards section:last-child { border-bottom: 0; }
  .ec-page .ec-service-guide__tool-features { grid-template-columns: repeat(2, 1fr); gap: 14px 4px; }
  .ec-page .ec-service-guide__logos { flex-wrap: wrap; justify-content: center; }
}

/* Make the service guide a genuine conversion block, not a blank intermission. */
.ec-page .ec-service-cta { margin-top: 5rem; padding: 56px 0; background: linear-gradient(112deg, #05245d, #0c58aa); }
.ec-page .ec-service-cta .ec-service-guide { margin-top: 0; }
.ec-page .ec-service-cta .ec-service-guide > article { overflow: hidden; border: 0; border-radius: 8px; box-shadow: 0 13px 28px rgb(0 23 66 / 22%); }
.ec-page .ec-service-cta .ec-service-guide__web { border-top: 5px solid #76c5e8; }
.ec-page .ec-service-cta .ec-service-guide__web header { padding: 22px 24px 12px; }
.ec-page .ec-service-cta .ec-service-guide__web header p { font-size: 1.32rem; }
.ec-page .ec-service-cta .ec-service-guide__cards { padding: 3px 18px 21px; }
.ec-page .ec-service-cta .ec-service-guide__cards section { padding: 13px 12px; }
.ec-page .ec-service-cta .ec-service-guide__cards .dashicons { color: #0b5fa7; font-size: 35px; }
.ec-page .ec-service-cta .ec-service-guide__tool { color: #fff; background: linear-gradient(145deg, #0a3475, #06306b); }
.ec-page .ec-service-cta .ec-service-guide__tool header { padding: 22px 24px 10px; }
.ec-page .ec-service-cta .ec-service-guide__tool header p { color: #9ee3ff; font-size: 1rem; }
.ec-page .ec-service-cta .ec-service-guide__tool h2 { color: #fff; font-size: 2.45rem; }
.ec-page .ec-service-cta .ec-service-guide__tool header span { color: #e9f4ff; }
.ec-page .ec-service-cta .ec-service-guide__tool-features { padding: 10px 18px 15px; }
.ec-page .ec-service-cta .ec-service-guide__tool-features span { color: #fff; }
.ec-page .ec-service-cta .ec-service-guide__tool-features .dashicons { color: #75d2ff; }
.ec-page .ec-service-cta .ec-service-guide__logos { margin-top: 0; border-top-color: rgb(255 255 255 / 22%); background: rgb(1 20 61 / 32%); }
.ec-page .ec-service-cta .ec-service-guide__logos b { color: #fff; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(1), .ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(2), .ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(3), .ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(4), .ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(5), .ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(4) span { color: #fff; }
.ec-page .ec-service-guide__button { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 14px; margin: 16px 18px 19px; padding: 10px 18px; border-radius: 4px; color: #fff; background: linear-gradient(100deg, #ff6715, #ff9711); box-shadow: 0 7px 14px rgb(0 0 0 / 18%); font-size: .98rem; font-weight: 900; }
.ec-page .ec-service-guide__button b { margin-left: auto; font-size: 1.7rem; }
@media (max-width: 600px) {
  .ec-page .ec-service-cta { margin-top: 3.8rem; padding: 34px 0; }
  .ec-page .ec-service-cta .ec-service-guide { margin-top: 0; }
  .ec-page .ec-service-cta .ec-service-guide__tool h2 { font-size: 2rem; }
}

/* Restore the original white service guide and place it after the final price CTA. */
.ec-page { display: flex; flex-direction: column; }
.ec-page .ec-pricing { order: 9; }
.ec-page .ec-service-cta { order: 10; margin-top: 5rem; padding: 0; background: #fff; }
.ec-page .ec-service-cta .ec-service-guide { margin-top: 0; }
.ec-page .ec-service-cta .ec-service-guide > article { overflow: visible; border: 1px solid #dce4ee; border-radius: 0; background: #fff; box-shadow: none; }
.ec-page .ec-service-cta .ec-service-guide__web { border-top: 1px solid #dce4ee; }
.ec-page .ec-service-cta .ec-service-guide__web header { padding: 17px 18px 8px; }
.ec-page .ec-service-cta .ec-service-guide__web header p { color: var(--navy); font-size: 1.15rem; }
.ec-page .ec-service-cta .ec-service-guide__cards { padding: 0 12px 13px; }
.ec-page .ec-service-cta .ec-service-guide__cards section { padding: 8px; }
.ec-page .ec-service-cta .ec-service-guide__cards .dashicons { color: #0d4e99; font-size: 30px; }
.ec-page .ec-service-cta .ec-service-guide__tool { color: initial; background: #fff; }
.ec-page .ec-service-cta .ec-service-guide__tool header { padding: 17px 18px 8px; }
.ec-page .ec-service-cta .ec-service-guide__tool header p { color: var(--navy); font-size: 1.15rem; }
.ec-page .ec-service-cta .ec-service-guide__tool h2 { color: var(--navy); font-size: 2rem; }
.ec-page .ec-service-cta .ec-service-guide__tool header span { color: #203657; }
.ec-page .ec-service-cta .ec-service-guide__tool-features { padding: 5px 14px 12px; }
.ec-page .ec-service-cta .ec-service-guide__tool-features span { color: #0d417f; }
.ec-page .ec-service-cta .ec-service-guide__tool-features .dashicons { color: #0a4b94; }
.ec-page .ec-service-cta .ec-service-guide__logos { border-top-color: #e1e7ee; background: #fff; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(1) { color: #c51525; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(2) { color: #c71828; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(3) { color: #161616; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(4) { color: #e57027; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(4) span { color: #4b5e7c; }
.ec-page .ec-service-cta .ec-service-guide__logos b:nth-child(5) { color: #8b701b; }
.ec-page .ec-service-cta .ec-service-guide__button { display: none; }
@media (max-width: 600px) {
  .ec-page .ec-service-cta { margin-top: 3.8rem; padding: 0; }
  .ec-page .ec-service-cta .ec-service-guide__tool h2 { font-size: 2rem; }
}

/* Small screens: every hero and proof-point icon follows the same centred stack. */
.ec-page .dashicons-headphones::before { content: "\f110"; }
.ec-page .dashicons-crown::before { content: "\f313"; }
@media (max-width: 600px) {
  /* 「最適なプランをご提案します」は13文字。1.8rem(28.8px)だと374px必要で枠362pxに入らず3行になる。 */
  .ec-page .ec-pricing h2 { font-size: min(1.8rem, (100vw - 40px) / 13.2); }
  /* 「EC運営をもっとラクに、売上アップにつなげる」は21文字。1.15rem(18.4px)だと386px必要で
     枠326px（shell からカードの padding 18px×2 を引いた幅）に入らず折り返す。 */
  .ec-page .ec-service-cta .ec-service-guide__tool header p { font-size: min(1.15rem, (100vw - 64px) / 21.3); }
  .ec-page .ec-fv__points span { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; padding: 13px 8px; text-align: center; }
  .ec-page .ec-fv__points span + span { padding-left: 8px; }
  .ec-page .ec-fv__points i { grid-column: 1; grid-row: 1; margin: 0 0 5px; }
  .ec-page .ec-fv__points b { grid-column: 1; grid-row: 2; }
  .ec-page .ec-fv__points small { grid-column: 1; grid-row: 3; }
  .ec-page .ec-proof article { flex-direction: column; gap: 7px; padding: 19px 12px; }
  .ec-page .ec-proof article > .dashicons { margin: 0; font-size: 42px; }
  .ec-page .ec-proof__achievement > .dashicons:last-child { display: none; }
}

/* Give the mobile marketplace strip breathing room and a readable extended-support label. */
@media (max-width: 600px) {
  .ec-page .ec-malls { min-height: 0; padding: 42px 0 22px; }
  .ec-page .ec-malls::before { top: 30px; }
  .ec-page .ec-malls > p { top: 30px; font-size: 1.05rem; }
  .ec-page .ec-malls > div { gap: 16px 18px; padding: 9px 8px 0; }
  .ec-page .ec-malls strong { flex: 0 0 100%; width: 100%; max-width: none; padding: 12px 14px; font-size: .82rem; line-height: 1.4; }
}

/* Website takeover: flow and proof strip aligned with the supplied reference. */
.takeover-page .take-fv h1 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: 0; }
.takeover-page .take-flow { padding-bottom: 0; }
.takeover-page .take-flow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.takeover-page .take-flow li { display: grid; min-height: 184px; grid-template-rows: auto 42px auto 1fr; align-content: start; justify-items: center; gap: 5px; padding: 12px 10px; border: 1px solid #cbd7e7; border-radius: 5px; background: #fff; color: var(--navy); }
.takeover-page .take-flow li > b { display: block; margin: 0; color: #0b438d; font-size: .7rem; font-weight: 900; }
.takeover-page .take-flow li > .dashicons { width: auto; height: auto; color: #083c85; font-size: 36px; }
.takeover-page .take-flow li > strong { color: #072f72; font-size: .9rem; font-weight: 900; line-height: 1.35; text-align: center; }
.takeover-page .take-flow li > span { color: #26364c; font-size: .68rem; font-weight: 700; line-height: 1.55; text-align: center; }
.takeover-page .take-flow li:not(:last-child)::after { right: -12px; width: 10px; height: 10px; border-top: 0; border-right: 0; background: transparent; }
.takeover-page .take-flow li:not(:last-child)::before { position: absolute; z-index: 3; top: 50%; right: -18px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 10px solid #0b438d; content: ""; transform: translateY(-50%); }
.takeover-page .take-proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; margin-bottom: 5rem; border: 1px solid #d9e3ef; background: #f8fafc; color: var(--navy); }
.takeover-page .take-proof article { display: flex; min-height: 116px; align-items: center; justify-content: center; gap: 14px; padding: 15px 18px; border-right: 1px solid #d6e0ec; text-align: left; }
.takeover-page .take-proof article:last-child { border-right: 0; }
.takeover-page .take-proof .dashicons { width: auto; height: auto; flex: 0 0 auto; color: #0b4b96; font-size: 42px; }
.takeover-page .take-proof strong { display: block; color: #073479; font-size: 1rem; font-weight: 900; line-height: 1.35; }
.takeover-page .take-proof strong b { color: #0b4b96; font-size: 2rem; }
.takeover-page .take-proof small { font-size: .7rem; }
.takeover-page .take-proof span { display: block; margin-top: 3px; color: #26364c; font-size: .72rem; font-weight: 700; line-height: 1.45; }
@media (max-width: 960px) {
  .takeover-page .take-flow ol { grid-template-columns: repeat(3, 1fr); }
  .takeover-page .take-flow li::before { display: none; }
  .takeover-page .take-proof { grid-template-columns: repeat(2, 1fr); }
  .takeover-page .take-proof article:nth-child(2) { border-right: 0; }
}
@media (max-width: 600px) {
  .takeover-page .take-fv h1 { font-size: clamp(1.42rem, 6.7vw, 1.7rem); line-height: 1.3; }
  .takeover-page .take-flow { padding-bottom: 3.8rem; }
  .takeover-page .take-flow ol { grid-template-columns: 1fr; }
  .takeover-page .take-flow li { min-height: 0; grid-template-columns: 58px 1fr; grid-template-rows: auto auto auto; justify-items: start; padding: 17px 16px; }
  .takeover-page .take-flow li > b { grid-column: 1; grid-row: 1; align-self: end; }
  .takeover-page .take-flow li > .dashicons { grid-column: 1; grid-row: 2 / 4; align-self: start; font-size: 34px; }
  .takeover-page .take-flow li > strong, .takeover-page .take-flow li > span { grid-column: 2; text-align: left; }
  .takeover-page .take-flow li > strong { grid-row: 2; }
  .takeover-page .take-flow li > span { grid-row: 3; }
  .takeover-page .take-proof { grid-template-columns: 1fr; margin-bottom: 3.8rem; }
  .takeover-page .take-proof article, .takeover-page .take-proof article:nth-child(2) { justify-content: flex-start; border-right: 0; border-bottom: 1px solid #d6e0ec; }
  .takeover-page .take-proof article:last-child { border-bottom: 0; }
}

/* Takeover process cards: step band, central icon, then a distinct explanatory area. */
.takeover-page .take-flow ol { gap: 17px; }
.takeover-page .take-flow li { --flow-band: 50px; min-height: 168px; grid-template-rows: 19px 24px 61px minmax(0, 1fr); gap: 0; padding: 7px 10px 10px; overflow: visible; border-color: #c7d3e3; border-radius: 5px; background: linear-gradient(to bottom, #f1f5fb 0 var(--flow-band), #fff var(--flow-band) 100%); box-shadow: 0 2px 6px rgb(9 54 116 / 5%); }
.takeover-page .take-flow li > b { grid-column: 1; grid-row: 1; align-self: center; color: #26477c; font-size: .66rem; line-height: 1; }
.takeover-page .take-flow li > strong { grid-column: 1; grid-row: 2; align-self: center; color: #062e70; font-size: .88rem; line-height: 1.2; }
.takeover-page .take-flow li > .dashicons { grid-column: 1; grid-row: 3; align-self: center; color: #0b438d; font-size: 45px; }
.takeover-page .take-flow li > span { grid-column: 1; grid-row: 4; align-self: end; padding-top: 8px; border-top: 1px solid #e2e8f1; color: #1d2940; font-size: .66rem; line-height: 1.45; }
.takeover-page .take-flow li:not(:last-child)::before { right: -20px; border-top-width: 8px; border-bottom-width: 8px; border-left-width: 9px; }
@media (max-width: 600px) {
  .takeover-page .take-flow li { --flow-band: 48px; min-height: 154px; grid-template-columns: 1fr; grid-template-rows: 18px 23px 56px 1fr; justify-items: center; padding: 7px 14px 12px; text-align: center; }
  .takeover-page .take-flow li > b, .takeover-page .take-flow li > .dashicons, .takeover-page .take-flow li > strong, .takeover-page .take-flow li > span { grid-column: 1; text-align: center; }
  .takeover-page .take-flow li > b { grid-row: 1; }
  .takeover-page .take-flow li > strong { grid-row: 2; }
  .takeover-page .take-flow li > .dashicons { grid-row: 3; }
  .takeover-page .take-flow li > span { grid-row: 4; width: 100%; }
}

@media (min-width: 961px) {
  .takeover-page .take-flow li { --flow-band: 58px; min-height: 194px; grid-template-rows: 22px 27px 71px minmax(0, 1fr); padding: 9px 10px 12px; }
  .takeover-page .take-flow li > .dashicons { font-size: 51px; }
  .takeover-page .take-flow li > span { align-self: center; padding-top: 10px; font-size: .62rem; white-space: nowrap; }
}

/* Takeover first view: hero plus the achievement/support strip fills the viewport. */
.takeover-page { display: flex; flex-direction: column; }
.takeover-page .take-fv { order: 0; }
.takeover-page .take-proof { order: 1; width: 100%; margin: 0; border: 0; background: linear-gradient(100deg, #06235f 0%, #0b4f9e 100%); color: #fff; }
.takeover-page .take-issues { order: 2; }
.takeover-page .take-support { order: 3; }
.takeover-page .take-call { order: 4; }
/* PC では相談バンドのテキスト列に 830px 以上の余白があり、CTA（54px×2段=117px）に対して
   文字が小さく間延びしていた。1行に収まる範囲で一段大きくする。 */
@media (min-width: 961px) {
  .takeover-page .take-call { gap: 30px; padding: 30px 40px; }
  .takeover-page .take-call > .dashicons { font-size: 56px; }
  .takeover-page .take-call strong { font-size: 1.6rem; }
  .takeover-page .take-call p { font-size: 1.14rem; line-height: 1.85; }
}
.takeover-page .take-flow { order: 5; }
.takeover-page .take-addons { order: 6; }
/* 共通ブロック（追加機能・EC運営ツール）を流れの後ろに置く。
   .takeover-page は flex コンテナで order を明示しているため、
   order を与えないと先頭（order:0）に飛んでしまう。 */
.takeover-page > .dcs-addons { order: 7; }
.takeover-page > .dcs-ec-tool { order: 8; margin-bottom: 5rem; }
.takeover-page > .takeover-seo-section { order: 9; }
/* 共通ブロックの見出し周り。追加機能・EC運営ツールで共用する。 */
.dcs-block-kicker { margin: 0 0 12px; color: var(--navy); font-size: 1.05rem; font-weight: 800; line-height: 1.55; text-align: center; }
.dcs-block-lead { max-width: 820px; margin: -12px auto 30px; color: #333; font-size: 1.05rem; line-height: 1.8; text-align: center; }
@media (max-width: 600px) {
  .dcs-block-kicker { font-size: .95rem; }
  .dcs-block-lead { margin: -6px auto 24px; font-size: .95rem; }
}
.takeover-page .take-proof article { min-height: 142px; gap: 15px; border-right-color: rgb(255 255 255 / 27%); color: #fff; }
.takeover-page .take-proof .dashicons { color: #ffd23e; font-size: 40px; }
.takeover-page .take-proof strong { color: #ffd23e; font-size: 1.08rem; }
.takeover-page .take-proof strong b { color: #ffd23e; font-size: 2.65rem; }
.takeover-page .take-proof span { color: #fff; font-size: 1rem; line-height: 1.45; }
/* Body copy never drops below 16px in this process. */
.takeover-page .take-flow li { --flow-band: 60px; min-height: 230px; grid-template-rows: 24px 29px 77px minmax(0, 1fr); }
.takeover-page .take-flow li > strong { font-size: 1rem; }
.takeover-page .take-flow li > span { align-self: center; padding-top: 12px; font-size: 1rem; line-height: 1.55; white-space: normal; }
@media (min-width: 961px) {
  .takeover-page .take-fv { height: max(450px, calc(var(--fv-h) - 156px)); min-height: 0; }
  .takeover-page .take-fv__inner { min-height: 0; height: 100%; }
  .takeover-page .take-fv__visual { min-height: 0; }
  .takeover-page .take-flow li { --flow-band: 62px; min-height: 230px; grid-template-rows: 24px 29px 77px minmax(0, 1fr); }
  .takeover-page .take-flow li > .dashicons { font-size: 54px; }
  .takeover-page .take-flow li > span { font-size: 1rem; white-space: normal; }
}
@media (max-width: 960px) {
  .takeover-page .take-proof { width: min(calc(100% - 36px), 1240px); margin-inline: auto; }
}
@media (max-width: 600px) {
  .takeover-page .take-proof { width: min(calc(100% - 28px), 1240px); }
  .takeover-page .take-proof article { min-height: 0; }
  .takeover-page .take-proof span { font-size: 1rem; }
  .takeover-page .take-flow li { --flow-band: 56px; min-height: 196px; grid-template-columns: 1fr; grid-template-rows: 22px 27px 67px 1fr; }
  .takeover-page .take-flow li > span { font-size: 1rem; line-height: 1.55; }
}

/* Align the achievement strip to the hero content while its blue field remains full width. */
.takeover-page .take-proof { position: relative; isolation: isolate; width: min(calc(100% - 48px), 1240px); background: transparent; }
.takeover-page .take-proof::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; content: ""; background: linear-gradient(100deg, #06235f 0%, #0b4f9e 100%); transform: translateX(-50%); }
.takeover-page .take-proof article { min-width: 0; min-height: 156px; padding: 16px 20px; }
.takeover-page .take-proof article > div { min-width: 0; }
.takeover-page .take-proof strong { font-size: 1.12rem; line-height: 1.28; }
.takeover-page .take-proof strong b { font-size: 2.5rem; }
.takeover-page .take-proof article:nth-child(2) strong { font-size: 1.95rem; line-height: 1; }
.takeover-page .take-proof article:nth-child(2) strong small { display: inline-block; margin-left: 4px; font-size: .9rem; }
.takeover-page .take-proof article:nth-child(3) strong { font-size: 1.2rem; }
.takeover-page .take-proof article:nth-child(4) strong { font-size: 1.25rem; }
.takeover-page .take-proof span { font-size: .9rem; overflow-wrap: anywhere; }
.takeover-page .take-issues { background: #f3f5f7; }
.takeover-page .take-issues .take-title--light h2 { color: #052d72; }
.takeover-page .take-issues .take-title--light::before, .takeover-page .take-issues .take-title--light::after { background: #a8b7ca; }
.takeover-page .take-flow li { min-height: 216px; }
.takeover-page .take-flow li > span { font-size: 1rem; white-space: nowrap; }
@media (max-width: 960px) {
  .takeover-page .take-proof { width: min(calc(100% - 36px), 1240px); }
  .takeover-page .take-proof article:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .takeover-page .take-proof { width: min(calc(100% - 28px), 1240px); }
  .takeover-page .take-proof article:not(:last-child)::after { display: block; }
  .takeover-page .take-proof article { min-height: 0; }
  .takeover-page .take-flow li > span { white-space: normal; }
}

/* Correct the takeover first-view band: full-bleed background, shell-aligned content, no duplicate badge. */
.takeover-page .take-fv__visual > span { display: none; }
.takeover-page .take-proof { align-self: center; width: min(calc(100% - 48px), 1240px); background: transparent; }
.takeover-page .take-proof::before { z-index: 0; }
.takeover-page .take-proof article { position: relative; z-index: 1; }
.takeover-page .take-proof strong { white-space: normal; }
.takeover-page .take-proof article { border-right: 0; }
.takeover-page .take-proof article:not(:last-child)::after { position: absolute; top: 20%; right: 0; width: 2px; height: 60%; content: ""; background: rgb(255 255 255 / 32%); }
@media (max-width: 960px) {
  .takeover-page .take-proof { width: min(calc(100% - 36px), 1240px); }
}
@media (max-width: 600px) {
  .takeover-page .take-proof { width: min(calc(100% - 28px), 1240px); }
  .takeover-page .take-proof article:not(:last-child)::after { top: auto; right: 20%; bottom: 0; left: 20%; width: 60%; height: 2px; }
  .takeover-page .take-proof span { font-size: 1rem; }
}

/* Contact page: Contact Form 7-ready layout using the site's navy accent. */
.contact-page { padding-bottom: 1px; background: #fff; }
.contact-page__hero { position: relative; display: grid; min-height: 255px; place-content: center; overflow: hidden; padding: 46px 24px 38px; text-align: center; }
.contact-page__hero > p { position: absolute; top: 50%; left: 50%; margin: 0; color: #e8f1f9; font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 900; letter-spacing: .08em; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%); }
.contact-page__hero h1 { position: relative; margin: 0; color: var(--navy); font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 900; line-height: 1.25; }
.contact-page__hero > span { position: relative; margin-top: 11px; color: #3d506d; font-size: 1rem; }
.contact-page__body { max-width: 960px; padding: 34px 0 90px; }
.contact-page__intro { margin-bottom: 28px; text-align: center; }
.contact-page__intro > p { margin: 0 0 5px; color: #1b67ad; font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.contact-page__intro h2 { margin: 0; color: var(--navy); font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 900; }
.contact-page__intro > span { display: block; margin-top: 10px; color: #3d506d; font-size: 1rem; }
.contact-page__form { padding: 12px 32px 34px; border-top: 3px solid var(--navy); border-radius: 7px; background: #fff; box-shadow: 0 12px 30px rgb(5 41 95 / 10%); }
.contact-page__form .wpcf7-form > p { margin: 0; padding: 15px 0; border-bottom: 1px solid #dbe3ec; }
.contact-page__form .wpcf7-form > p > label { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 18px; color: #17335e; font-size: 1rem; font-weight: 800; }
.contact-form-fields { margin: 0; }
.contact-form-fields .contact-field { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 18px; margin: 0; padding: 15px 0; border-bottom: 1px solid #dbe3ec; }
.contact-form-fields .contact-field > p { display: contents; margin: 0; }
.contact-form-fields .contact-field > p > label { display: contents; }
.contact-form-fields .contact-field br { display: none; }
.contact-form-fields .contact-field__label { grid-column: 1; color: #17335e; font-size: 1rem; font-weight: 800; }
.contact-form-fields .contact-field__label b { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 3px; color: #fff; background: var(--navy); font-size: .68rem; line-height: 1.2; vertical-align: middle; }
.contact-form-fields .contact-field__control { display: block; grid-column: 2; min-width: 0; }
.contact-form-fields .contact-field__control .wpcf7-form-control-wrap { display: block; }
.contact-form-fields .contact-field--message { align-items: start; }
.contact-form-fields .contact-field--message .contact-field__label { padding-top: 10px; }
.contact-form-fields .wpcf7-list-item { margin: 0 16px 0 0; }
.contact-form-fields .wpcf7-list-item label { color: #263858; font-size: 1rem; font-weight: 700; }
.contact-page__form .wpcf7-form-control-wrap { display: block; }
.contact-page__form input:not([type="submit"]), .contact-page__form textarea, .contact-page__form select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cfd9e5; border-radius: 3px; color: #172033; background: #fbfcfe; font: inherit; font-size: 1rem; }
.contact-page__form textarea { min-height: 210px; resize: vertical; }
.contact-page__form input:focus, .contact-page__form textarea:focus, .contact-page__form select:focus { border-color: #0b5ca9; outline: 3px solid rgb(11 92 169 / 16%); background: #fff; }
.contact-page__form input[type="submit"], .contact-page__form button, .contact-page__form .wpcf7-submit { display: block; min-width: 240px; min-height: 55px; margin: 30px auto 0; padding: 12px 28px; border: 0; border-radius: 100px; color: #fff; background: var(--navy); box-shadow: 0 7px 16px rgb(4 41 96 / 18%); font: inherit; font-size: 1rem; font-weight: 900; cursor: pointer; }
.contact-page__form input[type="submit"]:hover, .contact-page__form button:hover { background: #0b5ca9; }
.contact-page__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact-page__form .wpcf7-acceptance .wpcf7-list-item > label { display: inline-flex; align-items: center; gap: 11px; color: #17335e; font-size: 1rem; font-weight: 700; cursor: pointer; }
.contact-page__form .wpcf7-acceptance input[type="checkbox"] { box-sizing: border-box; flex: 0 0 20px; width: 20px !important; min-width: 20px; min-height: 20px !important; height: 20px; margin: 0; padding: 0; accent-color: var(--navy); }
.contact-page__form .wpcf7-not-valid-tip { margin-top: 5px; color: #c80018; font-size: .86rem; }
.contact-page__form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 15px; border-radius: 4px; font-size: 1rem; }
.contact-page__form-note { margin: 0; padding: 24px; border: 1px dashed #b9c9da; border-radius: 4px; color: #42607f; font-size: 1rem; text-align: center; }
.contact-page__assistance { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 25px auto 0; color: var(--navy); text-align: center; }
.contact-page__assistance .dashicons { width: auto; height: auto; color: #0c61ab; font-size: 35px; }
.contact-page__assistance strong, .contact-page__assistance a, .contact-page__assistance span { display: block; }
.contact-page__assistance strong { font-size: 1rem; }
.contact-page__assistance a { margin: 2px 0; color: var(--navy); font-size: 1.35rem; font-weight: 900; }
.contact-page__assistance span { color: #596b82; font-size: .88rem; }
@media (max-width: 600px) {
  .contact-page__hero { min-height: 205px; }
  .contact-page__hero h1 { font-size: min(6vw, 1.75rem); white-space: nowrap; }
  .contact-page__hero > p { font-size: 2.7rem; letter-spacing: .03em; }
  .contact-page__body { padding: 28px 0 65px; }
  .contact-page__form { padding: 8px 18px 26px; }
  .contact-page__form .wpcf7-form > p > label { grid-template-columns: 1fr; gap: 9px; }
  .contact-form-fields .contact-field { grid-template-columns: 1fr; gap: 9px; }
  .contact-form-fields .contact-field__label, .contact-form-fields .contact-field__control { grid-column: 1; }
  .contact-page__form input[type="submit"], .contact-page__form button, .contact-page__form .wpcf7-submit { width: 100%; min-width: 0; }
}

/* ============================================================
   FVスケーラー（全ページ共通）
   スマホでもPCヒーローの構成を崩さず、そのまま等倍縮小して表示する。

   仕組み
   - 各ページのヒーロー <section> に .dcs-fv と data-fv-scale="<設計幅>" を付け、
     中身の .shell *__inner を .dcs-fv__stage で包む。
   - ≤960px では inner を「設計幅 × 設計高さ」の固定サイズにして transform: scale()。
     stage 側に縮小後の高さを持たせ、section の高さを確定させる。
   - --fv-scale は navigation.js が data-fv-scale と実測幅から算出して上書きする。

   注意点
   - transform: scale() は新しいスタックコンテキストを作るため、内部の z-index は
     外側の ::after（白の覆い）に勝てない。stage 側に z-index を持たせて回避する。
   - transform の内側では vw / vh がビューポート基準のままになり比率が崩れる。
     そのため以下のページ別ブロックで、寸法を設計幅時のレンダリング値に px 固定する。
   - --fv-design-h はPCヒーローの見かけ高さ。ここが縮小後の帯の高さ（縦横比）を決める。
   ============================================================ */
.dcs-fv__stage { display: block; height: 100%; }
/* 基幹システムの30周年エンブレムはスマホのヒーローだけで使う。PCの構成は変えない。 */
.core-hero__badge, .take-fv__badge { display: none; }

/* 参照画像の4つのタイル。ヒーローの次のセクションとして独立させる。
   PCは4列。スマホは4列だと1枠76px・本文52pxで「常に最新の状態で」8emが6.5pxになり読めないため2列。 */
.take-features { padding-block: clamp(26px, 3vw, 44px); background: var(--soft); }
.take-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.take-features__grid span { display: grid; min-height: 118px; padding: 16px 10px; place-content: center; border: 1px solid #c7d5e7; border-radius: 8px; color: #072c70; background: #fff; font-size: .88rem; font-weight: 800; line-height: 1.45; text-align: center; }
.take-features__grid i { width: auto; height: auto; margin-bottom: 9px; color: #0b45a0; font-size: 34px; }
@media (max-width: 600px) {
  .take-features__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .take-features__grid span { min-height: 86px; padding: 9px 3px; font-size: .62rem; line-height: 1.35; }
  .take-features__grid i { margin-bottom: 5px; font-size: 24px; }
}
/* 移動先のスロットは、移動先セクションに後から差し込む「外来の箱」。
   挿入先のCSS（例 .ec-page .ec-malls > div は (0,2,1)）に詳細度で負けるため、
   自分の並び方だけは !important で確定させる。

   - 空のとき（PC幅：中身はヒーローに戻っている）は display: none。
     visibility や width:0 では grid の項目として数えられ、空セルができて並びがずれる。
   - 中身があるときは grid-column: 1 / -1 で必ず1行を占有させる。
     移動先がグリッドでも列を1つ奪って崩さないようにするため。 */
.dcs-fv-slot:empty, .core-hero__detail-slot:empty { display: none !important; }
.dcs-fv-slot:not(:empty), .core-hero__detail-slot:not(:empty) {
  grid-column: 1 / -1 !important;
  height: auto !important;
  justify-content: initial;
}

@media (max-width: 960px) {
  .dcs-fv { min-height: 0 !important; height: auto !important; overflow: hidden; }
  .dcs-fv > .dcs-fv__stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(var(--fv-design-h) * 1px * var(--fv-scale));
  }
  .dcs-fv > .dcs-fv__stage > * {
    width: calc(var(--fv-design-w) * 1px) !important;
    height: calc(var(--fv-design-h) * 1px) !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: scale(var(--fv-scale));
    transform-origin: top left;
  }

  /* ==========================================================
     以下は全ページ共通の「重ね」構成。
     写真を全面に敷き、文字は半透明の白パネル（または白グラデーション）に載せる。
     設計 1800×1720px・360px端末で縮小率 .2 → 帯344px。
     実表示px = 設計px × .2 なので、見出し125px→25px / 小見出し62.5px→12.5px。

     パネル幅と見出しの max-width はページごとに違う（見出しの文字数が違うため）。
     残せるのは小見出し・見出し・CTA程度で、リード文や箇条書きは
     navigation.js が次セクション冒頭へ移す（DOMは複製しない）。
     ========================================================== */

  /* 移動先。ヒーローの外なので縮小されず、通常サイズの文字で表示される。 */
  .dcs-fv-slot:not(:empty),
  .core-hero__detail-slot:not(:empty) { display: grid !important; gap: 14px; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid #e2e9f2; }
  /* スロットはセクションの先頭に入るので、そのセクションの上余白（.section は86px）が
     ヒーローとの間にそのまま出てしまう。スロットがある時だけ詰める。 */
  .section:has(> .dcs-fv-slot:not(:empty)),
  .shell:has(> .dcs-fv-slot:not(:empty)),
  section:has(> .dcs-fv-slot:not(:empty)) { padding-top: 20px !important; }
  /* .web-section などの margin-top: 5rem（80px）も、ヒーロー直後では開きすぎる。 */
  .web-section:has(> .dcs-fv-slot:not(:empty)),
  section:has(> .dcs-fv-slot:not(:empty)) { margin-top: 18px !important; }
  .dcs-fv-slot > *, .core-hero__detail-slot > * { max-width: none; margin: 0; }
  .dcs-fv-slot p, .core-hero__detail-slot p { font-size: 1rem; font-weight: 700; line-height: 1.85; }
  /* 移動先セクションの色指定に巻き込まれる。例：.take-issues p { color: #333 } (0,1,1) が
     .take-fv__promise { color: #fff } (0,1,0) に勝ち、紺のピルに濃い文字で描かれて読めない。
     移動しても元の見た目を保つよう、クラス2つで確実に上書きする。 */
  .dcs-fv-slot .take-fv__promise { color: #fff; }
  /* EC も同じ。ヒーローは紺背景前提で アイコン・見出し=白 / 補足=淡い青 なので、
     白いセクションへ移すと 1.00〜1.23 : 1 になって消える。移動先用の色に置き換える。
     罫線も白の半透明なので見えず、白い背景に合う灰色にする。 */
  .dcs-fv-slot .ec-fv__points span { border-right-color: #dbe5f0; color: var(--navy); }
  .dcs-fv-slot .ec-fv__points i { color: #0b45a0; }
  .dcs-fv-slot .ec-fv__points b { color: var(--navy); }
  .dcs-fv-slot .ec-fv__points small { color: #35445b; }
  /* 白いピルだった強調は、移動先が白なので枠線で形を保つ。 */
  .dcs-fv-slot > strong { display: grid; grid-template-columns: 1fr; gap: 7px; padding: 13px 19px; border: 1px solid #dbe5f0; border-radius: 4px; color: var(--navy); background: #fff; font-size: 1.15rem; font-weight: 900; line-height: 1.3; text-align: center; }
  .dcs-fv-slot > strong small { padding-top: 7px; border-top: 1px solid #d6dce5; color: var(--navy); font-size: .82rem; font-weight: 900; }
  /* スロットは .shell の中に入るので、その外側のセクションの上余白も詰める。 */
  section:has(> .shell > .dcs-fv-slot:not(:empty)) { padding-top: 20px !important; }
  /* 「こんなお困りごとはありませんか？」は16文字。1.65rem(26.4px)だと422px必要で
     枠318px（shell 342px から .take-title の gap 12px×2 を引いた幅）に入らず2行になる。 */
  .takeover-page .take-title h2 { font-size: min(1.65rem, (100vw - 72px) / 16.3); }
  /* 「創業30年のシステム会社だから」「「分からない」を解決できます」はどちらも14文字。
     1.55rem(24.8px)だと347px必要で、390px端末の枠342pxにわずかに入らず3行以上になる。
     既存の <br> はそのままに、各行が1行に収まる上限を掛けて2行に固定する。 */
  .takeover-page .take-support h2 { font-size: min(1.55rem, (100vw - 52px) / 14.2); }
  /* 実績帯はアイコンも文字も中央寄せにする。 */
  /* 区切り線が2本出ていた（article の border-bottom＝全幅 と ::after＝60%）。
     長い方の border-bottom を消し、60%の ::after だけ残す。 */
  .takeover-page .take-proof article,
  .takeover-page .take-proof article:nth-child(2) { border-bottom: 0; }
  /* ホームページ制作の実績帯（.web-stat）と同じ組み方に揃える。
     アイコン列を左端に固定し、テキストは残り幅いっぱいを使って中央寄せ。
     テキスト列を固定幅にすると折り返しが増えるので minmax(0, 1fr) にする。 */
  .takeover-page .take-proof article,
  .takeover-page .take-proof article:nth-child(2) {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    justify-content: stretch;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    text-align: center;
  }
  /* 区切り線も見本に合わせて左右24pxまで伸ばす */
  .takeover-page .take-proof article:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: 0;
    left: 24px;
    width: auto;
    height: 1px;
  }
  /* 全体的に一段小さく */
  .takeover-page .take-proof .dashicons { font-size: 38px; }
  .takeover-page .take-proof strong { font-size: .95rem; }
  .takeover-page .take-proof strong b { font-size: 1.95rem; }
  .takeover-page .take-proof article:nth-child(2) strong { font-size: 1.55rem; }
  .takeover-page .take-proof article:nth-child(3) strong { font-size: 1rem; }
  .takeover-page .take-proof article:nth-child(4) strong { font-size: 1.05rem; }
  .takeover-page .take-proof span { font-size: .82rem; }
  /* 相談バンドの1行目「他社で制作されたホームページでも、」は17文字。
     1.15rem(18.4px)だと313px必要で、枠292px（shell 342px − padding 25px×2）に入らず
     <br> を入れても1行目がさらに折り返してしまう。桁数から逆算した上限を掛ける。 */
  .takeover-page .take-call strong { font-size: min(1.15rem, (100vw - 98px) / 17.3); }
  /* 「ホームページに「欲しい機能」を」は15文字。1.55rem(24.8px)だと372px必要で、
     枠324px（shell 342px − .web-title の gap 9px×2）に入らず1行目がさらに折り返す。 */
  .takeover-page .dcs-addons .web-title h2 { font-size: min(1.55rem, (100vw - 66px) / 15.3); }
  .core-hero__detail-slot ul { width: auto; }

  /* ---- 共通の重ね土台 ---- */
  .dcs-fv .core-hero__inner, .dcs-fv .app-fv__inner, .dcs-fv .ec-fv__inner,
  .dcs-fv .web-fv__inner, .dcs-fv .take-fv__inner, .hero--home.dcs-fv .hero__inner {
    padding: 0 !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }
  /* 写真と文字を同じグリッドセルに置き、z-index で前後を決める */
  .dcs-fv .core-hero__copy, .dcs-fv .app-fv__copy, .dcs-fv .ec-fv__copy,
  .dcs-fv .web-fv__copy, .dcs-fv .take-fv__copy, .hero--home.dcs-fv .hero__copy {
    grid-area: 1 / 1;
    z-index: 2;
    justify-self: start;
    align-self: center;
    /* PC用の max-width（例 .hero__copy の 690px）が残っていると、
       width: NN% で広げてもそこで切られて見出しが細かく折り返す。必ず解除する。 */
    max-width: none;
    padding: 60px 50px 60px 85px;
    background: rgb(255 255 255 / 63%);
    border-radius: 150px;
  }
  .dcs-fv .core-hero__visual, .dcs-fv .app-fv__visual, .dcs-fv .ec-fv__visual,
  .dcs-fv .web-fv__visual, .dcs-fv .take-fv__visual {
    grid-area: 1 / 1;
    z-index: 0;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .dcs-fv .core-hero__visual::after, .dcs-fv .app-fv__visual::after,
  .dcs-fv .web-fv__visual::after, .dcs-fv .take-fv__visual::after { background: none; }
  /* 見出しの下に敷く小見出しは全ページ共通サイズ */
  .dcs-fv .core-hero__eyebrow, .dcs-fv .app-fv__eyebrow, .dcs-fv .take-fv__eyebrow,
  .dcs-fv .ec-fv__copy > p, .dcs-fv .web-fv__copy > p, .hero--home.dcs-fv .eyebrow {
    margin: 0 0 29px !important;
    font-size: 62.5px !important;
    font-weight: 800;
    line-height: 1.5 !important;
  }
  /* ページ別のスマホ用ルール（例 .app-page .app-fv h1 は (0,2,1)）が
     共通の .dcs-fv h1 (0,1,1) に詳細度で勝ち、元の小さいサイズに戻していた。
     スケーラーが有効な間はこちらが持ち主なので !important で確定させる。
     ページ別に変えたい値も、同じブロック内で !important を付けて上書きする。 */
  .dcs-fv h1 { margin: 0 !important; font-size: 125px !important; line-height: 1.28 !important; }

  /* ---- 基幹システム ---- */
  /* 元請けの参照画像に構図を寄せる。ボタンと句読点は指示どおり入れない。
       ・白いパネルはやめ、写真の上に白のグラデーションを敷いて直接文字を載せる
       ・リード文と✓リストもヒーロー内に置く（navigation.js の移動対象から外した）
       ・30周年エンブレムを右に置く
     全要素の高さは 1533px で枠1720px内に収まる（実表示 307px / 帯 344px）。
     最小の文字でも実表示11.0pxを確保している。 */
  .core-hero.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; }
  .core-hero.dcs-fv .core-hero__copy { width: 76%; padding: 60px 40px 60px 85px; background: none; border-radius: 0; }
  .core-hero.dcs-fv h1 { max-width: 7.6em; }
  .core-hero.dcs-fv .core-hero__lead { max-width: none; margin: 0 0 20px; font-size: 58px; line-height: 1.7; }
  .core-hero.dcs-fv .core-hero__detail ul { width: auto; margin: 0; gap: 18px; }
  .core-hero.dcs-fv .core-hero__detail li { padding-left: 70px; font-size: 55px; line-height: 1.55; }
  .core-hero.dcs-fv .core-hero__detail li::before { top: 8px; width: 52px; height: 52px; font-size: 34px; line-height: 52px; }
  .core-hero.dcs-fv .core-hero__visual img { object-position: 70% 50%; }
  /* パネルをやめたので、文字を読ませるための白グラデーションを写真の上に敷く。 */
  .core-hero.dcs-fv .core-hero__visual::after { background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 95%) 44%, rgb(255 255 255 / 76%) 66%, rgb(255 255 255 / 18%) 92%); }
  .core-hero.dcs-fv .core-hero__badge { position: absolute; z-index: 3; top: 50%; right: 30px; display: block; width: 400px; margin: 0; transform: translateY(-50%); }
  .core-hero.dcs-fv .core-hero__badge img { width: 100%; height: auto; }

  /* ---- TOP ---- */
  /* 元請けの参照画像に構図を寄せる。既存の指示（ボタン削除・句読点なし・CTA文言）は変更しない。
       ・SOLUTION を表示に戻す
       ・リード文と補足文もヒーロー内に置く（navigation.js の移動対象から外した）
       ・白いパネルはやめ、写真の上に白のグラデーションを敷いて直接文字を載せる
       ・30周年エンブレムは右上へ
     全要素の高さは 1308px で枠1720px内に収まる（実表示 262px / 帯 344px）。 */
  .hero--home.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; }
  .hero--home.dcs-fv .hero__copy { width: 76%; padding: 60px 40px 60px 85px; background: none; border-radius: 0; }
  .hero--home.dcs-fv h1 { max-width: 9.2em; margin: 0 0 85px !important; font-size: 100px !important; }
  .hero--home.dcs-fv .hero__solution { display: block; margin: 0 0 75px !important; font-size: 200px !important; line-height: 1.08; }
  /* アクセント色。黄色そのものは白背景で最大2.44:1しか出ず読めないため、
     黄の系統で4.5:1を満たす濃い金（4.91:1）にする。20文字×57.5px＝1150pxで
     本文幅1243pxに収まり1行になる。 */
  .hero--home.dcs-fv .eyebrow { display: none; }
  .hero--home.dcs-fv .hero__lead { max-width: none; margin: 0 0 70px; font-size: 62.5px; line-height: 1.7; }
  .hero--home.dcs-fv .hero__copy > p:last-of-type { margin: 0; font-size: 62.5px; line-height: 1.7; }
  /* TOPの写真は <img> ではなく .hero__media の background-image で、しかも
     スケールする stage の外（section 直下の絶対配置）にある。
     そのため object-position ではなく background-position で寄せる。 */
  .hero--home.dcs-fv .hero__media { inset: 0; height: auto; background-position: 68% 50%; background-size: cover; opacity: var(--dcs-home-image-opacity, .96); }
  /* パネルをやめたので、文字を読ませるための白グラデーションを section の ::after で敷く。 */
  .hero--home.dcs-fv::after { background: linear-gradient(90deg, rgb(255 255 255 / 15%) 0%, rgb(255 255 255 / 14%) 46%, rgb(255 255 255 / 11%) 68%, rgb(255 255 255 / 3%) 92%); }
  /* 30周年エンブレムは参照画像どおり右上へ */
  .hero--home.dcs-fv .hero__badge { grid-area: 1 / 1; z-index: 3; width: 400px; justify-self: end; align-self: start; margin: 40px 30px 0 0; transform: none; }

  /* ---- スマホアプリ開発 ---- */
  /* 元請けの参照画像に構図を寄せる。ボタンと句読点は指示どおり入れない。
       ・白いパネルはやめ、写真の上に白のグラデーションを敷いて直接文字を載せる
       ・リード文と機能タイル4つもヒーロー内に置く（ボタンだけ次セクションへ）
     この写真は 500×505（0.990）で枠（1.047）とほぼ同じ比率のため、
     cover でも切れる量がごくわずかで済む。余白も出ない。
     全体の高さは 1485px で枠1720px内（実表示 297px / 帯 344px）。 */
  .app-fv.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; }
  .app-fv.dcs-fv .app-fv__copy { width: 76%; padding: 60px 40px 60px 85px; background: none; border-radius: 0; }
  .app-fv.dcs-fv .app-fv__eyebrow { margin: 0 0 29px !important; color: #131923; font-size: 54px !important; }
  .app-fv.dcs-fv h1 { max-width: 8.2em; color: #131923; font-size: 117px !important; }
  .app-fv.dcs-fv h1 em { color: #0b45a0; }
  .app-fv.dcs-fv .app-fv__lead { max-width: none; margin: 0 0 20px; font-size: 50px; line-height: 1.7; transform: translateY(8px); }
  /* 機能タイルを2行ぴったりに収める。最長の行は「常に最新の状態で」の8em。
     4列だと1列287pxしかなく、2行に収める上限が35.9px＝実表示7.2pxで読めない。
     2列なら1列600pxで上限75px。60px（実表示12px）にして2列×2段にする。 */
  .app-fv.dcs-fv .app-fv__features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 100%; margin: 0; }
  .app-fv.dcs-fv .app-fv__features span { min-height: 0; padding: 18px 4px; border-radius: 8px; font-size: 30px; line-height: 1.35; }
  .app-fv.dcs-fv .app-fv__features i { margin-bottom: 7px; font-size: 46px; }
  /* 「PWAシステム開発について相談する」ボタンはスマホでは出さない（PC表示はそのまま） */
  .app-fv.dcs-fv .app-orange-button { display: none; }
  .app-fv.dcs-fv .app-fv__visual { display: grid; place-content: center end; }
  .app-fv.dcs-fv .app-fv__visual img {
    width: 109%;
    height: auto;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: .9;
    transform: translateX(713px);
  }
  /* パネルをやめたので、文字を読ませるための白グラデーションを写真の上に敷く。 */
  .app-fv.dcs-fv .app-fv__visual::after { background: none; }

  /* ---- EC運営ツール ---- */
  .ec-fv.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; }
  .ec-fv.dcs-fv .ec-fv__copy { width: 68%; background: rgb(255 255 255 / 77%); }
  .ec-fv.dcs-fv h1 { max-width: 8.2em; }
  /* このページのヒーローは紺背景前提で 見出し=白 / 強調・小見出し=金 になっている。
     白パネルに載せると 1.0〜1.5 : 1 で読めないため、パネル向けの濃い色に差し替える。 */
  .ec-fv.dcs-fv h1 { color: var(--navy); }
  .ec-fv.dcs-fv h1 em { color: var(--blue); }
  .ec-fv.dcs-fv .ec-fv__copy > p { color: #1c4a86; }
  /* この画像は 458×280（1.636）で枠（1.047）よりずっと横長。contain だと上下に大きく余り、
     さらに幅いっぱいに収まるため object-position の左右が効かず、縮小しても中心に留まる。
     余白ゼロと寄せの効きを優先して cover にする。 */
  .ec-fv.dcs-fv .ec-fv__visual { z-index: 0; display: block; }
  .ec-fv.dcs-fv .ec-fv__visual img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 72% 50%; transform: none; }

  /* ---- ホームページ制作 ---- */
  /* 帯の高さは他6ページと同じ1720px（実表示344px）に揃える。
     この画像は横長（495×380＝1.303）で枠（1800×1720＝1.047）より平たいため、
       contain … 全体は見えるが上下に計 340px の余白が出る
       cover   … 余白ゼロだが左右が切れる
     パネルが左77%を覆うので、そもそも見えるのは右側だけ。
     余白ゼロを優先して cover にし、object-position で見せたい位置を選ぶ。
     cover は横にはみ出す分があるので、左右の寄せがそのまま効く。 */
  .web-fv.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; background: #fff; }
  .web-fv.dcs-fv .web-fv__copy {
    width: 72%;
    padding: 250px 25px 0 85px;
    align-self: start;
    background: none;
    border-radius: 0;
  }
  .web-fv.dcs-fv .web-fv__copy > p:first-child { display: none; }
  .web-fv.dcs-fv h1 {
    max-width: none;
    margin: 0 0 52px !important;
    color: #101827;
    font-size: 110px !important;
    line-height: 1.18 !important;
  }
  .web-fv.dcs-fv .web-fv__lead {
    max-width: 1120px;
    margin: 0 !important;
    color: #101827;
    font-size: 55px !important;
    font-weight: 800;
    line-height: 1.7 !important;
  }
  .web-fv.dcs-fv .web-fv__copy > strong {
    display: inline-block;
    width: fit-content;
    margin-top: 38px;
    padding: 18px 28px;
    font-size: 43px;
    line-height: 1.35;
    text-align: left;
  }
  .web-fv.dcs-fv .web-fv__desktop-text { display: none; }
  .web-fv.dcs-fv .web-fv__mobile-text { display: inline; }
  .web-fv.dcs-fv .web-fv__mobile-text br { display: block; }
  .web-fv.dcs-fv .web-fv__visual { display: grid; place-content: center end; }
  .web-fv.dcs-fv .web-fv__visual > img:not(.web-fv__badge) {
    width: 98%;
    height: auto;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: translateX(550px);
  }
  .web-fv.dcs-fv .web-fv__badge { display: none; }
  /* 「初期費用0円・月額9,900円」は一言で効くのでパネル内に残す */
  .web-fv.dcs-fv .web-fv__price { display: grid; grid-template-columns: 450px 730px; gap: 20px; margin-top: 80px; transform: scale(.9); transform-origin: top left; }
  .web-fv.dcs-fv .web-fv__price span { box-sizing: border-box; width: 450px; min-width: 0; height: 360px; min-height: 0; padding: 25px 45px; border-radius: 20px; background: #fff; font-size: 60px; line-height: 1.3; }
  .web-fv.dcs-fv .web-fv__price span:nth-child(2) { width: 730px; min-width: 0; }
  .web-fv.dcs-fv .web-fv__price b { font-size: 150px; }
  .web-fv.dcs-fv .web-fv__price span:nth-child(2) b { font-size: 110px; white-space: nowrap; }
  .web-fv.dcs-fv .web-fv__price small { font-size: 46px; }
  .web-fv.dcs-fv .web-fv__price em, .web-fv.dcs-fv .web-fv__price i { font-size: 42px; }
  .web-fv.dcs-fv .web-fv__badge { top: -3%; right: 2%; width: 30% !important; }

  /* ---- 他社制作サイトの引き継ぎ ---- */
  /* 枠は他のヒーローと同じ 1800×1720。
     参照画像（745px幅）の大小関係は 見出し38px を 1.00 として
     小見出し0.37 / リード0.34 / 帯0.33。この比を保ったまま、
     横幅の制約いっぱいまで拡大する。「デーシーエスへ」7em が本文幅1501pxに
     収まる上限が210pxなので、そこを見出しの基準にする。
       見出し210px(実42px) / 小見出し62px(12.4px) / リード70px(14px) / 帯43px(8.6px) */
  .take-fv.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; background: #fff; }
  /* 帯を最下部の全幅バーにするため縦フレックス。align-items は既定の stretch のままにして、
     見出し・リードは本文幅いっぱいで折り返させる（flex-start だと fit-content になり折り返しが変わる）。
     padding-top 240px は、帯を除いた領域の中央に文字の塊が来るように逆算した値。 */
  .take-fv.dcs-fv .take-fv__copy {
    position: relative; z-index: 2; display: flex; width: 92%; padding: 215px 40px 0 43px;
    flex-direction: column; align-self: stretch; background: none; border-radius: 0; }
  /* inline-block でもフレックス項目になると stretch でカラム全幅に伸びる。
     参照画像どおり文字幅で止めるため align-self: flex-start を明示する。 */
  .take-fv.dcs-fv .take-fv__eyebrow {
    position: relative; align-self: flex-start; margin: 0 0 90px !important; padding: 24px 45px;
    border: 4px solid #9db8dd; border-radius: 500px; color: #072c70; background: #fff;
    font-size: 62px !important; font-weight: 800; letter-spacing: 0; line-height: 1.5 !important; }
  /* 吹き出しの尻尾。外側（枠線色）と内側（白）の三角を重ねる。 */
  .take-fv.dcs-fv .take-fv__eyebrow::before,
  .take-fv.dcs-fv .take-fv__eyebrow::after {
    position: absolute; width: 0; height: 0; content: ""; border-style: solid; border-color: transparent; }
  .take-fv.dcs-fv .take-fv__eyebrow::before {
    bottom: -38px; left: 66px; border-width: 38px 0 0 32px; border-top-color: #9db8dd; }
  .take-fv.dcs-fv .take-fv__eyebrow::after {
    bottom: -27px; left: 72px; border-width: 27px 0 0 23px; border-top-color: #fff; }
  /* 「デーシーエスへ」7em×190px＝1330px。本文幅1573pxに対し243pxの余裕を持たせる
     （210pxだと1470pxで余裕31pxしかなく、写真に潜り込んで見切れていた）。 */
  .take-fv.dcs-fv h1 { max-width: none; margin: 0 0 90px !important; font-size: 190px !important; line-height: 1.28 !important; }
  .take-fv.dcs-fv .take-fv__lead {
    max-width: none; margin: 0; color: #35445b; font-size: 70px; font-weight: 500; line-height: 1.7; }
  /* margin-top: auto で最下部へ。幅は --fv-design-w＝ステージ幅ぴったりに戻す
     （width: 100% は親の内容幅1501pxを指すので全幅にならない）。 */
  .take-fv.dcs-fv .take-fv__promise {
    width: calc(var(--fv-design-w) * 1px); max-width: none; margin: auto 0 0 -43px;
    padding: 22px 20px 22px 43px; border-radius: 0; box-shadow: none;
    background: #0b2f6e; font-size: 43px; font-weight: 800; line-height: 1.6; }
  .take-fv.dcs-fv .take-fv__promise::before { content: none; }
  .take-fv.dcs-fv .take-fv__visual > span { display: none; }
  /* 写真は枠の60%で右端。cover のままだと幅いっぱいに広がり、しかも左右の余りが0で
     object-position が効かないので、img の width で大きさを決め place-content で寄せる。 */
  .take-fv.dcs-fv .take-fv__visual { position: relative; z-index: 0; display: grid; place-content: center end; }
  .take-fv.dcs-fv .take-fv__visual img {
    width: 60%; height: auto; max-height: 100%; object-fit: contain; object-position: center; }
  .take-fv.dcs-fv .take-fv__visual::after {
    background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 92%) 36%, rgb(255 255 255 / 48%) 52%, transparent 70%); }
  .take-fv.dcs-fv .take-fv__badge { position: absolute; z-index: 3; top: 60%; right: 24px; display: block; width: 350px; margin: 0; transform: translateY(-50%); }
  .take-fv.dcs-fv .take-fv__badge img { width: 100%; height: auto; }

  /* ---- 会社概要 ---- */
  /* このページは .company-hero__inner が文字コンテナ兼スケール対象で、
     パネルを別に持てない。写真を全面に敷き、白グラデーションで読ませる。 */
  .company-hero.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1720; --fv-scale: .2; }
  .company-hero.dcs-fv .company-hero__inner { align-content: center; padding: 60px 85px !important; }
  .company-hero.dcs-fv .company-hero__media { inset: 0; height: auto; background-position: 72% center; }
  .company-hero.dcs-fv .company-hero__media::before { background: linear-gradient(90deg, rgb(231 241 252 / 94%) 0%, rgb(231 241 252 / 86%) 42%, transparent 78%); }
  .company-hero.dcs-fv .company-hero__en { margin: 0 0 29px !important; font-size: 62.5px !important; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
  .company-hero.dcs-fv h1 { max-width: 12em; margin: 0 !important; gap: 30px; font-size: 125px !important; }
  .company-hero.dcs-fv h1::before { width: 14px; }
}

/* テーマ定義に無い固定ページ（会社概要など）の汎用レイアウト */
.generic-page__hero { padding-block: clamp(48px, 6vw, 84px) clamp(26px, 3vw, 38px); background: var(--soft); border-bottom: 1px solid var(--line); }
.generic-page__hero h1 { margin: 0; color: var(--navy); font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1.4; }
.generic-page .entry-content { padding-block: clamp(36px, 4vw, 64px); }

/* ⑦ 「おかげさまで創業30年」：装飾を使わず1行に収め、数字だけを大きくする */
.contact-band .dcs-since { display: inline-flex; align-items: baseline; gap: 7px; margin: 0 0 20px; font-weight: 900; line-height: 1; }
.contact-band .dcs-since em { margin-right: 6px; color: #fff; font-size: 1rem; font-style: normal; letter-spacing: .14em; }
.contact-band .dcs-since span { color: #fff; font-size: 1.05rem; letter-spacing: .04em; }
.contact-band .dcs-since b { color: #ffd264; font-size: clamp(2.4rem, 3.4vw, 3.2rem); letter-spacing: -.02em; }
.contact-band .dcs-since i { color: #fff; font-size: 1.15rem; font-style: normal; }

/* ⑧ スマホでは電話・メール・LINEの文字とアイコンを大きく */
@media (max-width: 680px) {
  .contact-band__cards a { min-height: 116px; padding: 18px 16px; }
  .contact-band__cards .dashicons { margin-bottom: 8px; font-size: 42px; }
  .contact-band__cards strong { font-size: 1.3rem; }
  .contact-band__cards small { font-size: .84rem; }
}
@media (max-width: 600px) {
  .contact-band .dcs-since { gap: 5px; margin-bottom: 18px; }
  .contact-band .dcs-since em { margin-right: 4px; font-size: .85rem; letter-spacing: .1em; }
  .contact-band .dcs-since span { font-size: .92rem; }
  .contact-band .dcs-since b { font-size: 2.3rem; }
  .contact-band .dcs-since i { font-size: 1rem; }
}

/* ⑥ 主要CTA：オレンジの「無料で相談する」＋その下に「公式LINE」 */
.dcs-cta { display: grid; gap: 9px; }
.dcs-cta a { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 12px 26px; border-radius: 4px; color: #fff; font-size: 1rem; font-weight: 900; line-height: 1.35; transition: transform .2s, box-shadow .2s; }
.dcs-cta a:hover { transform: translateY(-2px); }
.dcs-cta .dashicons { width: auto; height: auto; color: currentcolor; font-size: 20px; }
.dcs-cta__primary { background: linear-gradient(90deg, #f06a17, #ff9a0a); box-shadow: 0 8px 20px rgb(204 94 5 / 22%); }
.dcs-cta__primary:hover { box-shadow: 0 12px 26px rgb(204 94 5 / 32%); }
.dcs-cta__line { background: #06c755; box-shadow: 0 8px 20px rgb(4 150 66 / 22%); }
.dcs-cta__line:hover { box-shadow: 0 12px 26px rgb(4 150 66 / 32%); }
.dcs-cta--small { grid-auto-flow: column; gap: 10px; }
.dcs-cta--small a { min-height: 40px; padding: 8px 16px; font-size: .78rem; white-space: nowrap; }
.dcs-cta--small .dashicons { font-size: 16px; }

/* スマホ下部の固定CTA。PCでは出さない。
   バーの高さぶん body に余白を足して、フッターやページ末尾が隠れないようにする。 */
.dcs-mobile-cta { display: none; }
@media (max-width: 960px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  /* 横スワイプの保険。overflow: clip はスクロールコンテナを作らないため、
     ヘッダーの position: sticky を壊さない（hidden だと壊れる）。 */
  #main, .contact-band, .site-footer { overflow-x: clip; }
  .dcs-mobile-cta {
    position: fixed;
    z-index: 95;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 -4px 16px rgb(9 42 94 / 14%);
    backdrop-filter: blur(8px);
  }
  .dcs-mobile-cta--single { grid-template-columns: minmax(0, 1fr); }
  .dcs-mobile-cta a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; color: #fff; font-size: .88rem; font-weight: 900; }
  .dcs-mobile-cta .dashicons { width: auto; height: auto; flex: 0 0 auto; color: currentcolor; font-size: 18px; }
  .dcs-mobile-cta__primary { background: linear-gradient(90deg, #f06a17, #ff9a0a); }
  .dcs-mobile-cta__line { background: #06c755; }
}
@media (max-width: 680px) { .dcs-cta a { min-height: 52px; font-size: .98rem; } }

/* ============================================================
   会社概要ページ（支給デザインの本文エリアを再現）
   ============================================================ */
.company-page { background: #fff; }
.company-page .shell { width: min(calc(100% - 48px), 1240px); }

.company-hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #eaf3fd 0%, #dceafa 55%, #cfe2f7 100%); }
.company-hero__media { position: absolute; inset: 0 0 0 42%; background-position: center; background-repeat: no-repeat; background-size: cover; }
.company-hero__media::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #e7f1fc 0%, rgb(231 241 252 / 55%) 34%, transparent 78%); }
.company-hero__inner { position: relative; display: grid; min-height: clamp(220px, 26vw, 330px); align-content: center; padding-block: clamp(40px, 5vw, 70px); }
.company-hero__en { margin: 0; color: var(--navy); font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.company-hero h1 { display: flex; align-items: center; gap: 14px; margin: clamp(14px, 2vw, 24px) 0 0; color: var(--navy); font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 800; }
.company-hero h1::before { width: 3px; height: 1.35em; content: ""; background: var(--navy); }

.company-profile { padding-block: clamp(44px, 5.5vw, 76px) 0; }
.company-profile dl { margin: 0; border: 1px solid #e2e9f2; border-bottom: 0; }
.company-profile__row { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); border-bottom: 1px solid #e2e9f2; }
.company-profile dt { display: grid; align-content: center; padding: 20px 18px; border-right: 1px solid #e2e9f2; background: #f5f9fd; color: var(--navy); font-size: 1rem; font-weight: 800; text-align: center; }
.company-profile dd { margin: 0; padding: 20px 26px; color: #1d2940; }
.company-profile dd strong { display: block; font-size: 1.12rem; font-weight: 400; line-height: 1.75; }
.company-profile dd span { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.75; }

.company-offices { display: grid; gap: 18px; padding-block: clamp(30px, 3.6vw, 46px) clamp(50px, 6vw, 84px); }
.company-office { display: grid; grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) minmax(0, 310px); overflow: hidden; border: 1px solid #e2e9f2; background: #fff; }
.company-office__label { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 26px 14px; color: #fff; background: var(--navy); }
.company-office__label .dashicons { width: auto; height: auto; font-size: 46px; }
.company-office__label strong { font-size: 1.3rem; font-weight: 900; }
.company-office__body { display: grid; align-content: center; gap: 4px; padding: 24px 28px; }
.company-office__zip { margin: 0; color: #33445e; font-size: 1rem; }
.company-office__addr { margin: 0 0 12px; color: var(--navy); font-size: 1.25rem; font-weight: 900; line-height: 1.5; }
.company-office__contact p { display: flex; align-items: center; gap: 10px; margin: 0 0 7px; font-size: 1rem; }
.company-office__contact .dashicons { width: auto; height: auto; color: #0b57a8; font-size: 22px; }
.company-office__contact b { min-width: 54px; padding: 3px 0; border: 1px solid #cddced; border-radius: 3px; color: var(--navy); font-size: .78rem; text-align: center; }
.company-office__contact a { color: #1d2940; font-weight: 700; }
.company-office__photo { margin: 0; }
.company-office__photo img { display: block; width: 100%; min-height: 190px; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .company-page .shell { width: min(calc(100% - 36px), 1240px); }
  .company-office { grid-template-columns: minmax(120px, 150px) minmax(0, 1fr); }
  .company-office__photo { grid-column: 1 / -1; order: 3; }
  .company-office__photo img { min-height: 210px; }
}
@media (max-width: 600px) {
  .company-page .shell { width: min(calc(100% - 28px), 1240px); }
  .company-hero__media { inset: auto 0 0 0; height: 46%; }
  .company-hero__media::before { background: linear-gradient(180deg, #e7f1fc 0%, rgb(231 241 252 / 40%) 58%, transparent 100%); }
  .company-hero__inner { min-height: 0; padding-block: 38px 118px; }
  .company-profile__row { grid-template-columns: 1fr; }
  .company-profile dt { padding: 11px 14px; border-right: 0; border-bottom: 1px solid #e2e9f2; text-align: left; }
  .company-profile dd { padding: 16px 16px 20px; }
  .company-profile dd strong { font-size: 1.05rem; }
  .company-office { grid-template-columns: 1fr; }
  .company-office__label { grid-auto-flow: column; align-items: center; justify-content: center; gap: 12px; padding: 13px 14px; }
  .company-office__label .dashicons { font-size: 30px; }
  .company-office__label strong { font-size: 1.15rem; }
  .company-office__body { padding: 20px 18px; }
  .company-office__addr { font-size: 1.1rem; }
}

/* TOPの1画面レイアウト内ではCTAも .button と同じ圧縮サイズにする */
@media (min-width: 961px) {
  .home-viewport .dcs-cta { gap: 7px; }
  .home-viewport .dcs-cta a { min-height: 44px; padding: 10px 22px; font-size: .88rem; }
  .home-viewport .dcs-cta .dashicons { font-size: 17px; }
}

/* フッターロゴの白い下地。透明でない画像（白背景のJPEGなど）でも濃紺のフッター上で成立させる */
.brand__logo { flex: 0 0 auto; }
.brand__logo--plate { display: inline-grid; flex: 0 0 auto; place-items: center; padding: 7px; border-radius: 6px; background: #fff; }
.brand__logo--plate img { width: 54px; max-height: 54px; }
@media (max-width: 960px) {
  .brand__logo--plate { padding: 5px; }
  .brand__logo--plate img { width: 42px; max-height: 42px; }
}

/* ① スマホでは「安心して任せられる確かな実績」（14文字）を1行に収める */
@media (max-width: 680px) {
  .proof .section-heading h2 { font-size: clamp(1.25rem, 6.4vw, 1.75rem); }
}

/* 極端に縦が短いウィンドウ（640px級）だけ、実績帯の補足本文を省いて1画面を維持する */
@media (min-width: 961px) and (max-height: 680px) {
  .home-viewport .proof .section-heading p { display: none; }
}

/* ② 「つなげることで業務はもっと効率的になります」（21文字）を左カラム内で1行に収める。
   1fr:1fr では左カラムが 497px しかなく21文字が入らないため、この1セクションだけ
   カラム比を 1.15fr:0.85fr に広げ、見出しを最大28pxまで確保している。
   デスクトップ限定にしているのは、960px以下の1カラム化を打ち消さないため。 */
@media (min-width: 961px) {
  .core-feature--connect { grid-template-columns: 1.15fr .85fr; }
  /* 見出しの縮小もデスクトップ限定。960px以下は他セクションと同じ共通サイズに任せる。 */
  .core-feature--connect .core-feature__copy h2 { font-size: clamp(1.15rem, 2.15vw, 1.75rem); line-height: 1.45; }
}

@media (max-width: 960px) {
  .core-page .core-hero__lead-break { display: inline; }
  .core-page .core-hero.dcs-fv { --fv-design-h: 1500; }
  .core-page .core-hero.dcs-fv .core-hero__eyebrow {
    margin-bottom: 45px !important;
    font-size: 35px !important;
    line-height: 1.45 !important;
    white-space: nowrap;
  }
  .core-page .core-hero.dcs-fv .core-hero__copy { align-self: start; padding: 217px 40px 0 85px; }
  .core-page .core-hero.dcs-fv h1 {
    max-width: 7.6em;
    margin: 0 0 55px !important;
    font-size: 125px !important;
    line-height: 1.22 !important;
  }
  .core-page .core-hero.dcs-fv .core-hero__lead {
    max-width: 1040px;
    margin: 0;
    font-size: 48px;
    line-height: 1.72;
  }
  .core-page .core-hero.dcs-fv .core-hero__inner { position: relative; }
  .core-page .core-hero.dcs-fv .core-hero__badge { top: calc(50% - 490px); }
  .core-page .core-hero.dcs-fv .core-hero__detail {
    position: absolute;
    z-index: 4;
    top: 1150px;
    right: 0;
    bottom: auto;
    left: 0;
  }
  .core-page .core-hero.dcs-fv .core-hero__detail ul {
    width: 1680px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0;
    margin: 0 auto;
  }
  .core-page .core-hero.dcs-fv .core-hero__detail li {
    display: grid;
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    padding-left: 0;
    font-size: 36px;
    line-height: 1.45;
  }
  .core-page .core-hero.dcs-fv .core-hero__detail li::before {
    position: static;
    width: 42px;
    height: 42px;
    margin-top: 3px;
    font-size: 25px;
    line-height: 42px;
  }
  .core-page .core-hero.dcs-fv .core-hero__detail li:first-child { transform: translateX(75px); }
}

@media (min-width: 961px) {
  .core-page .core-hero__lead-break { display: none; }
  .core-page .core-hero__mobile-break { display: none; }
}

/* ① 「なぜPWAなのか？」を主見出しの上に小さく置く2行構成にする */
.app-section-title__kicker { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; font-weight: 900; line-height: 1.4; }
@media (max-width: 600px) {
  .app-section-title__kicker { margin-bottom: 6px; font-size: 1rem; }
}

/* ④ スマホ枠・PWAマークの位置とサイズを左右で統一する。
   旧実装は top（74/64px）・端からの距離（30/28px）・サイズ（72x132 / 92x92）・
   本文側の余白（105/122px）が左右でバラバラだった。 */
.app-pwa__phone,
.app-pwa__pwa-mark { top: 68px; }
.app-pwa__phone { left: 26px; }
.app-pwa__pwa-mark { right: 26px; }
.app-pwa__grid ul { padding-left: 112px; }
.app-pwa__good ul { padding-right: 112px; padding-left: 0; }

.app-pwa__phone--image,
.app-pwa__pwa-mark--image { width: 78px; height: 140px; border: 0; font-size: 0; }
.app-pwa__phone--image img,
.app-pwa__pwa-mark--image img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 引き継ぎページ：スマホのファーストビューだけを参照レイアウトの横長構図にする。 */
@media (max-width: 600px) {
  .takeover-page .take-fv.dcs-fv { --fv-design-h: 930; }
  .takeover-page .take-fv.dcs-fv .take-fv__copy {
    width: 65%;
    padding: 150px 0 0 68px;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__eyebrow {
    margin: 0 0 25px !important;
    padding: 10px 23px;
    border-width: 3px;
    border-radius: 6px;
    font-size: 48px !important;
    line-height: 1.35 !important;
    white-space: nowrap;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__eyebrow::before {
    bottom: -25px;
    left: 56px;
    border-width: 25px 0 0 22px;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__eyebrow::after {
    bottom: -18px;
    left: 61px;
    border-width: 18px 0 0 16px;
  }
  .takeover-page .take-fv.dcs-fv h1 {
    max-width: 8.1em;
    margin: 0 0 15px !important;
    font-size: 128px !important;
    line-height: 1.16 !important;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__lead {
    max-width: 920px;
    margin: 0 0 60px;
    color: #172033;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.55;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__promise {
    width: auto;
    max-width: none;
    align-self: flex-start;
    margin: 16px 0 0 !important;
    padding: 11px 28px;
    border-radius: 999px;
    font-size: 35px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .takeover-page .take-fv__promise-desktop { display: none; }
  .takeover-page .take-fv__promise-mobile { display: inline; }
  .takeover-page .take-fv.dcs-fv .take-fv__copy { z-index: 1; }
  .takeover-page .take-fv.dcs-fv .take-fv__visual { z-index: 0; place-content: start end; }
  .takeover-page .take-fv.dcs-fv .take-fv__visual > img {
    position: absolute;
    top: 92px;
    right: -4px;
    width: 1080px;
    max-width: none;
    max-height: none;
    height: auto;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__visual::after {
    background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 96%) 35%, rgb(255 255 255 / 42%) 57%, transparent 76%);
  }
  .takeover-page .take-fv.dcs-fv .take-fv__badge {
    top: 208px;
    right: 30px;
    width: 295px;
  }
  .takeover-page .take-fv.dcs-fv .take-fv__badge img { width: 100% !important; max-width: none !important; height: auto !important; }
}

@media (max-width: 600px) {
  /* ホームページ制作：上下の余白を各約30pxに抑える。 */
  .web-page .web-fv.dcs-fv { --fv-design-h: 1350; }
  .web-page .web-fv.dcs-fv .web-fv__copy { padding-top: 112px; }

  .app-pwa__grid ul, .app-pwa__good ul { padding: 0; }
  /* スマホでは絶対配置をやめ、見出しの下に中央寄せで置く（本文と重ならない） */
  .app-pwa__phone, .app-pwa__pwa-mark { position: static; margin: 0 auto 16px; }
  .app-pwa__phone { display: block; }
  .app-pwa__pwa-mark { display: grid; }
  .app-pwa__phone--image, .app-pwa__pwa-mark--image { width: 88px; height: 156px; }
}

/* ①③ モールロゴと EC 機能図を画像に差し替えたときの体裁。
   ロゴは高さを揃えて並べ、図はCSS版と同じ65pxの高さに合わせてレイアウトを動かさない。
   色分けは nth-child だと画像と文字が混在したときに対象がずれるためクラス指定にした。 */
/* モールロゴ（ホームページ制作／EC運営ツール共通）
   倍率は各ロゴ画像の「中身の高さ / canvas高さ」を実測して算出した値。
   公式ロゴはクリアスペースを含むため余白量がメーカーごとに違い、
   同じ height を指定すると価格.comがYahoo!の3.4倍に見えてしまう。
   中身の高さ  価格.com 85.0% / amazon 65.2% / EC-CUBE 44.6% / 楽天 30.2% / Yahoo! 25.3%
   amazonは2行構成、EC-CUBEはアイコン付きなので、ワードマークの見た目を揃えるため
   それぞれ 1.5倍 / 1.25倍 の目標値にしている。基準の高さは容器側の --logo-h で決める。 */
.dcs-mall-logo { width: auto; max-width: 100%; height: calc(var(--logo-h, 27px) * var(--logo-scale, 1)); object-fit: contain; }
.dcs-mall-logo--kakaku  { --logo-scale: 1.00; }
.dcs-mall-logo--amazon  { --logo-scale: 1.96; }
.dcs-mall-logo--eccube  { --logo-scale: 2.39; }
.dcs-mall-logo--rakuten { --logo-scale: 2.82; }
.dcs-mall-logo--yahoo   { --logo-scale: 3.37; }
.dcs-mall-text { font-family: Arial, sans-serif; font-weight: 900; }
.dcs-mall-text--kakaku  { color: #ed7625; }
.dcs-mall-text--rakuten { color: #bf1637; }
.dcs-mall-text--yahoo   { color: #d41824; }
.dcs-mall-text--amazon  { color: #111; }
.dcs-mall-text--eccube  { color: #8b701b; }

/* トップ：PCではサービス説明を1行で表示する。 */
@media (min-width: 961px) {
  .home-viewport .hero--home .hero__lead {
    max-width: none;
    font-size: clamp(.74rem, .9vw, .9rem);
    white-space: nowrap;
  }
}

/* ホーム：スマホの SERVICE 直前の余白だけを30px詰める。 */
@media (max-width: 600px) {
  .home-viewport .section--services { padding-top: 10px; }
  .hero--home.dcs-fv .hero__solution { transform: translateY(-113px); }
  .hero--home.dcs-fv .hero__lead { font-size: 45px; line-height: 1.65; }
  .hero--home.dcs-fv .hero__lead-mobile-break { display: block; }
  .hero--home.dcs-fv .hero__media { opacity: var(--dcs-home-image-opacity, 1); }
  .hero--home.dcs-fv .hero__media--desktop { display: none; }
  .hero--home.dcs-fv .hero__media--mobile { display: block; background-position: calc(50% + var(--dcs-home-mobile-image-x, 0px)) calc(50% + var(--dcs-home-mobile-image-y, 0px)); }
  .hero--home.dcs-fv::after { background: linear-gradient(90deg, rgb(255 255 255 / 15%) 0%, rgb(255 255 255 / 8.5%) 46%, rgb(255 255 255 / 7%) 68%, rgb(255 255 255 / 1.75%) 92%); }
  .app-page .app-fv.dcs-fv { --fv-design-h: 1382; }
}

/* EC運営ツールのモール帯は高さ112pxの枠内。Yahoo!の枠は --logo-h の3.37倍になるため28px（枠94px）が上限。 */
.ec-page .ec-malls > div { --logo-h: clamp(18px, 2vw, 28px); flex-wrap: wrap; gap: 10px 22px; }
.dcs-block .web-ec__figure { margin: 0 -6px; }
.dcs-block .web-ec__figure img { display: block; width: 100%; height: auto; max-height: 200px; object-fit: contain; object-position: center; }

/* ヒーロー画像に重ねる30周年エンブレム。
   共有ルール .web-page .web-fv__visual img が width/height/object-fit を !important で
   指定しており、エンブレムの img にも一致してしまう。詳細度を上げて打ち消す必要がある。 */
.web-page .web-fv__visual { position: relative; }
.web-page .web-fv__visual img.web-fv__badge {
  position: absolute; z-index: 2; top: -7.5%; right: -5.5%;
  width: 43% !important; height: auto !important;
  max-width: none !important; max-height: none !important;
  object-fit: contain !important; object-position: center !important;
  filter: drop-shadow(0 6px 14px rgb(6 30 70 / 26%)); pointer-events: none;
}

/* EC運営ツール：スマホのヒーローだけを参照デザインの構図にする。 */
@media (max-width: 600px) {
  .ec-page .ec-fv.dcs-fv {
    --fv-design-h: 1265;
    background: radial-gradient(circle at 77% 20%, rgb(38 117 201 / 72%) 0, rgb(9 62 140 / 0%) 29%), radial-gradient(circle at 72% 74%, rgb(39 119 205 / 42%) 0, rgb(39 119 205 / 0%) 32%), linear-gradient(112deg, #031540 0%, #062660 57%, #073e85 100%);
  }
  .ec-page .ec-fv.dcs-fv .ec-fv__inner { position: relative; }
  .ec-page .ec-fv.dcs-fv .ec-fv__copy { position: static; z-index: 2; display: flex; width: 1280px; padding: 202px 0 0 62px; flex-direction: column; align-self: stretch; background: none; border-radius: 0; }
  .ec-page .ec-fv.dcs-fv .ec-fv__copy > p { margin: 0 0 30px !important; color: #ffdd36; font-size: 43px !important; font-weight: 900; line-height: 1.35 !important; white-space: nowrap; }
  .ec-page .ec-fv.dcs-fv h1 { max-width: 735px; margin: 0 0 46px !important; color: #fff; font-size: 82px !important; letter-spacing: 0 !important; line-height: 1.2 !important; }
  .ec-page .ec-fv.dcs-fv h1 em { color: #ffdb35; }
  .ec-page .ec-fv.dcs-fv strong { display: grid; width: 620px; grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 19px 28px; border-radius: 8px; color: #092d73; background: #fff; font-size: 0; line-height: 1.1; text-align: center; }
  .ec-page .ec-fv.dcs-fv strong::before { content: "EC運営ツール"; color: #092d73; font-size: 76px; font-weight: 900; line-height: 1.1; white-space: nowrap; }
  .ec-page .ec-fv.dcs-fv strong small { display: block; padding: 0; border: 0; color: #0b3379; font-size: 35px; font-weight: 900; line-height: 1.5; text-align: center; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points { position: absolute; bottom: 50px; left: 90px; display: grid; width: 1620px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points span, .ec-page .ec-fv.dcs-fv .ec-fv__points span:nth-child(2n) { display: grid; min-height: 106px; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 8px 18px; border: 0; border-right: 2px solid rgb(255 255 255 / 38%); color: #fff; text-align: left; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points span:last-child { border-right: 0; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points i { grid-column: 1; grid-row: 1 / 3; color: #fff; font-size: 60px; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points b { grid-column: 2; grid-row: 1; font-size: 36px; line-height: 1.3; white-space: nowrap; }
  .ec-page .ec-fv.dcs-fv .ec-fv__points small { grid-column: 2; grid-row: 2; color: #fff; font-size: 24px; line-height: 1.3; white-space: nowrap; }
  .ec-page .ec-fv.dcs-fv .ec-fv__visual { z-index: 0; display: grid; place-content: center end; background: none; }
  .ec-page .ec-fv.dcs-fv .ec-fv__visual > img { position: relative; top: -140px; right: -220px; display: block; width: 78%; max-width: none; max-height: none; height: auto; object-fit: contain; object-position: center; }
}

/* TOPヒーロー：支給の濃色背景に合わせた文字色と企業タグライン。 */
.hero--home .hero__solution,
.hero--home h1,
.hero--home .hero__lead,
.hero--home .hero__intro { color: #fff; }
.hero--home h1 em { color: #61e0f2; }
.hero--home p.hero__tagline {
  margin: clamp(20px, 3vh, 38px) 0 0;
  color: #d8e8f5;
  font-size: clamp(.7rem, .9vw, .9rem);
  font-weight: 800;
  letter-spacing: .32em;
  line-height: 2.25;
}

@media (max-width: 960px) {
  .hero--home.dcs-fv .hero__intro { margin: 0; color: #fff; font-size: 62.5px; line-height: 1.7; }
  .hero--home.dcs-fv .hero__copy > p.hero__tagline {
    display: block;
    margin: 48px 0 0;
    color: #d8e8f5;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: .32em;
    line-height: 2.25;
  }
}

@media (min-width: 961px) {
  .home-viewport .hero--home .hero__copy > p.hero__tagline {
    display: block;
    margin: clamp(20px, 3vh, 38px) 0 0;
    color: #d8e8f5;
    font-size: clamp(.7rem, .9vw, .9rem);
    font-weight: 800;
    letter-spacing: .32em;
    line-height: 2.25;
  }
  .home-viewport .hero--home .hero__tagline br { display: none; }
}

/* ホームヒーローの文字が背景と重ならないよう、文字側から自然に薄くなる黒ぼかしを重ねる。 */
.hero--home::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(0 12 31 / var(--dcs-home-copy-overlay-opacity, .12)) 0%, rgb(0 12 31 / var(--dcs-home-copy-overlay-opacity, .12)) 45%, transparent 82%);
  pointer-events: none;
}

/* AI業務改善支援：スマホでもPCと同じFV構図を縮小して見せる。 */
.ai-fv__canvas { position: relative; min-height: inherit; }

@media (max-width: 960px) {
  .ai-page .ai-fv.dcs-fv { --fv-design-w: 1800; --fv-design-h: 1125; }
  .ai-page .ai-fv.dcs-fv .ai-fv__canvas { width: 1800px; height: 1125px; min-height: 0; }
  .ai-page .ai-fv.dcs-fv .ai-fv__inner { width: 1520px !important; height: 1125px !important; min-height: 0 !important; max-width: none; margin: 0 auto; padding: 0 !important; align-items: center; }
  .ai-page .ai-fv.dcs-fv .ai-fv__copy { width: 760px; max-width: none; }
  .ai-page .ai-fv.dcs-fv h1 { width: 1000px; max-width: none; margin: 0 0 50px; font-size: 102px !important; line-height: 1.5 !important; }
  .ai-page .ai-fv.dcs-fv .ai-fv__lead { margin: 0 0 36px; font-size: 50px; line-height: 1.75; white-space: nowrap; }
  .ai-page .ai-fv.dcs-fv .ai-fv__intro { max-width: none; font-size: 38px; line-height: 2.1; white-space: nowrap; }
  .ai-page .ai-fv.dcs-fv .ai-fv__cta { width: 630px; min-height: 84px; gap: 17px; margin-top: 44px; padding: 16px 28px; font-size: 29px; }
  .ai-page .ai-fv.dcs-fv .ai-fv__cta .dashicons { font-size: 32px; }
  .ai-page .ai-fv.dcs-fv .ai-fv__cta > span { font-size: 46px; }
  .ai-page .ai-fv.dcs-fv .ai-fv__message { position: absolute; right: -130px; bottom: 84px; display: grid; width: 540px; gap: 20px; margin: 0; padding: 30px 0 30px 34px; box-sizing: border-box; }
  .ai-page .ai-fv.dcs-fv .ai-fv__message strong { font-size: 49px; line-height: 1.55; }
  .ai-page .ai-fv.dcs-fv .ai-fv__message > span { font-size: 22px; }
  .ai-page .ai-fv.dcs-fv .ai-fv__visual img { object-position: calc(50% + var(--dcs-ai-mobile-image-x, 0px)) calc(50% + var(--dcs-ai-mobile-image-y, 0px)); }
}

/* AI業務改善支援：FVは画面高、以降は通常スクロールのページ構成。 */
.ai-fv { position: relative; display: grid; min-height: var(--fv-h); overflow: hidden; isolation: isolate; background: #eef7fc; }
.ai-fv__visual { position: absolute; z-index: -1; inset: 0; }
.ai-fv__visual::before, .ai-fv__visual::after { position: absolute; inset: 0; content: ""; pointer-events: none; }
.ai-fv__visual::before { z-index: 2; background: linear-gradient(90deg, rgb(0 12 31 / var(--dcs-ai-copy-overlay-opacity, 0)) 0%, rgb(0 12 31 / var(--dcs-ai-copy-overlay-opacity, 0)) 45%, transparent 82%); }
.ai-fv__visual::after { z-index: 1; background: linear-gradient(90deg, rgb(255 255 255 / 97%) 0%, rgb(255 255 255 / 91%) 34%, rgb(255 255 255 / 50%) 57%, rgb(255 255 255 / 8%) 79%); }
.ai-fv__visual img { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: var(--dcs-ai-image-opacity, 1); }
.ai-fv__inner { position: relative; display: grid; min-height: inherit; align-items: center; padding-block: clamp(60px, 10vh, 130px); }
.ai-fv__copy { max-width: 650px; }
.ai-fv__eyebrow { margin: 0 0 14px; color: var(--blue); font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 900; letter-spacing: .08em; }
.ai-fv h1 { margin: 0 0 21px; color: var(--navy); font-size: clamp(2.35rem, 3vw, 3.2rem); font-weight: 900; letter-spacing: .015em; line-height: 1.2; }
.ai-fv__title-line { display: block; white-space: nowrap; }
.ai-fv h1 em { color: var(--blue); font-style: normal; }
.ai-fv__lead { margin: 0 0 13px; color: var(--ink); font-size: clamp(1.05rem, 1.35vw, 1.25rem); font-weight: 800; line-height: 1.65; }
.ai-fv__intro { max-width: 560px; margin: 0; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.92; }
.ai-fv__cta { display: flex; width: fit-content; min-height: 54px; align-items: center; gap: 10px; margin-top: 30px; padding: 12px 18px; border-radius: 4px; color: #fff; background: linear-gradient(90deg, #ed701a, #ff9816); font-size: .95rem; font-weight: 900; box-shadow: 0 9px 20px rgb(186 83 6 / 22%); }
.ai-fv__cta .dashicons { width: auto; height: auto; font-size: 20px; }
.ai-fv__cta > span { margin-left: 8px; font-size: 1.5rem; line-height: 1; }
.ai-fv__message { position: absolute; right: clamp(20px, 6vw, 105px); bottom: clamp(30px, 8vh, 100px); display: grid; gap: 13px; padding: 23px 27px; background: rgb(255 255 255 / 82%); color: var(--navy); }
.ai-fv__message strong { font-size: clamp(1.35rem, 2vw, 2.1rem); font-weight: 900; line-height: 1.4; }
.ai-fv__message-line { display: block; white-space: nowrap; }
.ai-page .ai-fv__cta { display: none !important; }
.ai-fv__message > span { font-size: .95rem; font-weight: 700; }
/* PCでは他の子ページと同じ、中央配置のFVボックスにする。 */
@media (min-width: 961px) {
  .ai-page .ai-fv { height: auto; min-height: 445px; background: #fff; }
  .ai-page .ai-fv__canvas { width: min(calc(100% - 48px), 1240px); height: 445px; min-height: 0; margin-inline: auto; }
  .ai-page .ai-fv__visual { z-index: 0; inset: 0 0 0 47%; }
  .ai-page .ai-fv__visual::after { background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 85%) 18%, rgb(255 255 255 / 35%) 42%, transparent 68%); }
  .ai-page .ai-fv__visual img { object-fit: cover; object-position: 80% center; }
  .ai-page .ai-fv__inner { z-index: 1; width: 100%; height: 445px; min-height: 0; max-width: none; margin: 0; padding-block: 42px 28px; }
  .ai-page .ai-fv__message { right: 38px; bottom: 18px; gap: 12px; padding: 18px 22px; }
  .ai-page .ai-fv__message strong { font-size: 1.6rem; line-height: 1.35; }
  .ai-page .ai-fv__message > span { font-size: .78rem; }
}

.ai-issues { padding-block: 76px 86px; }
.ai-issues__title { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.ai-issues__title::before, .ai-issues__title::after { flex: 1; height: 3px; content: ""; background: #9eacc3; }
.ai-issues__title h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.35; }
.ai-issues__title h2 > span { padding-inline: .16em; background: linear-gradient(transparent 54%, #fff0ae 54%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ai-issues__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ai-issues__grid article { display: grid; min-height: 146px; place-content: center; padding: 15px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: center; box-shadow: 0 4px 14px rgb(8 49 111 / 4%); }
.ai-issues__grid .dashicons { width: auto; height: auto; color: var(--navy); font-size: 39px; }
.ai-issues__grid p { margin: 10px 0 0; color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1.55; }
.ai-change { padding-block: 76px 86px; background: #f3f8fc; }
.ai-change__title { display: grid; justify-items: center; text-align: center; }
.ai-change__title h2 { display: flex; width: 100%; align-items: center; gap: 18px; margin: 0; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.35; }
.ai-change__title h2::before, .ai-change__title h2::after { flex: 1; height: 3px; content: ""; background: #9eacc3; }
.ai-change__title h2 > span { padding-inline: .16em; }
.ai-change__title p { margin: 12px 0 0; color: var(--ink); font-size: 1rem; font-weight: 700; }
.ai-change__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.ai-change__grid article { overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 6px 18px rgb(8 49 111 / 9%); }
.ai-change__grid h3 { margin: 0; padding: 8px 10px; color: #fff; background: #063a72; font-size: 1rem; font-weight: 900; line-height: 1.35; text-align: center; }
.ai-change__grid img { width: 100%; height: 145px; object-fit: cover; }
.ai-change__grid p { width: fit-content; max-width: 100%; margin: 0 auto; padding: 13px 12px 16px; color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.65; letter-spacing: -.02em; text-align: left; white-space: nowrap; }

@media (max-width: 960px) {
  .ai-fv__visual img { object-position: calc(68% + var(--dcs-ai-mobile-image-x, 0px)) calc(50% + var(--dcs-ai-mobile-image-y, 0px)); }
  .ai-fv__visual::after { background: linear-gradient(90deg, rgb(255 255 255 / 97%) 0%, rgb(255 255 255 / 87%) 52%, rgb(255 255 255 / 30%) 100%); }
  .ai-issues__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .ai-fv { min-height: var(--fv-h); }
  .ai-fv__inner { align-items: start; padding-block: 72px 42px; }
  .ai-fv__copy { max-width: min(82%, 330px); }
  .ai-fv h1 { margin-bottom: 14px; font-size: clamp(2.15rem, 10vw, 2.8rem); }
  .ai-fv__eyebrow { margin-bottom: 10px; font-size: .78rem; letter-spacing: .04em; }
  .ai-fv__lead { font-size: 1rem; line-height: 1.65; }
  .ai-fv__intro { font-size: .84rem; line-height: 1.7; }
  .ai-fv__cta { width: 100%; min-height: 48px; margin-top: 22px; padding-inline: 12px; font-size: clamp(.68rem, 3.4vw, .82rem); white-space: nowrap; }
  .ai-fv__cta > span { margin-left: auto; }
  .ai-fv__message { position: static; width: 100%; margin-top: 18px; padding: 14px 16px; }
  .ai-fv__message strong { font-size: 1.05rem; }
  .ai-fv__message > span { font-size: .75rem; }
  .ai-issues { width: min(calc(100% - 28px), 760px); padding-block: 44px 56px; }
  .ai-issues__title { justify-content: center; gap: 10px; margin-bottom: 22px; }
  .ai-issues__title h2 { font-size: clamp(1.05rem, 5.2vw, 1.35rem); line-height: 1.45; text-align: center; white-space: nowrap; }
  .ai-issues__grid { gap: 8px; }
  .ai-issues__grid article { min-height: 130px; padding: 11px 7px; }
  .ai-issues__grid .dashicons { font-size: 32px; }
  .ai-issues__grid p { margin-top: 7px; font-size: .78rem; line-height: 1.55; }
  .ai-change { padding-block: 44px 56px; }
  .ai-change__title h2 { gap: 10px; font-size: clamp(1.3rem, 6.4vw, 1.65rem); line-height: 1.45; }
  .ai-change__title p { margin-top: 9px; font-size: .78rem; line-height: 1.7; }
  .ai-change__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
  .ai-change__grid h3 { padding: 6px; font-size: .8rem; }
  .ai-change__grid img { height: 100px; }
  .ai-change__grid p { max-width: 100%; padding: 9px 8px 11px; font-size: .6rem; line-height: 1.6; letter-spacing: -.03em; white-space: normal; overflow-wrap: normal; word-break: normal; }
}

/* AI業務改善支援：選ばれる理由・時間削減・下部CTA */
.ai-reason { padding-block: 58px; color: #fff; background: linear-gradient(115deg, #062b72, #06447f); }
.ai-reason__inner { display: grid; grid-template-columns: minmax(270px, .95fr) minmax(0, 1.55fr); gap: 44px; align-items: center; }
.ai-reason__copy > p { margin: 0 0 10px; font-size: .95rem; font-weight: 800; }
.ai-reason__copy h2 { margin: 0 0 18px; color: #fff; font-size: clamp(2rem, 3.1vw, 3rem); font-weight: 900; line-height: 1.38; }
.ai-reason__copy div { color: rgb(255 255 255 / 92%); font-size: .78rem; font-weight: 600; line-height: 1.75; }
.ai-reason__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ai-reason__steps article { display: grid; min-height: 230px; justify-items: center; align-content: start; padding: 16px 14px; border-radius: 5px; color: var(--navy); background: #fff; text-align: center; }
.ai-reason__steps b { color: #57a5d6; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.ai-reason__steps i { width: auto; height: auto; margin-top: 11px; color: var(--navy); font-size: 37px; }
.ai-reason__steps h3 { margin: 8px 0 10px; color: var(--navy); font-size: .9rem; font-weight: 900; line-height: 1.45; }
.ai-reason__steps p { margin: 0; color: var(--ink); font-size: .71rem; font-weight: 600; line-height: 1.65; text-align: left; }
.ai-impact { padding-block: 42px; background: #fff; }
.ai-impact__inner { display: grid; grid-template-columns: 1.1fr 1.45fr .65fr; gap: 30px; align-items: center; }
.ai-impact h2 { margin: 0; color: var(--navy); font-size: clamp(1.1rem, 1.9vw, 2rem); font-weight: 900; line-height: 1.38; white-space: nowrap; }
.ai-impact__compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 17px; align-items: center; }
.ai-impact__compare article { overflow: hidden; border: 1px solid #d7dee5; border-radius: 4px; text-align: center; }
.ai-impact__compare article > span { display: block; padding: 6px; color: #fff; background: #9ba7b2; font-size: .83rem; font-weight: 900; }
.ai-impact__compare article p { margin: 0; padding: 10px 5px; color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.ai-impact__compare article b { font-size: 2.65rem; }
.ai-impact__compare article small { font-size: .75rem; }
.ai-impact__compare > strong { color: #9ac0dc; font-size: 2.2rem; letter-spacing: -.2em; }
.ai-impact__compare .ai-impact__after { border-color: #f18a46; }
.ai-impact__compare .ai-impact__after > span { background: #f47716; }
.ai-impact__compare .ai-impact__after p, .ai-impact__compare .ai-impact__after b { color: #e76312; }
.ai-impact__result { display: grid; width: 155px; min-height: 155px; place-content: center; padding: 14px; border: 2px solid #f07a20; border-radius: 50%; color: #172033; text-align: center; }
.ai-impact__result span { color: #ef741d; font-size: .75rem; font-weight: 900; line-height: 1.35; }
.ai-impact__result strong { color: #ef741d; font-size: 1rem; line-height: 1.35; }
.ai-impact__result strong b { color: #172033; font-size: 1.75rem; }
.ai-impact__result small { margin-top: 3px; font-size: .67rem; font-weight: 800; line-height: 1.35; }
.ai-impact__result small b { font-size: 1.25rem; }
.ai-closing { position: relative; min-height: 260px; background-image: linear-gradient(90deg, rgb(255 255 255 / 97%) 0%, rgb(255 255 255 / 88%) 28%, rgb(255 255 255 / 48%) 45%, rgb(255 255 255 / 8%) 58%, transparent 66%, transparent 100%), var(--ai-closing-image); background-position: 0 0, calc(50% + var(--dcs-ai-closing-pc-x, 0px)) calc(50% + var(--dcs-ai-closing-pc-y, 0px)); background-size: 100% 100%, var(--dcs-ai-closing-pc-scale, 100%) auto; background-repeat: no-repeat; }
.ai-closing__inner { display: grid; min-height: inherit; align-items: center; padding-block: 34px; }
.ai-closing__inner > div { max-width: 690px; }
.ai-closing h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 900; line-height: 1.36; white-space: nowrap; }
.ai-closing p { margin: 12px 0 0; color: var(--ink); font-size: .8rem; font-weight: 700; line-height: 1.75; }
.ai-closing .ai-fv__cta { margin-top: 18px; }

/* PCの「現場を知っている。だから、現実的に効く。」は、指定した改行の2行を維持する。 */
@media (min-width: 961px) {
  .ai-reason__inner { grid-template-columns: minmax(500px, .95fr) minmax(0, 1.55fr); }
  .ai-reason__copy h2 { white-space: nowrap; font-size: clamp(2rem, 2.8vw, 2.55rem); }
}

@media (max-width: 960px) {
  .ai-reason__inner { grid-template-columns: 1fr; }
  .ai-impact__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ai-impact__compare { width: min(100%, 540px); }
}

@media (max-width: 600px) {
  .ai-reason { padding-block: 42px; }
  .ai-reason__inner { gap: 25px; }
  .ai-reason__copy h2 { font-size: 1.8rem; }
  .ai-reason__copy div { font-size: .72rem; }
  .ai-reason__steps { grid-template-columns: 1fr; }
  .ai-reason__steps article { min-height: 0; grid-template-columns: auto 1fr; column-gap: 14px; justify-items: start; padding: 15px; text-align: left; }
  .ai-reason__steps b { grid-column: 1; grid-row: 1; }
  .ai-reason__steps i { grid-column: 1; grid-row: 2 / 4; margin-top: 6px; }
  .ai-reason__steps h3 { grid-column: 2; grid-row: 1; margin: 2px 0 6px; }
  .ai-reason__steps p { grid-column: 2; grid-row: 2 / 4; }
  .ai-impact { padding-block: 38px; }
  .ai-impact__inner { gap: 20px; }
  .ai-impact h2 { font-size: clamp(1.1rem, 5.5vw, 1.4rem); white-space: nowrap; }
  .ai-impact__compare { gap: 9px; }
  .ai-impact__compare > strong { font-size: 1.5rem; }
  .ai-impact__compare article > span { font-size: .68rem; }
  .ai-impact__compare article b { font-size: 2rem; }
  .ai-impact__result { width: 176px; min-height: 176px; padding: 18px; }
  .ai-impact__result span { font-size: .88rem; }
  .ai-impact__result strong { color: #ef741d; white-space: nowrap; }
  .ai-impact__result strong { font-size: 1.15rem; }
  .ai-impact__result strong b { color: #172033; font-size: 2rem; }
  .ai-impact__result small { font-size: .75rem; }
  .ai-impact__result small b { font-size: 1.4rem; }
  .ai-closing { min-height: 410px; background-image: var(--ai-closing-image); background-position: calc(50% + var(--dcs-ai-closing-mobile-x, 0px)) calc(50% + var(--dcs-ai-closing-mobile-y, 0px)); background-size: auto var(--dcs-ai-closing-mobile-scale, 100%); background-repeat: no-repeat; }
  /* 文字の上部は白地にし、背景画像を下へずらして文字と重ならないようにする。 */
  .ai-closing::before { display: none; }
  .ai-closing { background-color: #fff; background-position: calc(50% + var(--dcs-ai-closing-mobile-x, 0px)) calc(50% + var(--dcs-ai-closing-mobile-y, 0px) + 120px); }
  .ai-closing__inner { position: relative; z-index: 1; align-items: start; padding-top: 45px; }
  .ai-closing h2 { font-size: clamp(1.2rem, 5.1vw, 1.5rem); white-space: nowrap; }
  .ai-closing p { font-size: .75rem; }
}
