/* DIGILICO 用の上書き。main.css（貴瞬テーマ）は直接編集せず、ここで調整する */
/* メインビジュアル: 名刺と同じターコイズ＋モーショングラフィック（assets/js/fv-motion.js） */
.pTop__fv--bg { background: linear-gradient(160deg, #56c6d0 0%, #3fb0bb 45%, #2f9aa5 100%); }
.fv-motion { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* 数字セクション: 貴瞬の「国内／海外」ラベルとグラフ画像を消す */
body .pTop__number .pTop__number--items .locations-graph .locations-graph--contents .nun-jp:before,
body .pTop__number .pTop__number--items .locations-graph .locations-graph--contents .nun-en:before { content: none; }
.pTop__number .pTop__number--items picture { visibility: hidden; }
/* 白文字が載る写真は、文字のある左側だけ暗くして読みやすくする */
/* 事業ページは absolute、トップの ICT 紹介は sticky がすでに付いているので、位置指定のない2つだけ relative にする */
.pRecruit__mv--img, .pTop__recruit picture { position: relative; }
.pTop__recruit picture { display: block; }
/* 上の relative で写真が文字より手前に来るので、文字を前に出す */
.pTop__recruit--container { z-index: 2; }
/* 上のグラデーションはヘッダーの白文字用（A-4）、横のグラデーションは左の文字用 */
.pTop__strategy--bg::after, .pBusiness__fv--bg::after, .pRecruit__mv--img::after, .pTop__recruit picture::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 20, 30, .7) 0%, rgba(10, 20, 30, .6) 12%, rgba(10, 20, 30, 0) 30%), linear-gradient(90deg, rgba(10, 20, 30, .62) 0%, rgba(10, 20, 30, .35) 45%, rgba(10, 20, 30, 0) 75%); }
.strength-heading__en { white-space: nowrap; }
/* 実績一覧: 「Works」は「News」より1文字長いので、折り返さず少し小さくする */
.cHeading-main__en.page-news { white-space: nowrap; font-size: min(1em * 1, calc(7 * var(--vw))); }
/* 企業理念: 貴瞬では画像だったストーリー文を HTML の文字で組む */
.digilico-story { color: #fff; text-align: center; font-size: clamp(16px, calc(1.6 * var(--vw)), 22px); line-height: 2.2; letter-spacing: .08em; padding: 80px 20px; }
.digilico-story p + p { margin-top: 2.4em; }
/* ヘッダー: スクロールしたら背景を付け、ロゴと文字を黒にそろえる（assets/js/header-scroll.js） */
.lheader { height: auto; padding-bottom: calc(1.6 * var(--vw)); transition: background-color .3s ease, backdrop-filter .3s ease; }
.lheader.is-scrolled { background: rgba(249, 249, 250, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lheader.is-scrolled .lheader__logo--black { visibility: visible !important; opacity: 1 !important; }
.lheader.is-scrolled .lheader__logo--white { visibility: hidden !important; opacity: 0 !important; }
.lheader.is-scrolled .lheader__nav-item a, .lheader.is-scrolled .menu-item__text { color: var(--color-black) !important; }
.lheader.is-scrolled .contact-link, .lheader.is-scrolled .hamburger-btn { color: var(--color-black) !important; border-color: var(--color-black) !important; }
.lheader.is-scrolled .hamburger-btn__line { background-color: var(--color-black) !important; }
.lheader.is-scrolled .c-icon-arrow { stroke: var(--color-black) !important; }
.lheader.is-scrolled .c-icon-copy__back, .lheader.is-scrolled .menu-item__icon svg rect { fill: var(--color-black) !important; }
/* トップのFV（明るいターコイズの無地）では、白い文字が読みにくい（コントラスト 2.0〜2.4）。開いた直後もロゴとナビを濃い色にする（A-4） */
body:has(.pTop__fv) .lheader:not(.is-scrolled) .lheader__logo--black { visibility: visible !important; opacity: 1 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .lheader__logo--white { visibility: hidden !important; opacity: 0 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .lheader__nav-item a, body:has(.pTop__fv) .lheader:not(.is-scrolled) .menu-item__text { color: #0c3a40 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .contact-link, body:has(.pTop__fv) .lheader:not(.is-scrolled) .hamburger-btn { color: #0c3a40 !important; border-color: #0c3a40 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .hamburger-btn__line { background-color: #0c3a40 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .c-icon-arrow { stroke: #0c3a40 !important; }
body:has(.pTop__fv) .lheader:not(.is-scrolled) .c-icon-copy__back, body:has(.pTop__fv) .lheader:not(.is-scrolled) .menu-item__icon svg rect { fill: #0c3a40 !important; }
@media (max-width: 896px) { .lheader { padding-bottom: 12px; } }
/* コントラスト */
.cForm ::placeholder { color: #6b6b6b !important; }
/* スマホ: メニューの下層リンクを押しやすく、入力欄は iOS の自動拡大を防ぐため 16px */
@media (max-width: 896px) { .mb-menu .sub-link a { font-size: 14px !important; display: inline-block; padding: 8px 0; } .mb-menu { background: rgba(249, 249, 250, .97) !important; } .cForm input, .cForm select, .cForm textarea { font-size: 16px !important; } }
/* 改行: 単語の途中で折り返さない */
h1, h2, h3, p, .contents-info__ja { word-break: auto-phrase; line-break: strict; }
.nowrap { white-space: nowrap; }
/* 数字セクション: 「部門」も他の単位（年・件）と同じ大きさにする */
.locations-graph--contents { align-items: flex-end; }
body .pTop__number .pTop__number--items .locations-graph .locations-graph--contents .colon { display: none; }
.locations-graph--contents .nun-en { font-family: inherit; font-size: clamp(20px, calc(24 * var(--mw) / var(--bw)), 27px); line-height: clamp(45.6px, calc(52.8 * var(--mw) / var(--bw)), 56.7px); letter-spacing: clamp(1.08px, calc(1.44 * var(--mw) / var(--bw)), 1.35px); }
/* トップ: お知らせ一覧は右端まで伸ばす演出。width:100% と margin-left の組み合わせで4pxはみ出すので、右端ちょうどに合わせる */
@media (min-width: 897px) { .pTop__news .pTop__news--container { width: calc(100% - calc(.2857142857 * var(--vw))); } }
/* 表示する機器ごとの値（デザイントークン）。DIGILICO が足したパーツは、大きさ・余白・列数をここの変数で決める。
   機器ごとに変えたいときは、パーツの CSS ではなく、この表の値を変える。 */
/* ---------------------------------------------------------------- 表示する機器ごとの値（デザイントークン）
   段階: スマホ 〜599px ／ タブレット 600〜896px ／ 小さめのPC 897〜1279px ／ PC 1280px〜（位置は MEDIA）
   896px は main.css（貴瞬テーマ）の切り替えと同じ。テーマは画面幅に比例して伸び縮みし、1600px で止まる（07-wide-layout.css）。
   左右の余白（--dg-gutter）はテーマと同じにして端をそろえる。下の :root が PC の値で、ほかの段階は違う値だけ書く */
:root {
  --dg-gutter: calc(5.1428571429 * var(--vw));   /* 左右の余白（テーマの PC と同じ） */
  --dg-space-section: 160px;     /* セクションの間 */
  --dg-space-band: 96px;         /* 色の帯（ご相談の帯）の上下 */
  --dg-space-head: 32px;         /* 見出しと中身の間 */
  --dg-gap: 20px;                /* カードどうしの間 */
  --dg-gap-s: 12px;              /* 小さなカードどうしの間 */
  --dg-pad-card: 28px;           /* カードの内側 */
  --dg-measure: 38em;            /* 説明文の1行の長さの上限（約38字） */
  /* アイコン（丸い背景の直径）: 小＝文字の横 ／ 中＝見出し・ラベル ／ 大＝カード・流れ図 ／ 関係図の事業・中心 */
  --dg-icon-s: 32px; --dg-icon-m: 44px; --dg-icon-l: 64px; --dg-icon-map: 76px; --dg-icon-hub: 108px;
  /* 文字 */
  --fs-xs: 13px; --fs-s: 15px; --fs-ms: 16px; --fs-m: 17px; --fs-card: 20px; --fs-l: 26px; --fs-xl: 44px;
  --fs-h2: clamp(32px, calc(2.3 * var(--vw)), 36px);
  /* 列の数 */
  --dg-cols-needs: 4; --dg-cols-divs: 2; --dg-cols-worries: 3; --dg-cols-svcs: 2; --dg-cols-cases: 3;
}
@media (max-width: 599px) {
  :root {
    --dg-gutter: calc(7.5 * var(--vw)); --dg-space-section: 96px; --dg-space-band: 64px; --dg-space-head: 24px;
    --dg-gap: 12px; --dg-pad-card: 20px;
    --dg-icon-l: 56px; --dg-icon-map: 56px; --dg-icon-hub: 72px;
    --dg-measure: 46em;
    --fs-xs: 12px; --fs-s: 13px; --fs-ms: 15px; --fs-m: 15px; --fs-card: 16px; --fs-l: 20px; --fs-xl: 28px; --fs-h2: clamp(20px, calc(6 * var(--vw)), 24px);
    --dg-cols-needs: 1; --dg-cols-divs: 1; --dg-cols-worries: 1; --dg-cols-svcs: 1; --dg-cols-cases: 1;
  }
}
@media (min-width: 600px) and (max-width: 896px) {
  :root {
    --dg-gutter: calc(7.5 * var(--vw)); --dg-space-section: 112px; --dg-space-band: 72px; --dg-space-head: 28px;
    --dg-gap: 16px; --dg-pad-card: 22px;
    --dg-icon-l: 56px; --dg-icon-map: 60px; --dg-icon-hub: 80px;
    --dg-measure: 46em;
    --fs-xs: 12px; --fs-s: 14px; --fs-ms: 15px; --fs-m: 15px; --fs-card: 17px; --fs-l: 22px; --fs-xl: 32px; --fs-h2: 26px;
    --dg-cols-needs: 2; --dg-cols-divs: 2; --dg-cols-worries: 2; --dg-cols-svcs: 2; --dg-cols-cases: 1;
  }
}
@media (min-width: 897px) and (max-width: 1279px) {
  :root {
    --dg-space-section: 128px; --dg-space-band: 80px; --dg-space-head: 28px;
    --dg-gap: 16px; --dg-pad-card: 24px;
    --dg-icon-l: 60px; --dg-icon-map: 68px; --dg-icon-hub: 96px;
    --fs-m: 16px; --fs-card: 19px; --fs-l: 24px; --fs-xl: 36px; --fs-h2: 28px;
    --dg-cols-needs: 2; --dg-cols-worries: 2;
  }
}

/* ---------------------------------------------------------------- アイコン・図（tools/build_prototype.py の「アイコン・図」） */
:root { --dg-ink: #0c3a40; --dg-teal: #4bbdc8; --dg-teal-deep: #1f7a83; --dg-tint: #e1f2f4; --dg-yellow: #f3e34c; }
.dg-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--dg-icon-m); height: var(--dg-icon-m);
  border-radius: 50%; background: var(--dg-tint); color: var(--dg-ink); }
.dg-badge svg { width: 55%; height: 55%; overflow: visible; }
.dg-badge .dg-dot { fill: var(--dg-yellow); }
.dg-badge--lg { width: var(--dg-icon-l); height: var(--dg-icon-l); }
.dg-badge--xl { width: var(--dg-icon-hub); height: var(--dg-icon-hub); }
.dg-badge--goal { background: var(--dg-yellow); }
.dg-badge--goal .dg-dot { fill: #fff; }
/* 強みの小見出し: アイコン＋ラベル */
.strength-label { display: flex; align-items: center; gap: 12px; margin-bottom: 1em; font-size: var(--fs-s); letter-spacing: .1em; color: #1f7a83; }
/* 事業紹介の各ディビジョン・企業理念の価値観 */
.dg-division-icon { margin-bottom: 20px; }
/* 企業理念「大切にしていること」（C案）: 大きな番号 | 大きなアイコン | 見出し＋英語 | 説明 */
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value {
  display: grid; grid-template-columns: 80px 76px 204px minmax(0, 1fr); align-items: center; column-gap: 20px;
  padding: 36px 0; border-color: #cfe3e6;
}
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .title-num {
  margin: 0; font-family: "General Sans", sans-serif; font-size: 56px; font-style: normal; font-weight: 300;
  line-height: 1; letter-spacing: 0; white-space: nowrap; color: var(--dg-teal);
}
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .dg-value__icon { width: 76px; height: 76px; }
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .dg-value__icon svg { width: 52%; height: 52%; }
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__title { display: block; width: auto; }
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__title p { display: block; }
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .title-text { font-size: 20px; line-height: 1.5; letter-spacing: .08em; white-space: nowrap; }
.dg-value__en { margin-top: 6px; font-family: "General Sans", sans-serif; font-size: 13px; letter-spacing: .12em; color: var(--dg-teal-deep); }
.pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__details {
  width: auto; max-width: none; font-size: 15px; font-weight: 400; line-height: 2; letter-spacing: .06em; text-wrap: pretty;
}
@media (max-width: 1279px) {
  /* 説明文の列が狭くなるので、説明は見出しの下に回す */
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value { grid-template-columns: 60px 64px minmax(0, 1fr); grid-template-areas: "num icon head" ". . text"; column-gap: 16px; row-gap: 14px; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .title-num { grid-area: num; font-size: 44px; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .dg-value__icon { grid-area: icon; width: 64px; height: 64px; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__title { grid-area: head; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__details { grid-area: text; }
}
/* スマホ・タブレット: 上に「アイコン｜番号＋見出し＋英語」、その下に説明 */
@media (max-width: 896px) {
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value {
    grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "icon num" "icon head" "text text"; align-items: start; column-gap: 16px; row-gap: 4px; padding: 28px 0;
  }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .dg-value__icon { grid-area: icon; width: 64px; height: 64px; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .title-num { grid-area: num; align-self: end; font-size: 14px; letter-spacing: .1em; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__title { grid-area: head; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .title-text { font-size: 17px; }
  .pPhilosophy__contents.value-item .value-item__details .value-list .value-list__items.dg-value .value-list__details { grid-area: text; margin-top: 14px; font-size: 14px; line-height: 1.9; }
}
/* トップの数字: 右上にアイコン、数字はブランドの色 */
.dg-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--dg-gap); margin: var(--dg-space-head) 0 0; padding: 0; list-style: none; }
/* 会社情報・事業紹介・代表挨拶などのページ上部の写真（cAnimation__mv）:
   テーマの JS がスマホ・タブレットで枠の高さを「画面いっぱい（100vh）」にするため、横長の写真が縦長に大きく切り抜かれる
   （代表挨拶では写真が小さく、下に空白ができる）。スマホ・タブレットでは枠を写真と同じ横長（3:2）にする */
@media (max-width: 896px) {
  body .cAnimation__mv.jsPageMv, body .cAnimation__mv[class*="jsMessageMv"], body .cAnimation__mv { height: auto !important; min-height: 0 !important; }
  body .cAnimation__mv .cAnimation__mv--inner { height: auto !important; min-height: 0 !important; aspect-ratio: 3 / 2; }
  body .cAnimation__mv .cAnimation__mv--img, body .cAnimation__mv .jsPageMvParallax { height: 100% !important; }
  body .cAnimation__mv .cAnimation__mv--img img { width: 100%; height: 100%; object-fit: cover; }
}
/* 画面の外に置かれた固定配置の飾り（代表挨拶など）で、ページ全体が横に数px動かないようにする */
html { overflow-x: clip; }
.dg-num { display: flex; flex-direction: column; align-items: flex-start; padding: var(--dg-pad-card); border: 1px solid #cfe7ea; border-radius: 16px; background: #fff; }
.dg-num .dg-badge { width: var(--dg-icon-m); height: var(--dg-icon-m); }
.dg-num__label { margin-top: 16px; font-size: var(--fs-s); font-weight: 500; color: var(--dg-teal-deep); }
.dg-num__value { margin-top: 6px; line-height: 1.1; color: var(--dg-ink); }
.dg-num__n { font-family: "General Sans", sans-serif; font-size: clamp(40px, calc(4.4 * var(--vw)), 72px); font-weight: 500; letter-spacing: .01em; }
.dg-num__unit { margin-left: 6px; font-size: var(--fs-m); font-weight: 500; }
.dg-num__note { margin-top: 10px; font-size: var(--fs-xs); color: #3d5a5e; }
@media (min-width: 897px) and (max-width: 1279px) { .dg-nums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 896px) { .dg-nums { grid-template-columns: repeat(2, 1fr); gap: 12px; } .dg-num { padding: 18px 16px; } }
.dg-num__unit { white-space: nowrap; }
@media (max-width: 599px) { .dg-num__n { font-size: 40px; } .dg-num__unit { display: block; margin: 4px 0 0; font-size: var(--fs-s); } }
.pTop__number--items { position: relative; }
.pTop__number--items > .dg-badge { position: absolute; top: 20px; right: 20px; }
body .pTop__number .pTop__number--items .number-heading:before { background-color: var(--dg-teal); }
body .pTop__number .pTop__number--items .sales-graph .sales-graph--contents .contents-num,
body .pTop__number .pTop__number--items .sales-graph .sales-graph--contents .contents-text,
body .pTop__number .pTop__number--items .employees-graph .employees-graph__contents .contents-num,
body .pTop__number .pTop__number--items .employees-graph .employees-graph__contents .contents-text,
body .pTop__number .pTop__number--items .locations-graph--contents,
body .pTop__number .pTop__number--items .locations-graph--contents .nun-jp,
body .pTop__number .pTop__number--items .locations-graph--contents .nun-en { color: var(--dg-teal-deep); }

/* 図のセクション（共通） */
.dg-section { position: relative; z-index: 2; padding: clamp(56px, calc(7 * var(--vw)), 112px) var(--dg-gutter); background: var(--color-white); }
.dg-route, .dg-map { margin: 0 auto; max-width: 1120px; color: var(--dg-ink); }
.dg-route__title, .dg-map__title { margin-bottom: clamp(32px, calc(4 * var(--vw)), 56px); font-size: clamp(20px, calc(2 * var(--vw)), 28px);
  font-weight: 500; line-height: 1.6; letter-spacing: .06em; text-align: center; }

/* ICT: 窓口はひとつ（ご相談 → 導入 → 保守 → 修理 → お客さま） */
.dg-route__body { position: relative; padding: 28px clamp(16px, calc(2.5 * var(--vw)), 40px) 32px; border: 1px solid #cfe7ea; border-radius: 24px; background: #fff; }
.dg-route__by { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 4px 16px; border-radius: 999px;
  background: var(--dg-ink); color: #fff; font-size: var(--fs-s); letter-spacing: .08em; white-space: nowrap; }
.dg-route__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg-route__steps::before, .dg-route__steps::after { position: absolute; top: calc(var(--dg-icon-l) / 2); height: 3px; content: ''; border-radius: 3px; }
.dg-route__steps::before { left: 10%; right: 30%; background: var(--dg-teal); }                     /* DIGILICO の区間 */
.dg-route__steps::after { left: 70%; right: 10%; background: var(--dg-yellow); box-shadow: 0 0 10px rgba(243, 227, 76, .9); } /* 最後の1マイル */
.dg-route__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dg-route__step .dg-badge { box-shadow: 0 0 0 6px #fff; }
.dg-route__name { margin-top: 14px; font-size: var(--fs-card); font-weight: 500; letter-spacing: .06em; }
.dg-route__note { margin-top: 6px; font-size: var(--fs-s); line-height: 1.7; color: #3d5a5e; }
.dg-route__step--goal .dg-route__name { color: var(--dg-ink); }
/* 段の番号は濃いターコイズの色帯（BUDDICA の Step 図を参考に。線でつなぐ今の図はそのまま） */
.dg-route__num { display: inline-block; margin-top: 14px; padding: 3px 12px; border-radius: 4px; background: var(--dg-teal-deep);
  font-family: "General Sans", sans-serif; font-size: var(--fs-xs); font-weight: 500; line-height: 1.5; letter-spacing: .1em; color: #fff; }
.dg-route__num + .dg-route__name { margin-top: 8px; }
.dg-route--plain .dg-route__note { color: var(--dg-teal-deep); }
/* 4ステップ（黄色の区間なし） */
.dg-route--4 .dg-route__steps { grid-template-columns: repeat(4, 1fr); }
.dg-route--4 .dg-route__steps::before { left: 12.5%; right: 12.5%; }
.dg-route--4 .dg-route__steps::after { display: none; }
.dg-route--5 .dg-route__steps { grid-template-columns: repeat(5, 1fr); }   /* 5段（採用: 面接2回）。線は両端の丸の中心まで */
.dg-route--5 .dg-route__steps::before { left: 10%; right: 10%; }
.pRecruit__flow .dg-route { margin-top: clamp(32px, calc(4 * var(--vw)), 56px); }

/* 事業紹介: 4つのディビジョンとお客さま */
.dg-map__body { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 960 / 600; }
.dg-map .dg-badge--lg { width: var(--dg-icon-map); height: var(--dg-icon-map); }
/* 図の下の空白を詰める（約500px → 約120px）。強みのセクションの上余白は事業部ページでも使うので、この図の後だけ（A-7） */
.dg-section--map { padding-bottom: 0; }
body .dg-section--map + .pBusiness__strength { padding-top: 28px; }  /* 中の項目にも上余白（約90px）があるので、合わせて約120px */   /* 事業紹介の主役の図なので一回り大きく（A-7） */
.dg-map .dg-badge--xl { width: var(--dg-icon-hub); height: var(--dg-icon-hub); }
.dg-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg-map__lines path { fill: none; stroke: var(--dg-yellow); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dg-map__nodes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
/* 線の端（22% / 78%）にアイコンの中心を合わせる。上の2つは文字をアイコンの上に置き、線が文字を横切らないようにする */
.dg-map__node { position: absolute; display: flex; flex-direction: column; align-items: center; width: 34%; text-align: center; transform: translate(-50%, calc(var(--dg-icon-map) / -2)); }
.dg-map__node--1, .dg-map__node--2 { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + var(--dg-icon-map) / 2)); }
.dg-map__node--1 .dg-map__name, .dg-map__node--2 .dg-map__name { margin-top: 4px; }
.dg-map__node--1 .dg-map__note, .dg-map__node--2 .dg-map__note { margin: 0 0 12px; }
.dg-map__node--1 { left: 22%; top: 22%; } .dg-map__node--2 { left: 78%; top: 22%; }
.dg-map__node--3 { left: 22%; top: 78%; } .dg-map__node--4 { left: 78%; top: 78%; }
.dg-map__node .dg-badge { box-shadow: 0 0 0 8px var(--color-white); }
.dg-map__center { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%); }
.dg-map__center .dg-badge { box-shadow: 0 0 0 10px var(--color-white), 0 0 24px 10px rgba(243, 227, 76, .55); }
/* 関係図: 事業どうしの連携（点線）とラベル、まんなかの「窓口はひとつ」 */
.dg-map__lines .dg-map__link { stroke: #9fd6dc; stroke-width: 1.5; stroke-dasharray: 2 6; }
.dg-map__links { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.dg-map__linkLabel { position: absolute; padding: 4px 12px; border: 1px solid #cfe7ea; border-radius: 999px; background: #fff;
  font-size: var(--fs-xs); color: var(--dg-teal-deep); white-space: nowrap; transform: translate(-50%, -50%); }
.dg-map__linkLabel--top { left: 50%; top: 22%; } .dg-map__linkLabel--bottom { left: 50%; top: 78%; }
.dg-map__linkLabel--right { left: 78%; top: 50%; } .dg-map__linkLabel--left { left: 22%; top: 50%; }
.dg-map__window { margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: var(--dg-yellow); font-size: var(--fs-xs); font-weight: 500; color: var(--dg-ink); white-space: nowrap; }
@media (max-width: 896px) {
  .dg-map__links { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; order: 2; }
  .dg-map__links::before { content: "事業どうしの連携"; width: 100%; text-align: center; font-size: var(--fs-xs); color: #3d5a5e; }
  .dg-map__linkLabel { position: static; transform: none; }
}
/* お悩みカード: 押すと関係するサービスへ */
.dg-worry__link { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; height: 100%; padding: 16px 18px; color: inherit; text-decoration: none; }
.dg-worry__to { grid-column: 2; justify-self: end; font-size: var(--fs-xs); color: var(--dg-teal-deep); }
.dg-worry__link:hover .dg-worry__to, .dg-worry__link:focus-visible .dg-worry__to { text-decoration: underline; }
.dg-worry:has(.dg-worry__link:hover) { border-color: var(--dg-teal); }
.dg-svc { scroll-margin-top: 120px; }
/* ご利用の例: お悩み → 対応 → 結果 */
.dg-case-flow { display: grid; gap: 0; margin: 16px 0 0; }
.dg-case-flow__step { position: relative; padding: 0 0 18px 0; }
.dg-case-flow__step:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; border-left: 2px dotted #9fd6dc; }
.dg-case-flow dt { display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 500; color: var(--dg-teal-deep); }
.dg-case-flow dt .dg-badge { width: 32px; height: 32px; flex: none; }
.dg-case-flow dd { margin: 4px 0 0 42px; font-size: var(--fs-s); line-height: 1.8; }
.dg-case-flow__step--worry dt { color: #3d5a5e; }
.dg-case-flow__step--result { padding-bottom: 0; }
.dg-case-flow__step--result dd { padding: 8px 12px; border-radius: 8px; background: #fbf8d8; }
/* 流れ図: 補足を読みやすく、最後の段に「その後も同じ窓口へ」 */
.dg-route__after { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 999px; background: var(--dg-yellow); font-size: var(--fs-xs); font-weight: 500; }
@media (max-width: 896px) { .dg-route__after { grid-column: 2; justify-self: start; margin-top: 6px; } }
.dg-map__name { margin-top: 10px; font-size: clamp(15px, calc(1.3 * var(--vw)), 18px); font-weight: 500; letter-spacing: .06em; }
.dg-map__note { margin-top: 4px; font-size: var(--fs-s); color: #3d5a5e; }

/* 会社情報ナビ: 行の先頭にアイコン */
.dg-badge--nav { width: var(--dg-icon-m); height: var(--dg-icon-m); margin-right: clamp(16px, calc(2 * var(--vw)), 28px); }
body .cCompany-nav .cCompany-nav__link { display: flex; align-items: center; }
/* お知らせのカテゴリ: 貴瞬の紺 → DIGILICO の濃いターコイズ */
body .pTop__news .pTop__news-item .news-item__data .news-item__data--category,
body .pArchive .pArchive__items .news-item__data .news-item__data--category,
body .pSingle .pSingle__details .pSingle__details--category { background-color: var(--dg-teal-deep); }  /* main.css と同じ深さ＋body */
/* お問い合わせ: 同意文のリンクを貴瞬の青からターコイズへ。受付時間は見出しと値を中央でそろえる */
body .cForm .cForm__privacy a { color: var(--dg-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
body .cForm .cForm__privacy a:after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); }
body .pContact .pContact__info .pContact__info--hours { align-items: center; gap: 10px; margin-top: 10px; }
body .pContact .pContact__info .pContact__info--hours .hours-title, body .pContact .pContact__info .pContact__info--hours .hours-text { margin: 0; }
/* 事業ページFVの英字見出し: 単語の途中で折らない。幅が狭いときは画面幅に合わせて小さくする（A-3） */
.fv-service__copy .copy-ja, .fv-service__copy .copy-en { display: block; }  /* h1 の中は span なので、元の段落と同じく1行ずつ */
body .pBusiness__fv .pBusiness__fv--contents .fv-service__copy .copy-en { white-space: nowrap;
  font-size: min(clamp(72px, calc(120 * var(--mw) / var(--bw)), 124px), calc(16 * var(--vw))); line-height: 1; }
/* トップ「ICT & Support」: 説明文とボタンを見出しの下（写真の左の暗い側）にそろえる。右寄せだと写真の被写体に重なる（A-5） */
@media (min-width: 897px) {
  body .pTop__strategy .pTop__strategy--contents .contents-desc { width: min(calc(36 * var(--vw)), 520px); margin-left: 0; }
  body .pTop__strategy .pTop__strategy--contents .contents-btn { width: min(calc(36 * var(--vw)), 520px); margin-top: calc(3.4285714286 * var(--vw)); text-align: left; }
}
/* 企業理念: 英字だけ Noto Sans JP になっていたので、他の英字見出しと同じ General Sans にそろえる（A-8） */
body .pPhilosophy__scroll .cInfiniteText__item { font-family: "General Sans", sans-serif; font-weight: 500; }
body .pPhilosophy__contents.policy-item .policy-item__details .details-title .details-title__en {
  font-family: "General Sans", sans-serif; font-weight: 500; white-space: nowrap;
  font-size: max(40px, min(83px, calc(5.4 * var(--vw)))); line-height: 1.05; }  /* 枠（幅35vw）に「Last One Mile」が1行で収まる大きさ */
/* フッターのコピーライトを1行に（A-9） */
body .lFooter__info--copy { white-space: nowrap; }
/* 会社概要の要点 */
.dg-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(40px, calc(5 * var(--vw)), 72px); padding: 0; list-style: none;
  border-top: 1px solid #cfe7ea; border-bottom: 1px solid #cfe7ea; }
.dg-facts__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 14px; row-gap: 2px;
  align-items: center; padding: 24px 16px; color: var(--dg-ink); }
.dg-facts__item + .dg-facts__item { border-left: 1px solid #cfe7ea; }
.dg-facts__item .dg-badge { grid-row: span 2; }
.dg-facts__label { font-size: var(--fs-s); letter-spacing: .06em; color: #3d5a5e; }
.dg-facts__value { white-space: nowrap; font-size: clamp(15px, calc(1.4 * var(--vw)), 20px); font-weight: 500; line-height: 1.5; letter-spacing: .04em; }
/* トップの事業紹介: ディビジョンへのリンク */
.dg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; padding: 0; list-style: none; }
.dg-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid #cfe7ea; border-radius: 999px;
  background: #fff; color: var(--dg-ink); font-size: var(--fs-s); letter-spacing: .04em; transition: background-color .2s ease, border-color .2s ease; }
.dg-chip:hover { background: var(--dg-tint); border-color: var(--dg-teal); }
.dg-chip:focus-visible { outline: 2px solid var(--dg-teal-deep); outline-offset: 2px; }
.dg-badge--sm { width: var(--dg-icon-s); height: var(--dg-icon-s); }

@media (max-width: 896px) {
  .dg-badge--nav { margin-right: 0; }
  /* 会社情報ナビ: スマホは番号が上の行に来るので、2段目を「アイコン＋見出し」にする（右の矢印ボタンの分だけ空ける） */
  body .cCompany-nav .cCompany-nav__link { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  body .cCompany-nav .cCompany-nav__link:before { grid-column: 1 / -1; }
  body .cCompany-nav .cCompany-nav__text { padding-right: calc(14 * var(--vw)); }
  /* 押しやすさ: 指で押すリンクは高さ 24px 以上にする */
  .category-list__items a, .fv-contents__news .news-details, .cForm__privacy a, .lFooter__nav a, .lFooter__info a {
    display: inline-block; padding-block: 6px; }
  /* 企業理念: 経営理念の文は行間を広げる */
  body .details-title__ja { line-height: 1.7 !important; }
  /* トップの実績・事例: 改行の位置が幅に合わないので、スマホでは1つ目の改行をなくす */
  .pTop__office .contents-desc br:first-of-type { display: none; }
  .dg-facts { grid-template-columns: 1fr 1fr; }
  .dg-facts__item { padding: 18px 10px; column-gap: 10px; }
  .dg-facts__item + .dg-facts__item { border-left: 0; }
  .dg-facts__item:nth-child(even) { border-left: 1px solid #cfe7ea; }
  .dg-facts__item:nth-child(n+3) { border-top: 1px solid #cfe7ea; }
  .pTop__number--items > .dg-badge { top: 12px; right: 12px; width: 36px; height: 36px; }
  /* 流れ図は縦に並べ、線も縦にする */
  .dg-route__body { padding: 36px 20px 24px; }
  .dg-route__steps { grid-template-columns: 1fr; gap: 20px; }
  /* 縦の線は段ごとに引く: アイコンの中心から、次の段のアイコンの中心まで（段の高さが違っても、はみ出さない） */
  .dg-route__steps::before, .dg-route__steps::after { display: none; }
  .dg-route__step:not(:last-child)::after { content: ""; position: absolute; z-index: -1; left: calc(var(--dg-icon-l) / 2 - 1.5px);
    top: calc(var(--dg-icon-l) / 2); width: 3px; height: calc(100% + 20px); border-radius: 3px; background: var(--dg-teal); }
  .dg-route--4 .dg-route__steps, .dg-route--5 .dg-route__steps { grid-template-columns: 1fr; }
  .dg-route--4 .dg-route__step .dg-badge { grid-row: span 3; }
  .dg-route__num { margin-top: 0; justify-self: start; }
  .dg-route__step { display: grid; grid-template-columns: var(--dg-icon-l) 1fr; column-gap: 16px; align-items: center; text-align: left; padding-left: 0; }
  .dg-route__step .dg-badge { grid-row: span 2; align-self: start; }  /* アイコンは段の先頭（STEP の帯の横）にそろえる */
  .dg-route__name { margin-top: 0; }
  .dg-route__note { margin-top: 2px; }
  .dg-route__note br { display: none; }
  /* 関係図はスマホでは 2×2 にし、お客さまは上に置く */
  .dg-map__body { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .dg-map__lines { display: none; }
  body .dg-section--map + .pBusiness__strength { padding-top: 64px; }  /* スマホは次が写真から始まるので少し空ける */
  .dg-map__center { position: static; transform: none; order: -1; }
  .dg-map__nodes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; width: 100%; }
  .dg-map__node, .dg-map__node--1, .dg-map__node--2 { position: static; width: auto; flex-direction: column; transform: none; }
  .dg-map__node .dg-map__name { order: 1; margin: 10px 0 0; }
  .dg-map__node .dg-map__note { order: 2; margin: 4px 0 0; }
}
/* トップFV のキャッチコピー（FV指示書 §6-1）。PC は左の中央〜やや下、スマホは図の下 */
body .pTop__fv .pTop__fv--contents .fv-contents__copy { display: block; margin: 0 0 30vh; color: #fff;
  font-size: clamp(36px, calc(4.4 * var(--vw)), 68px); font-weight: 500; line-height: 1.32; letter-spacing: .02em; font-feature-settings: "palt";
  text-shadow: 0 2px 28px rgba(12, 58, 64, .22); }
.fv-line { display: block; white-space: nowrap; }
.fv-mark { position: relative; display: inline-block; }
/* 図の黄色い線と同じ色・光り方の下線 */
.fv-mark::after { content: ""; position: absolute; left: .05em; right: .55em; bottom: -.06em; height: max(3px, .075em); border-radius: 999px;
  background: var(--dg-yellow); box-shadow: 0 0 14px rgba(243, 227, 76, .85); transform-origin: left center; }
/* 行の出方（fv-motion.js が .fv-anim と is-l1〜3 を付ける。JS が動かないときは最初から全部見える） */
.fv-anim .fv-line { opacity: 0; clip-path: inset(100% -10% -40% -10%); transition: opacity .5s ease, clip-path .6s cubic-bezier(.2, .7, .2, 1); }
.fv-anim.is-l1 .fv-line--1, .fv-anim.is-l2 .fv-line--2, .fv-anim.is-l3 .fv-line--3 { opacity: 1; clip-path: inset(-20% -10% -40% -10%); }
.fv-anim .fv-mark::after { transform: scaleX(0); transition: transform .9s .35s cubic-bezier(.2, .7, .2, 1); }
.fv-anim.is-l3 .fv-mark::after { transform: scaleX(1); }
/* FV 下端の一文。PC はお知らせの左に並べる */
.fv-contents__lead { display: inline-block; margin-right: 40px; vertical-align: middle; color: #fff; font-size: var(--fs-s); font-weight: 500; letter-spacing: .08em; }
body .pTop__fv .pTop__fv--contents .fv-contents__news { display: inline-flex; vertical-align: middle; }
/* 事業の建物に重ねるリンク。文字の箱がリンクの邪魔をしないよう、FV の文字の箱はクリックを通す */
.fv-hotspots { position: absolute; inset: 0; pointer-events: none; }
.fv-hotspot { position: absolute; display: block; border-radius: 10px; pointer-events: auto; }
.fv-hotspot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body .pTop__fv .pTop__fv--contents { pointer-events: none; }
body .pTop__fv .pTop__fv--contents a { pointer-events: auto; }
@media (max-width: 896px) {
  .fv-contents__lead { display: block; margin: 0 0 14px; }
  body .pTop__fv .pTop__fv--contents .fv-contents__news { display: flex; justify-content: center; }
  body .pTop__fv .pTop__fv--contents .fv-contents__copy { margin-bottom: calc(11 * var(--vw)); font-size: clamp(26px, calc(8 * var(--vw)), 34px); line-height: 1.4; }
}
/* 横向きのスマホ: コピーは左、図は右（縦が足りないので、文字を小さくして左下にまとめる） */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 520px) {
  body .pTop__fv .pTop__fv--contents { left: calc(6 * var(--vw)); bottom: 18px; width: calc(46 * var(--vw)); text-align: left; transform: none; }
  body .pTop__fv .pTop__fv--contents .fv-contents__copy { margin-bottom: 16px; font-size: clamp(20px, 7.2vh, 28px); }
  body .pTop__fv .pTop__fv--contents .fv-contents__news { flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .fv-anim .fv-line { opacity: 1; clip-path: none; transition: none; }
  .fv-anim .fv-mark::after { transform: none; transition: none; }
}
/* FV 下端の一文とお知らせは、1439px までは今の大きさ（文字の幅が変わると、町の絵の置き場所も変わるため） */
@media (min-width: 897px) and (max-width: 1439px) {
  .pTop__fv .fv-contents__lead, .pTop__fv .news-details, .pTop__fv .news-title { font-size: 14px !important; }
}
/* PC 1440px〜: コピーを一段大きく、上に寄せる。1280〜1439px は今のまま（コピーを動かすと、町の絵の置き場所が足りなくなるため） */
@media (min-width: 1440px) {
  body .pTop__fv .pTop__fv--contents .fv-contents__copy {
    font-size: clamp(64px, calc(5.2 * var(--vw)), 84px);
    /* 下からの位置。高い画面ほど上へ（最大 40vh）、低い画面ではヘッダーにぶつからない所で止める */
    margin-bottom: min(40vh, max(14vh, calc(100vh - 600px)));
  }
}
/* §3 読みやすさ（B-1〜B-7）。main.css の最小値が 12px のものを、PC 14px・スマホ 13px 以上にする。
   セレクタは main.css と同じ深さに body を足して上書きする */
/* B-2 行間: 募集要項 */
body .pRecruit__requirement .pRecruit__requirement--contents .requirement-contents__info,
body .pRecruit__requirement .pRecruit__requirement--contents .requirement-contents__info.is-desc,
body .pRecruit__requirement .pRecruit__requirement--contents .requirement-contents__info .info-details .info-details__desc { line-height: 1.9; }
/* B-3 改行: 文節の途中で折り返さず、最後の行に1〜2文字だけ残らないようにする。
   どちらも親から引き継がれる性質で、main.css は word-break を指定していないので body に付ければ全体に効く */
body { text-wrap: pretty; word-break: auto-phrase; line-break: strict; }
.br-sp { display: none; }
/* B-5 お問い合わせフォーム: セレクトの矢印を CSS で描く／必須は「必須」のラベルにする */
body .cForm .cForm__select { padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230c3a40' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
body .cForm .cForm__required, body .pContact .pContact__info .pContact__info--text .cForm__required {
  position: static; top: auto; display: inline-block; margin: 0 0 0 .6em; padding: 2px 8px; border-radius: 3px;
  background: var(--dg-teal-deep); color: #fff; font-family: inherit; font-size: var(--fs-xs); font-weight: 500; line-height: 1.5;
  letter-spacing: .08em; vertical-align: .12em; }
body .pContact .pContact__info .pContact__info--text .cForm__required { margin: 0 .3em 0 0; }
.dg-no-sales { display: inline-block; margin-top: 6px; font-size: var(--fs-s); color: #3d5a5e; }

/* お問い合わせ（WordPress の Snow Monkey Forms）: 今のデザインのフォーム（cForm）と同じ見た目にする */
body .pContact .snow-monkey-form { font-size: 14px; color: #0d0c0c; }
body .pContact .snow-monkey-form .smf-form .smf-item { display: block; margin: 0 0 24px; padding: 0; border: 0; }
body .pContact .snow-monkey-form .smf-item__col { display: block; width: 100%; padding: 0; }
body .pContact .snow-monkey-form .smf-item__label { margin: 0 0 9px; font-size: 14px; font-weight: 500; line-height: 1.5; }
body .pContact .snow-monkey-form .smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  content: "必須"; display: inline-block; margin-left: .6em; padding: 2px 8px; border-radius: 3px;
  background: #1f7a83; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.5; vertical-align: 1px; }
body .pContact .snow-monkey-form :is(.smf-text-control__control, .smf-email-control__control, .smf-tel-control__control,
  .smf-select-control__control, .smf-textarea-control__control) {
  width: 100%; min-height: 47px; padding: 12px; border: 1px solid #0d0c0c; border-radius: 4px; background: #f9f9fa;
  color: #0d0c0c; font: inherit; font-size: 14px; box-shadow: none; }
body .pContact .snow-monkey-form .smf-textarea-control__control { height: 200px; resize: vertical; }
body .pContact .snow-monkey-form .smf-select-control { position: relative; display: block; width: 100%; }
body .pContact .snow-monkey-form .smf-select-control__control { appearance: none; padding-right: 44px;
  background: #f9f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230c3a40' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
body .pContact .snow-monkey-form .smf-select-control__toggle { display: none; }
body .pContact .snow-monkey-form :is(input, select, textarea):focus { outline: 2px solid #4bbdc8; outline-offset: 1px; }
body .pContact .snow-monkey-form .smf-checkbox-control { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
body .pContact .snow-monkey-form .smf-checkbox-control__control { width: 18px; height: 18px; accent-color: #1f7a83; }
body .pContact .snow-monkey-form .smf-item__description { margin-top: 6px; font-size: 13px; color: #3d5a5e; }
body .pContact .snow-monkey-form .smf-item__description a { color: #1f7a83; text-decoration: underline; }
body .pContact .snow-monkey-form .smf-error-messages { margin-top: 6px; color: #c0392b; font-size: 13px; }
body .pContact .snow-monkey-form { display: flex; flex-direction: column; }
body .pContact .snow-monkey-form .smf-form { order: 1; }
/* Cloudflare Turnstile（ロボット対策）のチェック欄は、送信ボタンのすぐ上・中央に */
body .pContact .snow-monkey-form .snow-monkey-forms-turnstile { order: 2; display: flex; justify-content: center; margin: 8px 0 0; }
body .pContact .snow-monkey-form .smf-action { order: 3; margin-top: 24px; text-align: center; }
body .pContact .snow-monkey-form .smf-button-control__control { width: 280px; max-width: 100%; height: 53px; padding: 0;
  border: 0; border-radius: 9999px; background: #0c3a40; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
body .pContact .snow-monkey-form .smf-button-control__control:hover { background: #1f7a83; }
body .pContact .snow-monkey-form .smf-complete-content, body .pContact .snow-monkey-form .smf-system-error-content { padding: 24px; border-radius: 12px; background: #e1f2f4; }
/* B-6 アクセス: PC は地図を住所の下に、幅いっぱい・高さ 320px で置く（スマホは元の配置のまま） */
@media (min-width: 897px) {
  body .pLocation__list .contents-map { width: 100%; margin-top: clamp(28px, calc(2.6 * var(--vw)), 40px); }
  body .pLocation__list .contents-map .google-map { aspect-ratio: auto; height: 320px; }
}
/* B-1 文字サイズ */
body .pPhilosophy__contents.policy-item .policy-item__details .details-desc,
body .pPhilosophy__contents.vision-item .vision-item__details .details-desc,
body .pRecruit__steatment .pRecruit__steatment--desc { font-size: clamp(14px, calc(16 * var(--mw) / var(--bw)), 18px); }
body .pRecruit__flow .pRecruit__flow--desc { font-size: clamp(14px, calc(15 * var(--mw) / var(--bw)), 16px); line-height: 1.8; }
body .pBusiness__other .pBusiness__other--item .other-item-head .other-item-head__desc { font-size: clamp(13px, calc(16 * var(--mw) / var(--bw)), 18px); line-height: 1.5; }
body .pLocation__list .contents-adress .contents-adress__number { font-size: clamp(14px, calc(14 * var(--mw) / var(--bw)), 16px); }
body .cBtn-main .cBtn-main--text.is-location { font-size: clamp(13px, calc(14 * var(--mw) / var(--bw)), 15px); }
body .pTop__news .pTop__news-item .news-item__data .news-item__data--time,
body .pArchive .pArchive__items .news-item__data .news-item__data--time,
body .pSingle .pSingle__details--date { font-size: clamp(13px, calc(14 * var(--mw) / var(--bw)), 16px); }
body .pRecruit__message .pRecruit__message--container .message-container__desc .message-container__desc--name .name-job { font-size: clamp(13px, calc(14 * var(--mw) / var(--bw)), 15px); }
body .pTop__business .pTop__business--contents .contents-info .contents-info__en,
body .pTop__strategy .pTop__strategy--contents .contents-text-en { font-size: clamp(13px, calc(13 * var(--mw) / var(--bw)), 15px); }
@media (max-width: 896px) {
  .br-sp { display: inline; }
  /* B-4 押しやすさ: 指で押すリンクは高さ 44px 以上。縦に並ぶものは高さを広げて間隔を詰め、見た目の間隔はほぼ変えない */
  body .lFooter .lFooter__nav .lFooter__nav--main,
  body .lFooter .lFooter__nav .lFooter__nav--sub li a,
  body .lFooter .lFooter__info .lFooter__info--nav .nav-items li a,
  body .pArchive .pArchive__info .pArchive__info--category .category-list .category-list__items a {
    display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  body .lFooter .lFooter__nav .lFooter__nav--sub li, body .lFooter .lFooter__info .lFooter__info--nav .nav-items li { margin-bottom: 0; }
  body .pArchive .pArchive__info .pArchive__info--category .category-list .category-list__items a { margin-bottom: 0; }
  .other-contents-img a { display: block; }  /* 写真全体を押せる範囲にする（インラインのままだと高さ 20px） */
  body .cBtn-icon { min-width: 44px; min-height: 44px; }
  /* 形を変えたくないボタンは、見えない押せる範囲を上下に広げる */
  body .cBtn-main, .fv-contents__news .news-details, .news-item__title a, body .pBusiness__other .pBusiness__other--item .other-item-head { position: relative; }
  body .cBtn-main::after, .fv-contents__news .news-details::after, .news-item__title a::after,
  body .pBusiness__other .pBusiness__other--item .other-item-head::after { content: ""; position: absolute; inset: -6px -2px; }
  /* B-3: 企業理念 Vision の見出しは「ラストワンマイルに、」を1行に収める */
  body .pPhilosophy__contents.vision-item .vision-item__details .details-title { font-size: clamp(20px, calc(6.4 * var(--vw)), 40px); line-height: 1.6; }
  /* B-3: トップ「Commerce & Support」が2行になったときの行間 */
  body .pTop__link .pTop__link--heading .cHeading-main .cHeading-main__en { line-height: 1.15; }
  /* B-3: 代表挨拶の見出しは、文ごとに行を分ける（「…地域／に信頼される」を防ぐ） */
  body .pMessage__container .contents-details .contents-details__title > span { display: block; }
  /* B-3: 「大切にしていること」が幅 320 でも1行に入る大きさ */
  body .pPhilosophy__contents.value-item .value-item__details .value-title { font-size: clamp(24px, calc(8 * var(--vw)), 30px); }
  body .pPhilosophy__contents .details-desc, body .pRecruit__steatment .pRecruit__steatment--desc { line-height: 1.9; }
}

/* ================================================================ 文字の大きさ（スマホ〜PC をここにまとめる）
   値は 02-tokens.css の --fs-*（PC は 897〜1279px と 1280px〜 の2段階）。main.css に勝つため !important を使う */
/* 本文・説明文: スマホは 14px（main.css の最小値 12px を引き上げる）、PC は --fs-m（16 / 17px） */
.pTop__link--desc, .pTop__company--desc, .pTop__news--desc, .contents-desc, .pTop__recruit--desc, .strength-details__desc, .head-desc, .value-list__details, .pPolicy__item--desc, .contents-adress__text, .tel-text, .hours-title { font-size: clamp(14px, calc(1.15 * var(--vw)), 16px) !important; line-height: 2; }
@media (min-width: 897px) {
  .contents-desc, .head-desc, .pTop__link--desc, .pTop__company--desc, .pTop__news--desc, .pTop__recruit--desc,
  .strength-details__desc, .pBusiness__info--desc, .desc-text, .details-desc, .contents-details__desc,
  .value-list__details, .requirement-contents__info, .info-details__desc, .pPolicy__item--desc, .pPolicy__desc {
    font-size: var(--fs-m) !important; line-height: 1.95 !important; letter-spacing: .06em !important;
  }
}
/* 英文のサブコピー */
.contents-info__en, .contents-text-en { font-size: max(13px, 1em); }
@media (min-width: 897px) { .contents-info__en, .contents-text-en { font-size: 15px !important; } }
/* 小さな文字（日付・カテゴリ・お知らせ・フッター）。B-1: スマホ 13〜14px・PC 15px。コピーライトは1行に収める */
.news-title, .news-details { font-size: var(--fs-s) !important; line-height: 1.6 !important; }
.news-item__data--category, .pSingle__details--category { font-size: var(--fs-s) !important; line-height: 1.5 !important; }
.lFooter__nav--sub a, .lFooter a { font-size: var(--fs-s) !important; }
.lFooter__info--copy { font-size: 13px !important; }
.cForm__privacy, .cForm__privacy a { font-size: var(--fs-s) !important; }
@media (min-width: 897px) {
  .news-item__data span, .news-item__data--category, .news-details, .news-title { font-size: 15px !important; }
  .lFooter__nav--sub a, .lFooter__nav--main, .nav-items a { font-size: 15px !important; }
  .lFooter__info--copy { font-size: 14px !important; }
}
/* ヘッダーのナビ・ボタン・強みの英字（PC）。.cHeading-main__en は事業名の大きな英字にも使われているので触らない */
@media (min-width: 897px) {
  .lheader__nav-item a, .menu-item__text { font-size: 15px !important; }
  .contact-link { font-size: 14px !important; }
  .strength-heading__en { font-size: 15px !important; }
  .cBtn-main--label { font-size: 16px !important; }
}
@media (min-width: 1280px) {
  .lheader__nav-item a, .menu-item__text { font-size: 16px !important; }
  .contact-link { font-size: 15px !important; }
}
@media (min-width: 1440px) {
  .lheader__nav-item a, .menu-item__text { font-size: 17px !important; }
  .contact-link { font-size: 16px !important; }
}
/* §4 昇華（C-3・C-4）: 貴瞬の黒を、DIGILICO のインク色にする。
   黄色は「お客さまに届く所」だけ: お問い合わせへ進むボタンに黄色の点を付ける */
/* 速度（BUDDICA と同じ工夫）: 日本語フォントは、端末に Noto Sans JP があればそれを使い、なければダウンロードする。
   Windows 11・Android は端末にあるので約 2.2MB×4 のダウンロードが要らない。フォント名は今のまま（main.css の定義を上書き） */
@font-face { font-family: "Noto Sans JP"; font-weight: 400; font-display: swap;
  src: local("Noto Sans JP Regular"), local("NotoSansJP-Regular"), local("Noto Sans CJK JP Regular"), local("NotoSansCJKjp-Regular"), url(../fonts/NotoSansJP-Regular.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 500; font-display: swap;
  src: local("Noto Sans JP Medium"), local("NotoSansJP-Medium"), local("Noto Sans CJK JP Medium"), local("NotoSansCJKjp-Medium"), url(../fonts/NotoSansJP-Medium.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 600; font-display: swap;
  src: local("Noto Sans JP SemiBold"), local("NotoSansJP-SemiBold"), url(../fonts/NotoSansJP-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 700; font-display: swap;
  src: local("Noto Sans JP Bold"), local("NotoSansJP-Bold"), local("Noto Sans CJK JP Bold"), local("NotoSansCJKjp-Bold"), url(../fonts/NotoSansJP-Bold.woff2) format("woff2"); }
/* ページ移動のつなぎ（@view-transition）は入れない: 貴瞬の main.js の読み込み演出と合わず、Chrome で
   「Transition was aborted because of invalid state」のエラーが毎回出たため（2026-11-20 確認） */
/* C-4 区切りの帯・フッター: #252525 → インク色。帯とフッターはこの変数を使っている */
:root { --color-black-light: #0c3a40; }
body .pOffice__other { background-color: #0c3a40; }
/* 企業理念「Our Story」: 深い水色（#1f7a83）の背景に白い文字（白との明るさの差 5.0。本文の基準 4.5 以上） */
body .pPhilosophy__strory { background-color: var(--dg-teal-deep, #1f7a83); }
body .pPhilosophy__strory .cInfiniteText .message-box .message-box__text { color: #fff; }
body .pPhilosophy__strory .dg-story-dot { display: inline-block; flex: none; width: 18px; height: 18px; margin: 0 48px; border-radius: 50%; background: var(--dg-yellow, #f3e34c); vertical-align: middle; }
body .pPhilosophy__strory .digilico-story, body .pPhilosophy__strory .pPhilosophy__strory--greeting .greeting-text { color: #fff; }
@media (max-width: 896px) { body .pPhilosophy__strory .dg-story-dot { width: 10px; height: 10px; margin: 0 20px; } }
/* その前の切り替わり（ブラインド）も同じ色で閉じる。空白が長く見えないよう高さを詰める */
body .pPhilosophy__blind { height: 36vh; }
body .pPhilosophy__blind .c-blind-layer__slit--black { background-color: var(--dg-teal-deep, #1f7a83); }
@media (max-width: 896px) { body .pPhilosophy__blind { height: 24vh; } }
.pSpeedLines #dg-speed-lines { display: block; width: 100%; height: 100%; }
body .lFooter-animation .cInfiniteText__item { color: #0c3a40; }  /* 縞の上を流れる大きな英字も帯と同じインク色に */  /* main.css の #js-speed-lines と同じ（線は speed-lines.js が描く） */
/* C-3 矢印ボタンと送信ボタン: 黒 → インク色、ホバーで濃いターコイズ（白いボタン .color-white はそのまま） */
body .cBtn-main .cBtn-main--circle, body .cBtn-icon { background-color: #0c3a40; border-color: #0c3a40; transition: background-color .3s ease, border-color .3s ease; }
body .cBtn-main:hover .cBtn-main--circle, body .cBtn-icon:hover, body a:hover .cBtn-icon { background-color: var(--dg-teal-deep); border-color: var(--dg-teal-deep); }
body .cBtn-main .cBtn-main--border { background-color: #0c3a40; }
body .cBtn-main.color-white .cBtn-main--circle { background-color: var(--color-white); border-color: var(--color-white); }
body .cBtn-main.color-white .cBtn-main--border { background-color: var(--color-white); }
body .cForm .cForm__submit { background-color: #0c3a40; transition: background-color .3s ease; }
body .cForm .cForm__submit:hover { opacity: 1; background-color: var(--dg-teal-deep); }
/* ナビの5項目の後ろに、丸いすりガラスの帯（BUDDICA を参考に。右の Contact ボタンと形をそろえる）。
   写真の上（白いナビ）は濃い色、明るい面の上（トップの FV・スクロール後）は白を敷く */
body .lheader .lheader__nav .lheader__nav-items { padding: 6px 22px; border-radius: 999px; background: rgb(255 255 255 / 45%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s ease; }
body .lheader.white-style:not(.is-scrolled) .lheader__nav .lheader__nav-items { background: rgb(12 58 64 / 28%); }
body:has(.pTop__fv) .lheader.white-style:not(.is-scrolled) .lheader__nav .lheader__nav-items { background: rgb(255 255 255 / 45%); }  /* トップの FV は明るく、ナビは濃い文字 */
/* C-3 ヘッダーの Contact: インク色で塗った、黄色の点つきのボタン（写真の上・スクロール後・トップでも同じ） */
body .lheader .lheader__nav .lheader__subNav-item .contact-link,
body .lheader.is-scrolled .lheader__subNav-item .contact-link,
body:has(.pTop__fv) .lheader:not(.is-scrolled) .lheader__subNav-item .contact-link {
  display: inline-flex; align-items: center; gap: 8px; color: #fff !important; background-color: #0c3a40 !important; border-color: #0c3a40 !important;
  transition: background-color .3s ease, border-color .3s ease; }
body .lheader .lheader__nav .lheader__subNav-item .contact-link:hover { background-color: var(--dg-teal-deep) !important; border-color: var(--dg-teal-deep) !important; }
body .lheader.white-style:not(.is-scrolled) .lheader__nav .lheader__subNav-item .contact-link { border-color: rgba(255, 255, 255, .7) !important; }
.lheader .contact-link::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dg-yellow); flex: none; }

/* C-5 文字サイズの段階は、02-tokens.css（表示する機器ごとの値）にまとめた */

/* C-5 セクション見出し（h2.cHeading-main）: 来訪者は日本語で読むので、日本語を主（24〜32px）にし、
   英字はその上の小さなラベル（ターコイズの丸つき）にする。ページ最上部のタイトル（h1）は今の「大きな英字＋小さな日本語」のまま */
body h2.cHeading-main { display: flex; flex-direction: column; align-items: flex-start; row-gap: 12px; }
body h2.cHeading-main .cHeading-main__en {
  order: -1; display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important;
  font-family: "General Sans", sans-serif; font-size: var(--fs-s) !important; font-weight: 500; line-height: 1.4 !important;
  letter-spacing: .12em !important; color: var(--dg-teal-deep); white-space: nowrap; }
body h2.cHeading-main .cHeading-main__en::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dg-teal); flex: none; }
body h2.cHeading-main .cHeading-main__en br { display: none; }
body h2.cHeading-main .cHeading-main__en span, body h2.cHeading-main .cHeading-main__en i {
  display: inline !important; margin: 0 !important; font-size: inherit !important; font-style: normal !important; font-weight: inherit !important; line-height: inherit !important; }
body h2.cHeading-main .cHeading-main__ja {
  display: block; font-size: var(--fs-h2) !important; font-weight: 500; line-height: 1.45 !important; letter-spacing: .06em !important; }
body h2.cHeading-main .cHeading-main__ja::before { content: none !important; }
body h2.cHeading-main.color-white .cHeading-main__en { color: #fff; }
body h2.cHeading-main .cHeading-main__en .text02 { margin-left: .35em !important; }  /* 「ICT & Support」 */
body h2.cHeading-main .cHeading-main__en .text02 i { margin-right: .3em !important; }

/* C-6 お困りごとから探す（トップ、FV のすぐ下）。修正依頼 第1回-4: 事業ごとのまとまり（見出し＋2つのお悩み）にする */
.dg-needs { position: relative; z-index: 1; padding: var(--dg-space-section) var(--dg-gutter) 0; background: var(--color-body, #f9f9fa); }
.dg-needs__lead { max-width: var(--dg-measure); margin-top: 20px; font-size: var(--fs-m); line-height: 1.9; letter-spacing: .04em; }
.dg-needs__groups { display: grid; grid-template-columns: repeat(var(--dg-cols-needs), 1fr); gap: var(--dg-gap); margin: calc(var(--dg-space-head) + 8px) 0 0; padding: 0; list-style: none; }
.dg-needs__group { display: flex; flex-direction: column; border: 1px solid #cfe7ea; border-radius: 16px; background: #fff; overflow: hidden; }
.dg-needs__div { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; background: var(--dg-tint); color: var(--dg-ink); }
.dg-needs__div .dg-badge { background: #fff; }
.dg-needs__en { display: block; font-family: "General Sans", sans-serif; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; color: var(--dg-teal-deep); }
.dg-needs__ja { display: block; font-size: var(--fs-m); font-weight: 500; letter-spacing: .06em; }
.dg-needs__items { flex: 1; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.dg-needs__items li + li { border-top: 1px solid #e3eff0; }
.dg-need { display: grid; grid-template-columns: auto 1fr auto; align-items: start; column-gap: 14px; height: 100%; padding: 18px 20px; color: var(--dg-ink);
  transition: background-color .25s ease; }
.dg-need .dg-badge { margin-top: 2px; }
.dg-need:hover { background: #f3fafb; }
.dg-need:focus-visible { outline: 2px solid var(--dg-teal-deep); outline-offset: -2px; }
.dg-need__title { display: block; font-size: var(--fs-card); font-weight: 500; line-height: 1.55; letter-spacing: .04em; }
.dg-need__note { display: block; margin-top: 6px; font-size: var(--fs-s); line-height: 1.75; color: #3d5a5e; }
.dg-need .dg-arrow { margin-top: 8px; color: var(--dg-teal-deep); }
.dg-need:hover .dg-arrow { animation: dg-arrow-swap .4s cubic-bezier(.25, .46, .45, .94); }
/* お問い合わせページ: ページのタイトルとフォームの幅（calc(90 * var(--vw))）にそろえ、フォームの前に置く */
.dg-needs--contact { width: calc(90 * var(--vw)); margin: clamp(48px, calc(8 * var(--vw)), 120px) auto 0; padding: 0; background: none; }
.dg-needs--contact .dg-need .dg-arrow { transform: rotate(90deg); }      /* 下のフォームへ */
#dg-form { scroll-margin-top: 110px; }                                   /* 移動したとき、上に固定されたヘッダーに隠れないように */
.dg-need.is-selected { background: var(--dg-tint); }
.dg-need.is-selected .dg-need__title { color: var(--dg-teal-deep); }
body .pContact .pContact__inner { margin-top: var(--dg-space-section); }
@media (max-width: 896px) {
  .dg-needs--contact { width: calc(84 * var(--vw)); }
  .dg-needs--contact .dg-need__note { display: none; }                    /* スマホはフォームまでが長くならないよう、補足は出さない */
  .dg-needs--contact .dg-need { padding: 14px 16px; }
}
.dg-needs__other { margin-top: 24px; font-size: var(--fs-s); line-height: 1.8; color: #3d5a5e; }
.dg-needs__other a { color: var(--dg-teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* 修正依頼 第1回-6 トップの「4つの事業」: 元のテーマの pTop__link の型（写真＋大きな英字、右の列を下げた互い違い）で4つ並べる */
.dg-divs__head { width: calc(90 * var(--vw)); margin: 0 auto calc(var(--dg-space-head) + 16px); }
.dg-divs__lead { max-width: var(--dg-measure); margin-top: 20px; font-size: var(--fs-m); line-height: 1.9; letter-spacing: .04em; }
body .dg-divs .pTop__link--item { row-gap: calc(7 * var(--vw)); }
body .dg-divs .pTop__link--items:last-child { margin-top: 0; }               /* 元は2つ目だけ下げる指定。4つでは右の列（偶数）を下げる */
body .dg-divs .pTop__link--items:nth-child(even) { margin-top: calc(8.2142857143 * var(--vw)); }
body .dg-divs .pTop__link--items:nth-child(n+3) { margin-top: calc(-1.5 * var(--vw)); }       /* 2段目は、1段目の互い違いを保ったまま詰める */
body .dg-divs .pTop__link--items:nth-child(4) { margin-top: calc(6.7 * var(--vw)); }
.dg-divs .pTop__link--img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dg-divs__num { margin-right: 1em; font-family: "General Sans", sans-serif; color: var(--dg-teal-deep); letter-spacing: .1em; }
.dg-divs__catch { margin-top: 18px; font-size: var(--fs-card); font-weight: 500; line-height: 1.6; letter-spacing: .06em; color: var(--dg-ink); }
body .dg-divs .pTop__link--desc { margin-top: 10px; max-width: 34em; font-size: var(--fs-s) !important; line-height: 2; }
@media (min-width: 897px) { body .dg-divs .pTop__link--desc { font-size: var(--fs-m) !important; } }
.dg-divs__svcs { margin-top: 14px; max-width: 34em; font-size: var(--fs-s); line-height: 1.9; color: var(--dg-teal-deep); letter-spacing: .04em; }
.dg-divs__svcs-label { display: inline-block; margin-right: 12px; padding: 1px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: var(--fs-xs); }
.dg-divs__btn { margin-top: 28px; }
@media (max-width: 896px) {
  .dg-divs__head { width: calc(80 * var(--vw)); }
  body .dg-divs .pTop__link--item { row-gap: calc(18 * var(--vw)); }
  body .dg-divs .pTop__link--items:nth-child(n) { margin-top: 0; }
  .dg-divs__btn { margin-top: 22px; }
}

/* C-7 ページの最後の「まずはご相談ください」（フッターの直前、全ページ） */
.dg-consult { position: relative; z-index: 1; padding: var(--dg-space-band) var(--dg-gutter); background: var(--dg-tint); color: var(--dg-ink); }
.dg-consult__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.dg-consult__lead { max-width: var(--dg-measure); margin-top: 20px; font-size: var(--fs-m); line-height: 1.9; letter-spacing: .04em; }
.dg-consult__shop { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: var(--fs-s); line-height: 1.7; color: var(--dg-teal-deep); }
.dg-consult__shop .dg-badge { flex: none; background: #fff; }
.dg-consult__action { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.dg-consult__btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 68px; padding: 0 36px; border-radius: 999px;
  background: var(--dg-ink); color: #fff; font-size: var(--fs-m); font-weight: 500; letter-spacing: .06em; transition: background-color .3s ease; }
.dg-consult__btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dg-yellow); flex: none; }
.dg-consult__btn:hover { background: var(--dg-teal-deep); }
.dg-consult__btn:focus-visible { outline: 2px solid var(--dg-teal-deep); outline-offset: 3px; }
.dg-consult__btn .dg-arrow { transition: transform .25s ease; }
.dg-consult__btn:hover .dg-arrow { animation: dg-arrow-swap .4s cubic-bezier(.25, .46, .45, .94); }
/* 矢印が右へ抜けて、左から入れ替わる（下線型のボタンがもともと持つ動きと同じ考え方。BUDDICA のボタンも同じ） */
@keyframes dg-arrow-swap {
  0% { transform: translateX(0); clip-path: inset(0); }
  45% { transform: translateX(14px); clip-path: inset(0 0 0 100%); }
  46% { transform: translateX(-14px); clip-path: inset(0 100% 0 0); }
  100% { transform: translateX(0); clip-path: inset(0); }
}
.dg-news--few .splide__slide--clone { display: none !important; }
.dg-news--few .splide__list { transform: none !important; }
.pTop__news:has(.dg-news--few) .pTop__news--arrow { display: none; }
.dg-consult__tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 20px; border-radius: 12px; background: #fff; }
.dg-consult__tel-label { width: 100%; font-size: var(--fs-s); color: var(--dg-teal-deep); }
.dg-consult__tel-num { font-size: 24px; font-weight: 500; letter-spacing: .06em; }
.dg-consult__hours { font-size: var(--fs-s); }
@media (max-width: 896px) {
  .dg-consult__inner { grid-template-columns: 1fr; gap: 28px; }
  .dg-consult__shop { align-items: flex-start; }
  .br-pc { display: none; }
}

/* C-8 事業ページの「ご相談から完了まで」と「料金の目安」。強みの下余白（160px）のすぐ後に続くので、上は 0、下は 160px */
.dg-plan { padding: 0 var(--dg-gutter) var(--dg-space-section); }
.dg-plan__inner { max-width: none; }
.dg-plan .dg-route { margin: calc(var(--dg-space-head) + 8px) 0 0; max-width: none; }
.dg-plan__note { margin-top: 16px; font-size: var(--fs-s); line-height: 1.8; color: #3d5a5e; }
.dg-price { width: 100%; margin-top: var(--dg-space-head); border-collapse: collapse; font-size: var(--fs-m); }
.dg-price th, .dg-price td { padding: 18px 20px; border-bottom: 1px solid #cfe7ea; text-align: left; line-height: 1.7; }
.dg-price thead th { background: var(--dg-tint); color: var(--dg-teal-deep); font-size: var(--fs-s); font-weight: 500; letter-spacing: .06em; }
.dg-price tbody th { font-weight: 500; background: var(--dg-tint); width: 34%; }  /* 項目名の列に薄い色（BUDDICA の情報表を参考に） */
.dg-price thead th:first-child { background: #d3ebee; }
.dg-price td { width: 26%; }
@media (max-width: 896px) {
  .dg-price thead { display: none; }
  .dg-price tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid #cfe7ea; }
  .dg-price th, .dg-price td { width: auto; padding: 0; border: 0; }
  .dg-price tbody th { grid-column: 1 / -1; margin-bottom: 4px; padding: 8px 12px; border-radius: 4px; width: auto; }
  .dg-price td::before { margin-right: 8px; font-size: var(--fs-s); color: var(--dg-teal-deep); }
  .dg-price td:nth-of-type(1)::before { content: "料金の目安"; }
  .dg-price td:nth-of-type(2)::before { content: "期間の目安"; }
  .dg-price td { grid-column: 1 / -1; }
}

/* C-9 実績の詳細: 要点と、2列の本文 */
.dg-facts--case { margin: 40px 0 0; }
/* 詳細ページの本文用スタイル（段落の大きな下余白・文字サイズ）を、要点と2列の中では打ち消す */
body .dg-facts--case p, body .dg-case dt, body .dg-case dd { margin: 0 !important; }
body .dg-facts--case .dg-facts__label { font-size: var(--fs-s) !important; line-height: 1.6 !important; }
body .dg-facts--case .dg-facts__value { line-height: 1.5 !important; }
.dg-facts--case .dg-facts__value { white-space: normal; font-size: clamp(15px, calc(1.2 * var(--vw)), 18px); }
.dg-case { margin: 40px 0 0; border-top: 1px solid #cfe7ea; }
.dg-case__row { display: grid; grid-template-columns: 200px 1fr; column-gap: 32px; padding: 28px 0; border-bottom: 1px solid #cfe7ea; }
.dg-case dt { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-m); font-weight: 500; letter-spacing: .06em; color: var(--dg-ink); }
.dg-case__num { font-family: "General Sans", sans-serif; font-size: var(--fs-s); color: var(--dg-teal-deep); }
.dg-case dd { font-size: var(--fs-m); line-height: 2; letter-spacing: .04em; }
@media (max-width: 896px) {
  .dg-case__row { grid-template-columns: 1fr; row-gap: 8px; padding: 22px 0; }
  /* 要点は1列に（2列だと「ICTソリューション」が途中で折れる） */
  body .dg-facts--case { grid-template-columns: 1fr; }
  body .dg-facts--case .dg-facts__item { border-left: 0 !important; border-top: 0; }
  body .dg-facts--case .dg-facts__item + .dg-facts__item { border-top: 1px solid #cfe7ea; }
  body .dg-facts--case .dg-facts__value { white-space: nowrap; }
}

/* C-10 動きの量を整える。main.js（編集しない）が付ける動きを、CSS で弱める・止める */
/* 本文の出現は「ふわっと出る」だけ: 強み・人物像の本文に付くマスク（clip-path）の動きを外し、透明度の変化だけ残す */
body .pBusiness__strength--txtItem, body .pRecruit__personality--txtItem { clip-path: none !important; }
/* 動きを減らす設定: FV 以外の、ひとりでに動くもの（流れる文字・写真のスライダーと帯）と、スクロールに合わせた視差・ぼかしを止める */
@media (prefers-reduced-motion: reduce) {
  .cInfiniteText__track { animation: none !important; }
  .pSlider__track, .infiniteSlider .splide__list { transform: none !important; }
  .img-parallax, .jsPageMvImg, .jsPageMvParallax, .jsMessageMvImg, .jsLocationMvImg { transform: none !important; }
  [class*="pTop__business--img"], .pBusiness__strength--txtItem, .pRecruit__personality--txtItem {
    filter: none !important; opacity: 1 !important; transform: none !important; }
  .dg-need, .dg-need .dg-arrow, .dg-consult__btn .dg-arrow, .dg-divcard__img img, .dg-divcard__more .dg-arrow { transition: none !important; transform: none !important; animation: none !important; }
}

/* 4つの事業（2026-11 再編）: 事業名の英字・各事業ページの新しいセクション */
.dg-div-en { font-family: "General Sans", sans-serif; font-weight: 500; letter-spacing: .06em; margin-right: .6em; white-space: nowrap; }
/* スマホのフッター: 事業名は長いので、2列にせず1行ずつ並べる（2列だと英字の途中で折り返す） */
@media (max-width: 896px) { .lFooter .business .lFooter__nav--sub li { width: 100%; } }
/* スマホのメニューも同じく、事業名は1行ずつ */
.mb-menu .mb-menu__items:has(a[href$="business/device/"]) .sub-link .sub-link__item { width: 100%; }
.dg-map__name .dg-div-en { display: block; margin: 0 0 2px; font-size: .8em; color: var(--dg-teal-deep); }  /* 関係図: 英字の上に、日本語名を1行で */
.dg-other-ja { display: block; margin-top: 8px; font-family: "Noto Sans JP", sans-serif; font-size: 14px; letter-spacing: .06em; }
.dg-div { padding: 0 var(--dg-gutter) var(--dg-space-section); }
.dg-div--worries { padding-top: calc(var(--dg-space-head) * 1.25); padding-bottom: 0; }  /* 下は、続く強みのセクションの上余白（160px）にまかせる */
.dg-div__lead { max-width: var(--dg-measure); margin-top: 20px; font-size: var(--fs-m); line-height: 1.9; letter-spacing: .04em; }
.dg-worries { display: grid; grid-template-columns: repeat(var(--dg-cols-worries), 1fr); gap: var(--dg-gap-s); margin: var(--dg-space-head) 0 0; padding: 0; list-style: none; }
.dg-worry { display: flex; align-items: stretch; gap: 14px; padding: 0; border: 1px solid #cfe7ea; border-radius: 12px; background: #fff;
  font-size: var(--fs-ms); line-height: 1.7; letter-spacing: .02em; }
.dg-worry .dg-badge { width: var(--dg-icon-s); height: var(--dg-icon-s); }
.dg-svcs { display: grid; grid-template-columns: repeat(var(--dg-cols-svcs), 1fr); gap: var(--dg-gap); margin-top: var(--dg-space-head); }
/* 事業ページ「その他の事業」: 写真の縦横比がそろっていなくても、同じ 3:2 の枠に切り抜く（DESIGN の写真だけ正方形に近い） */
body .pBusiness__other img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.dg-svc { padding: var(--dg-pad-card); border: 1px solid #cfe7ea; border-radius: 16px; background: #fff; }
/* カードが奇数枚のとき、最後の1枚を横いっぱいにして右側の空きをなくす（PCでは中の箇条書きを2列に） */
.dg-svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 897px) { .dg-svc:last-child:nth-child(odd) .dg-svc__list { columns: 2; column-gap: var(--dg-gap); } .dg-svc:last-child:nth-child(odd) .dg-svc__list > li { break-inside: avoid; } }
.dg-svc__title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-card); font-weight: 500; letter-spacing: .04em; }
.dg-svc__list { margin: 16px 0 0; padding: 0; list-style: none; }
.dg-svc__list li { position: relative; padding-left: 16px; font-size: var(--fs-s); line-height: 1.85; letter-spacing: .02em; }
.dg-svc__list li + li { margin-top: 8px; }
.dg-svc__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--dg-teal); }
.dg-cases { display: grid; grid-template-columns: repeat(var(--dg-cols-cases), 1fr); gap: var(--dg-gap); margin: var(--dg-space-head) 0 0; padding: 0; list-style: none; }
.dg-case-card { padding: var(--dg-pad-card); border-radius: 16px; background: var(--dg-tint); }
.dg-case-card__num { font-family: "General Sans", sans-serif; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; color: var(--dg-teal-deep); }
.dg-case-card__title { margin-top: 8px; font-size: var(--fs-card); font-weight: 500; line-height: 1.6; letter-spacing: .04em; }
.dg-case-card__text { margin-top: 12px; font-size: var(--fs-s); line-height: 1.9; letter-spacing: .02em; }
.dg-route__desc { max-width: 220px; margin: 10px auto 0; font-size: var(--fs-ms); line-height: 1.7; color: #2b4448; }
.dg-faq { margin-top: var(--dg-space-head); border-top: 1px solid #cfe7ea; }
.dg-faq__item { border-bottom: 1px solid #cfe7ea; }
.dg-faq__q { display: flex; align-items: center; gap: 14px; padding: 20px 4px; cursor: pointer; list-style: none; font-size: var(--fs-m); font-weight: 500; letter-spacing: .04em; }
.dg-faq__q::-webkit-details-marker { display: none; }
.dg-faq__q::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--dg-teal-deep); }
.dg-faq__item[open] .dg-faq__q::after { content: "−"; }
.dg-faq__q:focus-visible { outline: 2px solid var(--dg-teal-deep); outline-offset: 2px; }
.dg-faq__a { display: flex; gap: 14px; padding: 0 4px 22px; font-size: var(--fs-ms); line-height: 1.9; letter-spacing: .02em; }
.dg-faq__mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dg-ink); color: #fff; font-family: "General Sans", sans-serif; font-size: var(--fs-s); font-weight: 500; }
.dg-faq__mark--a { background: var(--dg-tint); color: var(--dg-ink); }
@media (max-width: 896px) {
  .dg-plan .dg-route__step .dg-badge { grid-row: span 4; }
  .dg-route__desc { max-width: none; margin: 4px 0 0; }
}

/* 事業ページの新しいセクションは、幅を止めずにヘッダーの左右の端（ロゴ〜Contact）にそろえる（--dg-gutter） */
/* その他の事業は3つになったので、PC は3列・スマホは写真と名前を横に並べた1列にする */
body .pBusiness__other .pBusiness__other--item { width: calc((100% - 2 * calc(1.4285714286 * var(--vw))) / 3); }
@media (max-width: 896px) {
  body .pBusiness__other .pBusiness__other--items { gap: 20px; }
  body .pBusiness__other .pBusiness__other--item { display: grid; grid-template-columns: 40% 1fr; gap: 0 16px; align-items: center; width: 100%; }
  body .pBusiness__other .pBusiness__other--item .other-item-img { margin-bottom: 0; }
  body .pBusiness__other .pBusiness__other--item .other-item-head__desc { margin-bottom: 6px; font-size: 12px; line-height: 1.5; }
  body .pBusiness__other .pBusiness__other--item .other-item-head__name { font-size: 22px; line-height: 1.2; }
  .dg-other-ja { margin-top: 4px; font-size: 12px; }
}

/* スマホの事業ページ FV: 縦長に切り抜くと写真の主役（手元・画面）が右に外れるので、見せる位置を右に寄せる */
@media (max-width: 896px) {
  .pBusiness__fv--bg img[src$="cld-fv.webp"] { object-position: 70% 50%; }
  .pBusiness__fv--bg img[src$="cre-fv.webp"] { object-position: 72% 50%; }
  .pBusiness__fv--bg img[src$="ofc-fv.webp"] { object-position: 78% 50%; }
}

/* スマホのトップ「採用」: 横長の写真のままだと高さ約170pxで、見出し（白文字）が写真の上にはみ出して見えなくなる。写真を縦に伸ばして文字を収める */
@media (max-width: 896px) {
  .pTop__recruit .pTop__recruit--inner img { width: 100%; height: max(400px, calc(110 * var(--vw))); object-position: 70% 50%; }
  .pTop__recruit .pTop__recruit--container { right: calc(8.5714285714 * var(--vw)); }
  .pTop__recruit .pTop__recruit--title { line-height: 1.5; }  /* 元は最小14px で、2行になると行が重なる */
}

/* 修正依頼 第1回-3: FV（写真・図）は画面に止まったまま白いシャッターが閉じる演出（main.js の pin）。閉じ終わってから
   次のセクションが下から来るまで、約1画面分のスクロールのあいだ画面全体が真っ白になっていた。次のセクションを約0.85画面ぶん上に重ね、
   シャッターが閉じる途中から、白い面の上に中身がせり上がってくるようにする（トップ・各事業ページ・採用） */
.pin-spacer:has(> .js-blind-section) + * { position: relative; z-index: 6; margin-top: -85vh; background-color: var(--color-body, #f9f9fa); }
/* 事業ページは「ステートメント」が短く、すぐ後の「お困りごと」まで上の写真の範囲に入る。同じように手前に出して背景を敷く */
.pin-spacer:has(> .js-blind-section) + .pBusiness__statement + .dg-div { position: relative; z-index: 6; background-color: var(--color-body, #f9f9fa); }
/* 修正依頼 第1回-6: Statement は元の型で 180px 上に重なる指定（前のセクションの余白に食い込ませる前提）。並べ替えた結果、
   直前の事業紹介の説明文（OFFICE は全文、DESIGN は一部）を隠していたので、重ねない */
body .pTop__statement { margin-top: 0; }
/* 事業紹介の写真（右下）は、セクションの下端から画面幅に比例してはみ出す（1440px で約250px）。写真はセクションの下端に
   合わせて動くので、次の「4つの事業」の側を、はみ出す分だけ下げる */
body .dg-divs { margin-top: calc(calc(18 * var(--vw)) + 24px); }
@media (max-width: 896px) { body .dg-divs { margin-top: var(--dg-space-head); } }
/* 修正依頼 第1回-7: 事業紹介ページの、上部の写真と「Business Model」の間（元は calc(17.86 * var(--vw)) ＝ 1440px で 257px）を、セクションの間の基準にそろえる */
body .pBusiness .pBusiness__model { margin-top: min(calc(17.8571428571 * var(--vw)), var(--dg-space-section)); }

/* C-11 余白のリズム: セクションの間は PC 160px・スマホ 96px を基本にする（元は画面幅に比例する 300px 前後）。
   関係図のすぐ後の強み（.dg-section--map + .pBusiness__strength）は、続きなので詰めたまま */
body .pBusiness__strength { padding-top: var(--dg-space-section); padding-bottom: var(--dg-space-section); }
body .pBusiness__other { margin-top: 0; }                 /* 強みの下余白と重ならないように */
body .pTop__business { margin-top: 50px; }                /* 内側の上余白（約110px）と合わせて約160px */
body .pTop__statement { padding-top: var(--dg-space-section); }            /* FV の上に重なってくるので、上に基準の余白 */
body .pTop__news { margin-top: var(--dg-space-section); }                 /* 元は calc(20 * var(--vw))（1440px で 288px）。お困りごとの後を基準の余白に */
/* ページの最後の内容と、相談の帯（C-7）の間は、全ページ同じ余白にする（本文 main の下に付け、各セクション側の下余白は外す） */
body:has(.dg-consult) main { padding-bottom: var(--dg-space-section) !important; }
body .pSingle { padding-bottom: 0; }
/* 最後の要素が持つ下の余白は外す（上の main の余白にそろえる） */
body:has(.dg-consult) main .pSingle__container > :last-child, body:has(.dg-consult) main .pOverview__heading:last-child,
body:has(.dg-consult) main > :last-child, body:has(.dg-consult) main .pPolicy__items:last-child { margin-bottom: 0 !important; }
body:has(.dg-consult) main .pRecruit__wrapper { padding-bottom: 0 !important; }  /* 採用ページ（スマホ）の最後の下余白 */
@media (max-width: 896px) {
  body .pBusiness__strength { padding-bottom: calc(var(--dg-space-section) / 2); }
  body .pBusiness__other { margin-top: calc(var(--dg-space-section) / 2); }
  body .pTop__business { margin-top: 64px; }
  body .pSingle { padding-bottom: 0; }
}

/* スマホのフッターを詰める（2026-11-24 案A）。PC は変えない。演出（ブラインド・流れる文字）は残し、長さだけ縮める */
@media (max-width: 896px) {
  body .lFooter-blind { height: 18vh; }                                    /* 切り替えの帯 50vh → 18vh */
  body .lFooter-contact { padding-block: 56px; }                           /* Let's talk! の帯（上下 187px → 56px） */
  body .lFooter-contact .cInfiniteText__item.footer-contact { font-size: 56px; }
  body .lFooter { padding-block: 44px 36px; }
  body .lFooter .lFooter__logo { margin-bottom: 32px; }
  body .lFooter .lFooter__item .lFooter__items { margin-bottom: 20px; }       /* メニューのグループの間（37px → 20px） */
  body .lFooter .lFooter__item .lFooter__items:last-child { margin-bottom: 0; }
  body .lFooter .lFooter__nav .lFooter__nav--main { margin-bottom: 0; }
  /* News・Recruit・Contact は1行に並べる（押せる高さ 44px はそのまま） */
  body .lFooter .lFooter__nav:not(:has(.lFooter__nav--sub)) { display: flex; flex-wrap: wrap; column-gap: 28px; }
  body .lFooter .lFooter__info { margin-top: 32px; }
  body .lFooter .lFooter__info .lFooter__info--nav { margin-bottom: 20px; }
  body .lFooter-animation .pSpeedLines { height: 220px; }                  /* Your Local IT Partner. の帯 */
  body .lFooter-animation .cInfiniteText__item.footer-animation { font-size: 96px; }
}
/* トップ「Works」: 枠ごとに写真の順番をずらす（A-6） */
.pSlider__track > .pSlider__item .pSlider__img { background: center / cover no-repeat; }
.pSlider__track > .pSlider__item:nth-child(3n+2) .pSlider__img img { opacity: 0; }
.pSlider__track > .pSlider__item:nth-child(3n+2) .pSlider__imgWrapper:nth-child(1) .pSlider__img { background-image: url(../img/photos/top-10.webp); }
.pSlider__track > .pSlider__item:nth-child(3n+2) .pSlider__imgWrapper:nth-child(2) .pSlider__img { background-image: url(../img/photos/top-11.webp); }
.pSlider__track > .pSlider__item:nth-child(3n+2) .pSlider__imgWrapper:nth-child(3) .pSlider__img { background-image: url(../img/photos/top-09.webp); }
.pSlider__track > .pSlider__item:nth-child(3n+3) .pSlider__img img { opacity: 0; }
.pSlider__track > .pSlider__item:nth-child(3n+3) .pSlider__imgWrapper:nth-child(1) .pSlider__img { background-image: url(../img/photos/top-11.webp); }
.pSlider__track > .pSlider__item:nth-child(3n+3) .pSlider__imgWrapper:nth-child(2) .pSlider__img { background-image: url(../img/photos/top-09.webp); }
.pSlider__track > .pSlider__item:nth-child(3n+3) .pSlider__imgWrapper:nth-child(3) .pSlider__img { background-image: url(../img/photos/top-10.webp); }

/* ================================================================ PC表示の上限（2026-11-22 案A）。文字の大きさは 02-tokens.css と 05-readability.css
   資料/01_進行中・要対応/PC表示の監査と修正案.md。画面が 1600px より広いときは、1600px の見た目のまま中央に置く。
   main.css と digilico.css の「数字vw」は、ビルドで calc(数字 * var(--vw)) に置き換えている（to_capped_vw） */

/* ---------------------------------------------------------------- 1. 横幅の上限 1600px */
:root {
  --vw: min(1vw, 16px);
  --mw: min(100vw, 1600px) !important;   /* main.js が画面幅を入れるので、上限で止める */
}
body { max-width: 1600px; margin-inline: auto; overflow-x: visible; }

/* 画面の端まで伸ばすもの（背景だけ外へ広げ、中身の位置はそのまま） */
.pTop__fv--bg, .pBusiness__fv--bg, .pSpeedLines {
  left: calc(50% - 50vw) !important; width: 100vw !important;
}
/* FV は overflow:hidden で切っているので、横だけ外へ出せるようにする（上下は今までどおり切る） */
.pTop__fv, .pBusiness__fv { overflow: visible !important; clip-path: inset(0 -100vmax); }
/* 画面に固定されている間（GSAP が position: fixed を付ける）だけ端まで出す。固定が外れて流れ始めたら、
   中身の幅（上限）で切る。外したままにすると、下のセクションとの隙間から左右に写真がのぞく */
.pTop__fv:not([style*="fixed"]), .pBusiness__fv:not([style*="fixed"]) { clip-path: inset(0); }
/* ただし、固定が始まる前（ページを開いた直後・いちばん上にいる間）は、端まで出しておく。
   切ったままだと、開いたときに左右が白く見える。
   - GSAP が動く前: まだ pin-spacer に包まれていない
   - 固定の前: GSAP は transform: translate(0px, 0px) を付ける（固定が終わって流れ始めると translate(0px, 数px) になる） */
:not(.pin-spacer) > .pTop__fv, :not(.pin-spacer) > .pBusiness__fv,
.pTop__fv[style*="translate(0px, 0px)"], .pBusiness__fv[style*="translate(0px, 0px)"] { clip-path: inset(0 -100vmax); }
/* 色の付いたセクションは、背景だけ画面の端まで塗る（border-image の外側への拡張。中身は切らない） */
.dg-consult { border-image: conic-gradient(#e1f2f4 0 0) fill 0 / / 0 100vmax; }
.lFooter-contact, .lFooter { border-image: conic-gradient(#0c3a40 0 0) fill 0 / / 0 100vmax; }
.pPhilosophy__strory { border-image: conic-gradient(#1f7a83 0 0) fill 0 / / 0 100vmax; }
/* 切り替わりのブラインド（ひらひら）: 画面の端から端までかける。中身の幅のままだと一部だけになり、
   その上のメニューバーの帯の幅も変わって見える */
.c-blind-layer { left: calc(50% - 50vw) !important; width: 100vw !important; }
/* メガメニュー（Company などに乗せると出る帯）: 画面に固定する帯なので、画面の左端から右端まで。
   横位置の指定がないと、ページの枠の左端から始まって右にはみ出す。中身はヘッダーと同じ幅で中央 */
.mega-menu { left: 0 !important; right: 0 !important; width: auto !important; }
/* FV（固定表示）の上に重なってくるセクションと、フッター前の帯は、元どおり画面の端まで覆う */
.pTop__statement, .pBusiness__statement, .dg-div--worries, .lFooter-blind {
  border-image: conic-gradient(#f9f9fa 0 0) fill 0 / / 0 100vmax;
}
/* 流れる文字・写真の帯は、画面の端から端まで流す */
.cInfiniteText:not(.recruit-text), .pBusiness__slider,
/* 代表挨拶・採用の、画面いっぱいの写真（スクロールで動く写真、円から広がる写真、斜めに流れる写真） */
.pRecruit__message--img, .pClipGrow__media, .pRecruit__imgSlider,
/* 採用ページ冒頭の写真 */
.pRecruit__mv--img,
/* 下層ページ冒頭の大きな写真・図（幅 100vw を左右 auto で中央に置く作りなので、ページの枠の中では左に寄ってしまう） */
.cAnimation__mv {
  width: 100vw !important; margin-left: calc(50% - 50vw) !important; max-width: none !important;
}


/* ---------------------------------------------------------------- 2. 説明文の1行の長さ（約38字。--dg-measure と同じ） */
@media (min-width: 897px) {
  .contents-desc, .pTop__link--desc, .strength-details__desc, .pBusiness__info--desc, .desc-text, .details-desc,
  .contents-details__desc, .value-list__details, .requirement-contents__info, .info-details__desc,
  .pPolicy__item--desc, .pPolicy__desc, .wp-block-paragraph, .dg-faq__a, .dg-svc__list { max-width: 38em; }
}

/* ---------------------------------------------------------------- 3. ページごとの手直し */
@media (min-width: 897px) {
  /* 事業ページの「強み」: 写真を少し小さく、文字の列を広く、強みどうしの間隔を詰める */
  .pBusiness__strength .pBusiness__strength--visual { width: calc(40 * var(--vw)); height: calc(40.6 * var(--vw)); }
  .pBusiness__strength .pBusiness__strength--content { width: calc(40 * var(--vw)); }
  .pBusiness__strength .pBusiness__strength--content .pBusiness__strength--txtItem { min-height: min(64vh, 620px); }
  .pBusiness__strength .pBusiness__strength--content .pBusiness__strength--txtItem .strength-details { margin-top: calc(4 * var(--vw)); }
  .pBusiness__strength .strength-details .strength-details__title { font-size: clamp(26px, calc(2 * var(--vw)), 32px) !important; }
  /* トップの「新着情報」: 説明文を見出しの下へ寄せる */
  .pTop__news .pTop__news--desc { margin-left: 0 !important; }
}
