@charset "UTF-8";
/* ==========================================================================
   第一自動車販売株式会社 コーポレートサイト／静的ページ共通スタイル
   - Bootstrap 5.3.3（bootstrap.min.css）を読み込んだ後に適用する
   - デザインの正：design_handoff_daiichi_car_site/第一自動車販売 コーポレートサイト.dc.html
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  --dc-navy: #182987;
  --dc-navy-dark: #0d1a52;
  --dc-navy-deep: #080f33;
  --dc-blue: #009FE8;
  --dc-blue-hover: #0080CB;
  --dc-blue-light: #7fd3f7;

  --dc-text: #333333;
  --dc-heading: #231815;
  --dc-gray: #6b7285;
  --dc-placeholder: #8792a8;

  --dc-bg-gray: #f5f7fa;
  --dc-border: #e6eaf2;
  --dc-border-strong: #d6dded;

  --dc-container: 1120px;
  --dc-gutter: 20px;

  --dc-font-head: 'Zen Kaku Gothic New', sans-serif;
  --dc-font-body: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
}

/* --------------------------------------------------------------------------
   2. ベース（Bootstrap Reboot の上書き）
   -------------------------------------------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body {
  font-family: var(--dc-font-body);
  color: var(--dc-heading);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

/* dc.html は本文の段落ほぼすべてに text-wrap: pretty を付けているが、外した（2026-10-09 手順7・ユーザー確認済み）。
   Safari（iPhone は全ブラウザ）は段落全体の行の長さを揃えようとするため、日本語だと全行が短くなり右側が大きく空く。
   Chrome は最後の数行を整えるだけで差がほぼ無い。見出しの text-wrap: balance は残している。戻さないこと */

/* 短いページ（完了・確認・404など）でもフッターを画面の下端に置く（2026-10-09 手順7・ユーザー確認済み）。
   中身が画面より短いときは本文（main）が伸びるので、フッターの下に白い余白が出ない。長いページの見た目は変わらない。
   body 直下でレイアウトに並ぶのはヘッダー・main・フッターだけ（スキップリンク・ドロワー・ページトップ・管理バーは位置固定） */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main {
  flex: 1 0 auto;
}

/* WP側でログイン中は、管理バーの分だけ html が下にずれるので、その分を引く（値は管理バーの高さ） */
.admin-bar {
  min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
  .admin-bar {
    min-height: calc(100vh - 46px);
  }
}

a {
  color: var(--dc-blue-hover);
  text-decoration: none;
}

a:hover {
  color: var(--dc-blue);
  text-decoration: underline;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

/* コンテナ（サイト全体 1120px で統一） */
.dc-container {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding-inline: var(--dc-gutter);
}

/* スクリーンリーダー専用 */
.dc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--dc-navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
}

.dc-skip:focus {
  left: 0;
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. アニメーション
   -------------------------------------------------------------------------- */
@keyframes dc-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* 水色の輪：dc.htmlは 24px／濃さ.35。目立たせるため 48px／.55 に拡大（途中の35%でまだ見える濃さを保つ） */
@keyframes dc-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 159, 232, .55);
  }
  35% {
    box-shadow: 0 0 0 30px rgba(0, 159, 232, .25);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 48px rgba(0, 159, 232, 0);
  }
  /* 輪が大きくなった分、縮む戻りが見えないよう、消えた直後に輪を内側へ戻す */
  51% {
    box-shadow: 0 0 0 0 rgba(0, 159, 232, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-hero-img,
  .dc-pentagon-core {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. ヘッダー（全ページ共通）
   -------------------------------------------------------------------------- */
.dc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 var(--dc-border);
}

/* WP側でログイン中に出る管理バー（黒い帯）の下にヘッダーが潜らないようにする。
   値はWordPress標準の管理バーの高さ。600px以下は管理バーがスクロールで流れるので0に戻す。
   静的ページには admin-bar クラスが付かないため影響しない */
.admin-bar .dc-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .dc-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .dc-header {
    top: 0;
  }
}

.dc-header-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: 14px var(--dc-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.dc-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-header-logo:hover {
  text-decoration: none;
}

.dc-header-logo img {
  width: min(270px, calc(100vw - 120px));
  height: auto;
  display: block;
}

.dc-gnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}

.dc-gnav a,
.dc-gnav button {
  border: 0;
  background: none;
  padding: 8px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dc-heading);
  text-decoration: none;
  font-family: inherit;
}

.dc-gnav a:hover,
.dc-gnav button:hover {
  color: var(--dc-blue);
  text-decoration: none;
}

.dc-gnav a.is-current,
.dc-gnav button.is-current {
  color: var(--dc-blue);
}

.dc-gnav-recruit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dc-gnav-caret {
  font-size: 10px;
  color: var(--dc-placeholder);
}

/* ハンバーガー */
.dc-hamburger {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.dc-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dc-navy);
}

/* 採用情報サブメニュー（PC） */
.dc-subnav {
  border-top: 1px solid var(--dc-border);
  background: var(--dc-bg-gray);
}

.dc-subnav[hidden] {
  display: none;
}

.dc-subnav-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: 16px var(--dc-gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
}

.dc-subnav-inner a {
  border: 1px solid var(--dc-border-strong);
  background: #fff;
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 14px;
  color: var(--dc-heading);
  text-decoration: none;
}

.dc-subnav-inner a:hover {
  border-color: var(--dc-blue);
  color: var(--dc-blue);
  text-decoration: none;
}

.dc-subnav-inner a.is-top {
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-subnav-inner a.is-top:hover {
  color: var(--dc-blue);
}

/* WP側：採用系ページでは今いるページの項目を強調（header.php が is-current を付ける。見た目は is-top と同じ） */
.dc-subnav-inner a.is-current {
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-subnav-inner a.is-current:hover {
  color: var(--dc-blue);
}

/* --------------------------------------------------------------------------
   5. モバイルドロワー（Bootstrap Offcanvas をデザインに合わせて上書き）
   -------------------------------------------------------------------------- */
.dc-drawer.offcanvas {
  width: min(82vw, 340px);
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .2);
  border: 0;
  padding: 20px 0;
}

/* WP側でログイン中は、管理バー（黒い帯）が画面最上端に重なり、閉じるボタン「×」が隠れる。
   ドロワーの上端を管理バーの高さだけ下げる（値はWordPress標準の管理バーの高さ）。
   600px以下も46pxのまま：管理バーはスクロールで流れるが、ページ最上部では表示されているため。
   静的ページには admin-bar クラスが付かないため影響しない */
.admin-bar .dc-drawer.offcanvas {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .dc-drawer.offcanvas {
    top: 46px;
  }
}

.dc-drawer .offcanvas-header {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 12px;
}

.dc-drawer-close {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--dc-navy);
  padding: 6px;
}

.dc-drawer .offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.dc-drawer-link {
  text-align: left;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dc-heading);
  border-bottom: 1px solid var(--dc-border);
  text-decoration: none;
}

.dc-drawer-link:hover {
  color: var(--dc-blue);
  text-decoration: none;
}

.dc-drawer-link.is-current {
  color: var(--dc-blue);
}

.dc-drawer-toggle {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.dc-drawer-toggle .dc-drawer-arrow {
  font-size: 11px;
  color: var(--dc-placeholder);
}

.dc-drawer-sub {
  background: var(--dc-bg-gray);
  border-bottom: 1px solid var(--dc-border);
}

.dc-drawer-sub[hidden] {
  display: none;
}

.dc-drawer-sub a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 24px 14px 40px;
  font-size: 15px;
  color: var(--dc-heading);
  text-decoration: none;
}

.dc-drawer-sub a:first-child {
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-drawer-sub a:hover {
  color: var(--dc-blue);
  text-decoration: none;
}

/* WP側：採用系ページでは、1つ目（採用情報トップ）の強調をやめて、今いるページの項目を強調する
   （header.php が has-current／is-current を付ける。静的ページには付かないので従来どおり1つ目が強調される）
   ※ 3つのルールは同じ強さなので、この順番（リセット → 現在地 → マウスオーバー）を崩さないこと */
.dc-drawer-sub.has-current a:first-child {
  font-weight: 400;
  color: var(--dc-heading);
}

.dc-drawer-sub.has-current a.is-current {
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-drawer-sub.has-current a:hover {
  color: var(--dc-blue);
}

.dc-drawer .offcanvas-backdrop,
.offcanvas-backdrop.show {
  background: rgba(8, 15, 51, .5);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. 下層ページ共通ヘッダー
   -------------------------------------------------------------------------- */
.dc-pagehead {
  background: var(--dc-navy);
  color: #fff;
  padding: clamp(48px, 6vw, 84px) var(--dc-gutter);
  position: relative;
  overflow: hidden;
}

.dc-pagehead-mark {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  height: 140%;
  opacity: .08;
  pointer-events: none;
}

.dc-pagehead-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
  position: relative;
}

.dc-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .02em;
  margin-bottom: 18px;
}

.dc-breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.dc-breadcrumb a:hover {
  color: var(--dc-blue-light);
  text-decoration: none;
}

.dc-pagehead h1 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. セクション共通パーツ
   -------------------------------------------------------------------------- */
.dc-section {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 96px) var(--dc-gutter);
}

.dc-section-gray {
  background: var(--dc-bg-gray);
  padding: clamp(48px, 6vw, 96px) var(--dc-gutter);
}

.dc-section-gray > .dc-section-body {
  max-width: var(--dc-container);
  margin-inline: auto;
}

/* 見出し（左にロゴマーク） */
.dc-h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
}

.dc-h2 img {
  height: 36px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.dc-h2 h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.4;
  color: var(--dc-navy);
  margin: 0;
  letter-spacing: .03em;
}

/* タグ（事業紹介・拠点で共用） */
.dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-tag {
  background: var(--dc-bg-gray);
  padding: 8px 14px;
  font-size: 12px;
  color: var(--dc-navy);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. HOME：ヒーロー
   -------------------------------------------------------------------------- */
.dc-hero {
  position: relative;
  overflow: hidden;
}

.dc-hero-img {
  width: 100%;
  height: clamp(480px, 64vw, 780px);
  object-fit: cover;
  display: block;
  animation: dc-kenburns 18s ease-out infinite alternate;
  transform-origin: center;
}

.dc-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(12px, 2.5vw, 36px);
}

.dc-hero-overlay > .dc-container {
  display: flex;
  justify-content: center;
}

.dc-hero-box {
  font-size: clamp(24px, 3.8vw, 50px);
  width: max-content;
  max-width: 96vw;
}

.dc-hero-kicker {
  display: block;
  background: var(--dc-navy);
  color: #fff;
  padding: 12px 28px;
  /* dc.htmlは.3em。タブレット幅で8〜10pxに縮むため下限12px（スマホと同じ） */
  font-size: max(.3em, 12px);
  /* 語の途中では改行しない */
  word-break: keep-all;
  letter-spacing: .14em;
  font-weight: 700;
  line-height: 1.6;
}

/* 721px以上：フレーズ（地名／企業／事業内容）単位でまとめて折り返し、
   「…保険・／ロードサービス…」のような途中切れを防ぐ。スマホは1フレーズが1行に収まらないため適用しない */
@media (min-width: 721px) {
  .dc-hero-kicker > span {
    display: inline-block;
  }
}

.dc-hero-catch {
  display: block;
  background: rgba(255, 255, 255, .88);
  color: var(--dc-navy);
  padding: .22em 28px 24px;
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 1em;
  line-height: 1.4;
  letter-spacing: .03em;
  word-break: keep-all;
  margin: 0;
}

.dc-hero-catch-title {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  margin: 0;
}

.dc-hero-lead {
  margin: 14px 0 0;
  font-family: var(--dc-font-body);
  /* dc.htmlは.32em。タブレット幅（721〜約1070px）で9px前後まで縮むため下限13px */
  font-size: max(.32em, 13px);
  font-weight: 500;
  line-height: 1.9;
  color: #1a1a1a;
  letter-spacing: 0;
}

.dc-hero-lead em {
  color: var(--dc-navy);
  font-size: 1.15em;
  font-weight: 700;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   9. HOME：5つの事業（五角形配置）
   -------------------------------------------------------------------------- */
.dc-biz-section {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 100px) var(--dc-gutter);
}

.dc-biz-section .dc-h2 {
  margin-bottom: 14px;
}

.dc-pentagon {
  position: relative;
  width: min(100%, 1180px);
  aspect-ratio: 1.22;
  margin-inline: auto;
}

.dc-pentagon-ring {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: min(48%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed #b9c2d6;
}

.dc-pentagon-core {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dc-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  animation: dc-pulse 3.2s ease-in-out infinite;
}

.dc-pentagon-core > span {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.6;
}

.dc-biz-card {
  position: absolute;
  left: var(--dc-x);
  top: var(--dc-y);
  transform: translate(-50%, -50%);
  width: min(30%, 340px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 41, 135, .08);
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
}

.dc-biz-card-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dc-biz-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-biz-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-biz-card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  font-size: inherit;
}

.dc-biz-card-name {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(18px, 1.9vw, 21px);
  color: var(--dc-navy);
  white-space: nowrap;
}

.dc-biz-card-brand {
  font-size: 14px;
  color: var(--dc-blue);
  font-weight: 700;
  letter-spacing: .04em;
}

.dc-biz-card-lead {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--dc-heading);
  line-height: 1.6;
}

.dc-biz-card-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. HOME：第一自動車販売の強み（3カラム／縦点線区切り）
   -------------------------------------------------------------------------- */
.dc-strength-section {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 100px) var(--dc-gutter);
}

.dc-strength-section .dc-h2 {
  margin-bottom: 48px;
}

.dc-strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 0;
  align-items: stretch;
}

.dc-strength-col:nth-child(1) {
  border-right: 1px dashed var(--dc-border-strong);
  padding-right: 48px;
}

.dc-strength-col:nth-child(2) {
  border-right: 1px dashed var(--dc-border-strong);
  padding: 0 48px;
}

.dc-strength-col:nth-child(3) {
  padding-left: 48px;
}

.dc-strength-col h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.5;
  color: var(--dc-navy);
  margin: 0 0 16px;
}

.dc-strength-col p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

/* STEP表示。デザイン指定は「1行に収める」。dc.html の値（gap:10px / padding:14px 18px /
   矢印15px）では1120pxコンテナでも56px溢れて末尾が切れるため、1行に収まるところまで
   詰めた上で、さらに狭い幅では切れずに折り返すようにしている。 */
.dc-flow {
  background: var(--dc-bg-gray);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 5px;
  padding: 14px 12px;
  margin-bottom: 18px;
}

.dc-flow span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-navy);
  white-space: nowrap;
  flex: 0 0 auto;
}

.dc-flow span.dc-flow-arrow {
  color: var(--dc-blue);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   11. HOME：最新情報＋採用CTAバナー
   -------------------------------------------------------------------------- */
.dc-bottom-grid {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 100px) var(--dc-gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.dc-news h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--dc-navy);
  margin: 0 0 28px;
}

.dc-news-item {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--dc-border);
  text-decoration: none;
  color: var(--dc-heading);
}

.dc-news-item:hover {
  color: var(--dc-heading);
  text-decoration: none;
}

.dc-news-item:hover .dc-news-title {
  color: var(--dc-blue);
}

.dc-news-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 6px;
}

.dc-news-date {
  font-size: 12px;
  color: var(--dc-placeholder);
  letter-spacing: .08em;
}

.dc-news-cat {
  background: var(--dc-navy);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
}

.dc-news-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.dc-news-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-navy);
  text-decoration: none;
}

.dc-news-more:hover {
  color: var(--dc-blue);
  text-decoration: none;
}

.dc-news-empty {
  padding: 18px 0;
  border-top: 1px solid var(--dc-border);
  font-size: 14px;
  line-height: 1.9;
  color: var(--dc-gray);
  margin: 0;
}

/* 読み込み中のスケルトン */
.dc-news-skeleton .dc-news-item {
  pointer-events: none;
}

.dc-skeleton-bar {
  display: block;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #eef1f6 0%, #e2e7f0 50%, #eef1f6 100%);
  background-size: 200% 100%;
  animation: dc-skeleton 1.4s ease-in-out infinite;
}

@keyframes dc-skeleton {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* 採用CTAバナー
   dc.htmlは写真を枠いっぱいの背景に敷く作りだが、枠が写真(4:3)より縦長のため左右が切れ、
   上部の紺の見出しが人物の頭に重なる。見出しの下に4:3の写真を並べる配置に変更（全幅共通） */
.dc-recruit-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: start;
  color: #fff;
  text-decoration: none;
}

.dc-recruit-banner:hover {
  color: #fff;
  text-decoration: none;
}

.dc-recruit-banner-img {
  order: 2;
  display: block;
  width: 100%;
  height: auto;
  /* 元画像は4:3。上部（ツリー・壁）を削って人物を大きく見せるため16:9で下端基準に切り抜く。
     後列の頭は画像の上から約33%の位置なので、上25%を削っても欠けない */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center bottom;
}

.dc-recruit-banner-body {
  order: 1;
  position: relative;
  background: var(--dc-navy);
  padding: clamp(14px, 1.8vw, 20px) clamp(24px, 4vw, 48px);
}

.dc-recruit-banner-body h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 24px);
  line-height: 1.5;
  margin: 0 0 12px;
  white-space: nowrap;
}

.dc-recruit-banner-body p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  max-width: 560px;
}

.dc-recruit-banner-btn {
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--dc-blue);
  color: #fff;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  border-radius: 2px;
  transition: background .2s;
}

.dc-recruit-banner:hover .dc-recruit-banner-btn {
  background: var(--dc-navy);
}

/* --------------------------------------------------------------------------
   12. 事業紹介
   -------------------------------------------------------------------------- */
.dc-bizblock {
  border-bottom: 1px solid var(--dc-border);
}

.dc-bizblock-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--dc-gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 56px;
  align-items: center;
}

.dc-bizblock-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}

.dc-bizblock-logo.is-small {
  height: 24px;
}

.dc-bizblock h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  color: var(--dc-navy);
  margin: 0 0 14px;
  white-space: nowrap;
}

.dc-bizblock-lead {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--dc-blue);
  margin-bottom: 18px;
  white-space: nowrap;
}

.dc-bizblock-desc {
  font-size: 15px;
  line-height: 2.1;
  color: var(--dc-text);
  margin: 0 0 24px;
}

/* スライダー（Bootstrap Carousel の上書き） */
.dc-slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eef1f6;
  border-radius: 16px;
}

.dc-slider .carousel-inner,
.dc-slider .carousel-item {
  height: 100%;
}

.dc-slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* クロスフェードを 1s に（Bootstrap 既定は .6s） */
.dc-slider.carousel-fade .carousel-item {
  transition: opacity 1s ease;
}

.dc-slider .carousel-control-prev,
.dc-slider .carousel-control-next {
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 41, 135, .55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 0;
  transition: background .2s;
}

.dc-slider .carousel-control-prev { left: 10px; }
.dc-slider .carousel-control-next { right: 10px; }

.dc-slider .carousel-control-prev:hover,
.dc-slider .carousel-control-next:hover {
  background: var(--dc-navy);
  opacity: 1;
}

.dc-slider .carousel-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dc-slider .carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  text-indent: 0;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
  opacity: 1;
  transition: background .2s;
}

.dc-slider .carousel-indicators .active {
  background: #fff;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   13. 会社情報
   -------------------------------------------------------------------------- */
.dc-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px 56px;
  align-items: start;
}

.dc-2col-main {
  grid-column: span 2;
  min-width: 0;
}

.dc-daihyo-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 20px;
}

.dc-daihyo-photo img,
.dc-photo-16x12 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-photo-16x12 {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
}

.dc-message-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
  color: var(--dc-navy);
  margin: 0 0 10px;
}

.dc-message-sub {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--dc-blue);
  margin: 0 0 26px;
  white-space: nowrap;
}

.dc-message-body {
  font-size: 15px;
  line-height: 2.15;
  color: var(--dc-text);
  margin: 0 0 20px;
}

.dc-message-body.is-last {
  margin-bottom: 26px;
}

.dc-message-sign {
  font-size: 14px;
  color: var(--dc-text);
  text-align: right;
}

.dc-message-sign strong {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--dc-heading);
}

/* MISSION / VISION */
.dc-mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.dc-mv {
  position: relative;
  padding: clamp(32px, 4.5vw, 52px);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.dc-mv-mission { background: var(--dc-navy); }
.dc-mv-vision  { background: var(--dc-blue); }

.dc-mv-deco {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.dc-mv-mission .dc-mv-deco { color: rgba(255, 255, 255, .1); }
.dc-mv-vision  .dc-mv-deco { color: rgba(255, 255, 255, .16); }

.dc-mv-body {
  position: relative;
  margin-top: clamp(90px, 10vw, 140px);
}

.dc-mv-body h3 {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.85;
  color: #fff;
  margin: 0 0 16px;
}

.dc-mv-body p {
  font-size: 14px;
  line-height: 2;
  margin: 0;
}

.dc-mv-mission .dc-mv-body p { color: rgba(255, 255, 255, .78); }
.dc-mv-vision  .dc-mv-body p { color: rgba(255, 255, 255, .9); }

/* 沿革タイムライン */
.dc-history {
  grid-column: span 2;
  min-width: 0;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--dc-border-strong);
  list-style: none;
  margin: 0;
}

.dc-history li {
  position: relative;
  padding: 0 0 32px;
}

.dc-history li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dc-blue);
  box-shadow: 0 0 0 4px #fff;
}

.dc-history-year {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--dc-navy);
  margin-bottom: 8px;
}

.dc-history-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dc-text);
}

/* 会社概要テーブル */
.dc-overview-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 44px 56px;
  align-items: start;
}

.dc-overview-table {
  min-width: 0;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}

.dc-overview-table th,
.dc-overview-table td {
  border-bottom: 1px solid #eef1f6;
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
}

.dc-overview-table th {
  width: 180px;
  min-width: 120px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-overview-table td {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dc-text);
  padding-left: 0;
}

/* --------------------------------------------------------------------------
   14. 拠点・アクセス
   -------------------------------------------------------------------------- */
.dc-access-list {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--dc-gutter);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.dc-location {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 48px;
  align-items: start;
  border-top: 3px solid var(--dc-navy);
  padding-top: 32px;
}

.dc-location h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--dc-navy);
  margin: 0 0 16px;
}

.dc-location-address {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 0 0 18px;
}

.dc-location-tel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--dc-text);
}

.dc-location-tel a {
  color: var(--dc-text);
  text-decoration: none;
}

.dc-location-tel a:hover {
  color: var(--dc-blue);
}

.dc-location .dc-tags {
  margin-top: 18px;
}

.dc-location-media {
  grid-column: span 2;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.dc-location-photo {
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f6;
}

.dc-location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-location-map {
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
}

.dc-location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   15. プライバシーポリシー
   -------------------------------------------------------------------------- */
.dc-privacy {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--dc-gutter);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.dc-privacy ol {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
  padding-left: 1.4em;
}

.dc-privacy h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--dc-navy);
  margin: 0 0 14px;
}

.dc-privacy p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

.dc-privacy-sign {
  border-top: 1px solid var(--dc-border);
  padding-top: 24px;
  font-size: 14px;
  color: var(--dc-gray);
  text-align: right;
}

/* --------------------------------------------------------------------------
   16. フッター（全ページ共通）
   -------------------------------------------------------------------------- */
.dc-footer {
  background: var(--dc-navy-dark);
  color: #fff;
  padding: clamp(48px, 6vw, 80px) var(--dc-gutter) 0;
}

.dc-footer-grid {
  max-width: var(--dc-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 48px;
  padding-bottom: 48px;
}

.dc-footer-logo {
  width: 250px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.dc-footer-address {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.dc-footer-address a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.dc-footer-address a:hover {
  color: var(--dc-blue-light);
}

/* 電話番号の途中で改行しない（「／」では改行してよい。2026-10-09 手順7） */
.dc-footer-address .dc-nowrap {
  white-space: nowrap;
}

.dc-footer-label {
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--dc-blue-light);
  letter-spacing: .16em;
  margin-bottom: 20px;
}

.dc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
}

.dc-footer-links a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.dc-footer-links a:hover {
  color: var(--dc-blue-light);
  text-decoration: none;
}

.dc-footer-bottom {
  max-width: var(--dc-container);
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

.dc-footer-bottom a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}

.dc-footer-bottom a:hover {
  color: var(--dc-blue-light);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   16-2. ページトップへ戻るボタン（全ページ共通）
   dc.htmlには無いパーツ。ユーザー要望で追加（矢印のみ・スマホでも表示）
   -------------------------------------------------------------------------- */
.dc-pagetop {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 55; /* ヘッダー(60)より下、本文より上。ドロワー表示中は背景に隠れる */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dc-navy);
  color: #fff;
  /* 紺のフッター上でも溶け込まないよう白の縁取り */
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(24, 41, 135, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}

.dc-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dc-pagetop:hover,
.dc-pagetop:focus-visible {
  background: var(--dc-blue);
  color: #fff;
  text-decoration: none;
}

.dc-pagetop:focus-visible {
  outline: 3px solid var(--dc-blue-light);
  outline-offset: 3px;
}

/* ボタンがフッター最下段（右端のプライバシーポリシー）に重ならないよう、
   コンテナ右端とボタンが近づく幅では最下段の下に余白を足す */
@media (max-width: 1219px) {
  .dc-footer-bottom {
    padding-bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-pagetop {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   WP-1. 最新情報（WordPress：一覧／記事詳細／月別・カテゴリアーカイブ）
   - テンプレート：wp-theme-dc-child/home.php・single.php・archive.php・parts/news-sidebar.php
   - デザインの正：dc.html の「最新情報」「最新情報詳細」「最新情報アーカイブ」
   - HOME の .dc-news-* とは寸法が違うので別クラスにしている
   - WP側の章は「17. レスポンシブ」より前に置く（後ろに置くとスマホ用の上書きが効かなくなるため）
   -------------------------------------------------------------------------- */

/* 本文＋右サイドバー（300px）の2カラム。求人情報でも同じ形を使う */
.dc-sidebar-layout {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--dc-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 56px;
  align-items: start;
}

.dc-sidebar-layout > * {
  min-width: 0;
}

/* 一覧の1行（日付・カテゴリ・タイトル） */
.dc-postlist-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid #dde3ee;
  text-decoration: none;
  color: var(--dc-heading);
}

.dc-postlist-item:hover {
  color: var(--dc-heading);
  text-decoration: none;
}

.dc-postlist-item:hover .dc-post-title {
  color: var(--dc-blue);
}

.dc-post-date {
  font: 13px ui-monospace, monospace;
  color: var(--dc-gray);
}

.dc-post-cat {
  background: var(--dc-navy);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
}

.dc-post-title {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  min-width: 200px;
}

/* アーカイブの「「◯◯」の記事一覧」 */
.dc-archive-note {
  font-size: 13px;
  color: var(--dc-placeholder);
  margin: 0 0 16px;
}

/* 記事詳細 */
.dc-post {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dc-post-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.dc-post-heading {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  margin: 0;
  color: var(--dc-navy);
}

.dc-post-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dc-post-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

/* 記事本文のブロック（見出し・リスト・表・引用・画像）。先方がブロックエディタで書く部品の見た目をサイトに揃える
   （2026-10-09 手順7。WP標準の黒い線などを上書き。見出しはプライバシーポリシーの h2 と同じ） */
.dc-post-body :is(h2, h3, h4, h5, h6) {
  font-family: var(--dc-font-head);
  line-height: 1.5;
  color: var(--dc-navy);
  margin: 12px 0 0;
}

.dc-post-body h2 {
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
}

.dc-post-body :is(h3, h4, h5, h6) {
  font-weight: 700;
  font-size: 17px;
}

.dc-post-body :is(ul, ol) {
  margin: 0;
  padding-left: 1.5em;
}

.dc-post-body li {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
}

.dc-post-body figure {
  margin: 0;
}

.dc-post-body img {
  max-width: 100%;
  height: auto;
}

.dc-post-body figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--dc-text);
}

.dc-post-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.dc-post-body .wp-block-table thead {
  border-bottom: 0;
}

.dc-post-body .wp-block-table :is(th, td) {
  border: 1px solid var(--dc-border-strong);
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dc-text);
  text-align: left;
  vertical-align: top;
}

.dc-post-body .wp-block-table th {
  background: var(--dc-bg-gray);
  color: var(--dc-navy);
  font-weight: 700;
}

.dc-post-body blockquote {
  margin: 0;
  padding: 16px 20px;
  border-left: 4px solid var(--dc-blue);
  background: var(--dc-bg-gray);
}

@media (max-width: 720px) {
  .dc-post-body .wp-block-table :is(th, td) {
    padding: 10px 12px;
    font-size: 14px;
  }
}

.dc-post-back {
  border-top: 1px solid var(--dc-border);
  padding-top: 24px;
}

.dc-post-back a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-navy);
  text-decoration: none;
}

.dc-post-back a:hover {
  color: var(--dc-blue);
}

/* サイドバー */
.dc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.dc-sidebar-h {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 15px;
  color: var(--dc-navy);
  margin: 0 0 12px;
}

.dc-sidebar-select {
  width: 100%;
  border: 1px solid var(--dc-border-strong);
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--dc-heading);
  background: #fff;
}

.dc-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-sidebar-links a {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid var(--dc-border);
  text-decoration: none;
  color: var(--dc-heading);
  font-size: 14px;
}

.dc-sidebar-links a:hover {
  color: var(--dc-blue);
}

/* --------------------------------------------------------------------------
   WP-2. アイコン（Font Awesome Free の SVG を、使う分だけ手元に置いて CSS の mask で表示）
   - Font Awesome Free by @fontawesome - https://fontawesome.com
     アイコン：CC BY 4.0 License（https://creativecommons.org/licenses/by/4.0/）
     SVG ファイル内のライセンス表記はそのまま残している（static-assets/images/icons/）
   - CDN からは読み込まない（サイトの方針。2026-10-05 ユーザー判断）
   - 色は文字色（currentColor）に合わせて変わる。大きさは font-size で決まる（1em 四方）
   - 名前の末尾が -regular のものは線のアイコン（Font Awesome の regular）、それ以外は塗りのアイコン（solid）
   -------------------------------------------------------------------------- */
.dc-icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--dc-icon) no-repeat center / contain;
  mask: var(--dc-icon) no-repeat center / contain;
}

.dc-icon-baby-carriage { --dc-icon: url(/static-assets/images/icons/baby-carriage.svg); }
.dc-icon-building { --dc-icon: url(/static-assets/images/icons/building.svg); }
.dc-icon-car { --dc-icon: url(/static-assets/images/icons/car.svg); }
.dc-icon-car-side { --dc-icon: url(/static-assets/images/icons/car-side.svg); }
.dc-icon-chalkboard-user { --dc-icon: url(/static-assets/images/icons/chalkboard-user.svg); }
.dc-icon-clock-regular { --dc-icon: url(/static-assets/images/icons/clock-regular.svg); }
.dc-icon-crown { --dc-icon: url(/static-assets/images/icons/crown.svg); }
.dc-icon-graduation-cap { --dc-icon: url(/static-assets/images/icons/graduation-cap.svg); }
.dc-icon-id-card-regular { --dc-icon: url(/static-assets/images/icons/id-card-regular.svg); }
.dc-icon-paper-plane { --dc-icon: url(/static-assets/images/icons/paper-plane.svg); }
.dc-icon-person { --dc-icon: url(/static-assets/images/icons/person.svg); }
.dc-icon-person-dress { --dc-icon: url(/static-assets/images/icons/person-dress.svg); }
.dc-icon-phone { --dc-icon: url(/static-assets/images/icons/phone.svg); }
.dc-icon-suitcase { --dc-icon: url(/static-assets/images/icons/suitcase.svg); }
.dc-icon-truck-pickup { --dc-icon: url(/static-assets/images/icons/truck-pickup.svg); }
.dc-icon-users { --dc-icon: url(/static-assets/images/icons/users.svg); }
.dc-icon-wrench { --dc-icon: url(/static-assets/images/icons/wrench.svg); }

/* --------------------------------------------------------------------------
   WP-3. 採用CTA（採用系ページの末尾。テンプレート：parts/recruit-cta.php）
   -------------------------------------------------------------------------- */
.dc-recruit-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: clamp(56px, 7vw, 104px) var(--dc-gutter);
}

.dc-recruit-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真の上に黒を重ねて文字を読みやすくする */
.dc-recruit-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.dc-recruit-cta-inner {
  position: relative;
  z-index: 1;
}

.dc-recruit-cta h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.45;
  margin: 0 0 22px;
}

.dc-recruit-cta p {
  font-size: 16px;
  line-height: 2;
  margin: 0 auto 36px;
  max-width: 620px;
  color: rgba(255, 255, 255, .95);
}

.dc-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ボタン2つは同じ高さ・同じ幅にそろえる（README 採用CTA） */
.dc-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(300px, 100%);
  padding: 16px 42px;
  border: 1px solid #fff;
  border-radius: 2px;
  letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}

.dc-cta-btn:hover {
  text-decoration: none;
}

.dc-cta-btn.is-outline {
  background: transparent;
  color: #fff;
}

.dc-cta-btn.is-outline:hover {
  background: #fff;
  color: var(--dc-navy);
}

.dc-cta-btn.is-solid {
  background: #fff;
  color: var(--dc-navy);
}

.dc-cta-btn.is-solid:hover {
  background: var(--dc-navy);
  border-color: var(--dc-navy);
  color: #fff;
}

.dc-cta-btn .dc-icon {
  font-size: 18px;
}

.dc-cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.5;
}

.dc-cta-btn-sub {
  font-size: 14px;
  font-weight: 500;
}

.dc-cta-btn-main {
  font-size: 19px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   WP-4. 採用：会社を知る（テンプレート：page-aboutus.php）
   - デザインの正：dc.html の「採用_会社を知る」
   - 画像は width/height 属性を入れているので、ここで height:auto を指定して縦横比を保つ
   -------------------------------------------------------------------------- */

/* 横幅いっぱいの写真 */
.dc-fullbleed {
  display: block;
  width: 100%;
  height: auto;
}

.dc-about-h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--dc-navy);
  margin: 0;
}

.dc-about-p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--dc-text);
  margin: 0;
}

/* 第一自動車販売について */
.dc-about-intro {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--dc-gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-about-intro .dc-about-h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.6;
}

.dc-about-intro .dc-about-p {
  line-height: 2.15;
}

.dc-about-sub {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--dc-blue);
  margin: 0;
}

.dc-about-intro-photo {
  margin-top: 32px;
}

/* 6つの事業・特徴（写真→見出し→本文の2列） */
.dc-about-blocks {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 88px) var(--dc-gutter) 0;
}

.dc-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px 40px;
}

.dc-about-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.dc-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-about-item h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--dc-navy);
  margin: 0 0 14px;
}

.dc-about-item p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--dc-text);
  margin: 0;
}

.dc-about-message {
  text-align: center;
  margin-top: 56px;
}

.dc-about-message h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--dc-navy);
  margin: 0 0 12px;
}

.dc-about-message p {
  font-size: 15px;
  color: var(--dc-text);
  margin: 0;
}

/* 集合写真は下の紺セクションと隙間なく続ける */
.dc-about-team-photo {
  margin-top: 56px;
}

/* 企業ミッション（紺背景） */
.dc-mission {
  background: var(--dc-navy);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) var(--dc-gutter);
}

.dc-mission-head {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dc-mission-label {
  font-size: 17px;
  color: var(--dc-blue-light);
  letter-spacing: .14em;
  font-weight: 700;
  margin: 0;
}

.dc-mission h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  max-width: 840px;
  margin: 0;
}

.dc-mission-lead {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .9);
  max-width: 840px;
  margin: 0 auto;
}

.dc-values-grid {
  max-width: var(--dc-container);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dc-value-card {
  background: rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 26px 22px;
}

.dc-value-card h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  margin: 0 0 12px;
}

.dc-value-card p {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

/* 私たちの約束 */
.dc-about-promise {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--dc-gutter) 0;
}

.dc-about-catch {
  font-size: 17px;
  color: var(--dc-blue);
  letter-spacing: .14em;
  font-weight: 700;
  margin: 16px 0 0;
}

.dc-about-promise-body {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-about-h3s {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--dc-navy);
  margin: 0;
}

.dc-about-promise-photo {
  margin-top: clamp(32px, 5vw, 56px);
}

/* 組織について */
.dc-about-org {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(32px, 4vw, 48px) var(--dc-gutter) 0;
}

.dc-about-org .dc-about-h2 {
  margin-bottom: 16px;
}

.dc-about-org .dc-about-p {
  line-height: 2;
  margin-bottom: 36px;
}

.dc-about-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--dc-navy);
  margin: 0 0 20px;
}

.dc-about-h3-gap {
  margin-top: 48px;
}

.dc-about-h3-gap-lg {
  margin-top: 56px;
}

.dc-about-org .dc-about-org-lead {
  margin-bottom: 32px;
}

/* グレーの角丸カード（事業部・組織。働く環境でも使う） */
.dc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.dc-card-gray {
  background: var(--dc-bg-gray);
  border-radius: 16px;
  padding: 28px 26px;
}

.dc-card-gray h4 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 17px;
  color: var(--dc-navy);
  margin: 0 0 14px;
}

.dc-card-gray p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--dc-text);
  margin: 0;
}

.dc-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--dc-text);
}

.dc-about-org-cards {
  margin-bottom: 32px;
}

.dc-about-org-cards h4 {
  margin-bottom: 16px;
}

.dc-about-orgchart {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}

.dc-about-orgchart img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   WP-5. 採用：働く環境（テンプレート：page-work.php）
   - デザインの正：dc.html の「採用_働く環境」。数値はすべてダミー
   - グラフは画像を使わず HTML/CSS で描く。棒の高さは各要素の style="--dc-bar:◯px"、
     円グラフの割合は style の background（conic-gradient）で渡す（手順4で入力欄の数値から作る）
   -------------------------------------------------------------------------- */
.dc-work {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--dc-gutter);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.dc-work-h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--dc-navy);
  margin: 0 0 28px;
}

.dc-work-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: -16px 0 28px;
}

.dc-work-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--dc-navy);
  margin: 0 0 16px;
}

.dc-work-h4 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--dc-navy);
  margin: 0 0 10px;
}

.dc-work-p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

.dc-work-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dc-work-body.is-tight {
  gap: 16px;
}

/* 数字のカード */
.dc-stats-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dc-stats-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dc-stat {
  background: var(--dc-bg-gray);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.dc-stat.is-tight {
  gap: 12px;
}

.dc-stat-label {
  background: var(--dc-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px;
}

.dc-stat-icon {
  font-size: 44px;
  color: var(--dc-blue);
}

.dc-stat-icon.is-navy {
  color: var(--dc-navy);
}

.dc-stat-people {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 40px;
  color: var(--dc-blue);
}

.dc-stat-people .is-navy {
  color: var(--dc-navy);
}

.dc-stat-value {
  font-family: var(--dc-font-head);
  font-weight: 900;
  color: var(--dc-heading);
}

.dc-stat-value.is-19 { font-size: 19px; }
.dc-stat-value.is-22 { font-size: 22px; }
.dc-stat-value.is-24 { font-size: 24px; }
.dc-stat-value.is-26 { font-size: 26px; }
.dc-stat-value.is-28 { font-size: 28px; }
.dc-stat-value.is-34 { font-size: 34px; }

.dc-stat-unit {
  font-size: 13px;
  font-weight: 700;
}

.dc-stat-unit.is-u14 { font-size: 14px; }
.dc-stat-unit.is-u16 { font-size: 16px; }
.dc-stat-unit.is-heavy { font-weight: 900; }

/* 数値のすぐ下の補足（数値とひとまとまり） */
.dc-stat-note {
  font-size: 13px;
  color: var(--dc-text);
  margin: 4px 0 0;
}

/* カード下部の説明文 */
.dc-stat-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 0;
}

/* 売上額推移の棒グラフ */
.dc-chart-sales {
  display: flex;
  gap: 14px;
  padding: 0 8px;
}

.dc-chart-sales-col {
  width: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dc-chart-sales-col > span {
  font-size: 10px;
  color: var(--dc-placeholder);
}

.dc-chart-sales-col.is-top > span {
  color: var(--dc-blue);
  font-weight: 700;
}

.dc-chart-sales-area {
  position: relative;
  height: 64px;
  display: flex;
  align-items: flex-end;
}

.dc-chart-sales-bar {
  width: 16px;
  height: var(--dc-bar);
  background: #c7d0e6;
  border-radius: 2px;
}

.dc-chart-sales-col.is-top .dc-chart-sales-bar {
  background: var(--dc-blue);
}

.dc-chart-crown {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #f5b942;
}

/* 年齢比率の円グラフと凡例 */
.dc-chart-donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
}

.dc-chart-legend {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 20px;
  font-size: 12px;
  color: var(--dc-text);
  text-align: left;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.dc-chart-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dc-chart-swatch {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 2px;
}

/* 職種比率の棒グラフ */
.dc-chart-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.dc-chart-roles li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.dc-chart-roles-area {
  display: flex;
  align-items: flex-end;
  height: 64px;
}

.dc-chart-roles-bar {
  position: relative;
  width: 20px;
  height: var(--dc-bar);
  background: var(--dc-blue);
  border-radius: 4px 4px 0 0;
}

.dc-chart-roles-pct {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--dc-navy);
  white-space: nowrap;
}

.dc-chart-roles-name {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dc-navy);
  white-space: nowrap;
}

/* 各種諸手当のカード（会社を知るのカードより少し小さめ） */
.dc-card-grid.is-compact {
  gap: 20px;
}

.dc-card-grid.is-compact .dc-card-gray {
  padding: 26px 24px;
}

.dc-card-grid.is-compact .dc-card-gray h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.dc-card-grid.is-compact .dc-card-gray p {
  font-size: 13px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   WP-6. 採用：募集職種（一覧：page-occupation.php／職種詳細：parts/occupation-detail.php）
   - デザインの正：dc.html の「採用_募集職種」「採用_職種詳細」
   - 職種のタブは各職種のページへのリンク。今いる職種は紺の塗り（dc.html にはタブの選択中の見た目が無いため追加）
   -------------------------------------------------------------------------- */

/* 一覧：5職種のカード */
.dc-occ-list {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--dc-gutter);
}

.dc-occ-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-occ-cards > li {
  display: flex;
}

.dc-occ-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dc-border);
  border-radius: 16px;
  overflow: hidden;
  color: var(--dc-heading);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.dc-occ-card:hover {
  color: var(--dc-heading);
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(24, 41, 135, .12);
}

.dc-occ-card-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f6;
}

.dc-occ-card-photo img,
.dc-occ-photo img,
.dc-occ-step-photo img,
.dc-occ-voice-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-occ-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 28px;
}

.dc-occ-card-body h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 19px;
  color: var(--dc-navy);
  margin: 0;
  white-space: nowrap;
}

.dc-occ-card-desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.95;
  color: var(--dc-text);
  margin: 0;
}

.dc-occ-card-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-blue-hover);
}

/* 職種詳細：タブ */
.dc-occ-tabs-wrap {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: 0 var(--dc-gutter);
}

.dc-occ-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--dc-border);
}

.dc-occ-tabs a {
  border: 1px solid var(--dc-border-strong);
  background: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-heading);
  text-decoration: none;
}

.dc-occ-tabs a:hover {
  border-color: var(--dc-blue);
  color: var(--dc-blue);
  text-decoration: none;
}

.dc-occ-tabs a.is-current {
  background: var(--dc-navy);
  border-color: var(--dc-navy);
  color: #fff;
}

/* 職種詳細：本文 */
.dc-occ {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) var(--dc-gutter);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.dc-occ-h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--dc-navy);
  margin: 0 0 12px;
}

.dc-occ-h2.is-spaced {
  margin-bottom: 28px;
}

.dc-occ-lead {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--dc-blue);
  margin: 0 0 32px;
}

.dc-occ-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.dc-occ-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--dc-navy);
  margin: 0 0 20px;
}

.dc-occ-h3.is-tight {
  margin-bottom: 16px;
}

.dc-occ-p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

.dc-occ-intro {
  margin-bottom: 24px;
}

/* 魅力・向いている人の箇条（左に水色の線） */
.dc-occ-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-occ-points li {
  border-left: 2px solid var(--dc-blue);
  padding-left: 18px;
}

.dc-occ-points h4 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--dc-navy);
  margin: 0;
}

.dc-occ-points p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--dc-text);
  margin: 8px 0 0;
}

.dc-occ-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f6;
}

/* 一日の流れ（時刻｜内容｜写真） */
.dc-occ-schedule {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-occ-schedule li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
}

.dc-occ-time {
  font: 700 15px ui-monospace, monospace;
  color: var(--dc-blue);
}

.dc-occ-schedule h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--dc-navy);
  margin: 0;
}

.dc-occ-schedule p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 8px 0 0;
}

.dc-occ-step-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f6;
}

.dc-occ-step-photo.is-empty {
  background: repeating-linear-gradient(135deg, #eef1f6 0 8px, #e3e8f0 8px 16px);
}

/* スタッフメッセージ */
.dc-occ-voice {
  background: var(--dc-bg-gray);
  border-radius: 16px;
  padding: 32px 28px;
}

.dc-occ-2col.is-voice {
  gap: 40px;
}

.dc-occ-2col.is-voice + .dc-occ-2col.is-voice {
  margin-top: 36px;
}

.dc-occ-voice-name {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 20px;
  color: var(--dc-navy);
  margin: 0 0 8px;
}

.dc-occ-voice-role {
  font-size: 13px;
  line-height: 1.9;
  color: var(--dc-gray);
  margin: 0 0 24px;
}

.dc-occ-qa {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dc-occ-qa h4 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--dc-heading);
  margin: 0 0 10px;
}

.dc-occ-qa p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

.dc-occ-voice-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e3e8f0;
}

/* 締めのメッセージ */
.dc-occ-closing {
  background: var(--dc-bg-gray);
  border-radius: 16px;
  padding: 36px 30px;
  text-align: center;
}

.dc-occ-closing h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--dc-navy);
  margin: 0 0 16px;
}

.dc-occ-closing p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

/* 選考フロー（5職種共通） */
.dc-occ-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-occ-flow li {
  background: var(--dc-bg-gray);
  border-radius: 16px;
  padding: 26px 22px;
}

.dc-occ-flow-no {
  display: block;
  font: 700 11px ui-monospace, monospace;
  color: var(--dc-blue);
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.dc-occ-flow h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--dc-navy);
  margin: 0 0 10px;
}

.dc-occ-flow p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 0;
}

.dc-occ-jobs-link {
  text-align: center;
  margin-top: 36px;
}

.dc-occ-jobs-btn {
  display: inline-block;
  border: 1px solid var(--dc-navy);
  background: #fff;
  color: var(--dc-navy);
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.dc-occ-jobs-btn:hover {
  background: var(--dc-navy);
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   WP-7. 採用：採用情報トップ（広告LP。テンプレート：page-recruit.php）
   - デザインの正：dc.html の「採用情報トップ（広告LP）」
   - 募集職種のカードは WP-6 のクラス（.dc-occ-cards ほか）をそのまま使う
   -------------------------------------------------------------------------- */

/* セクション見出し（サイズ・下余白は dc.html どおりセクションごとに違う） */
.dc-rtop-h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--dc-navy);
  margin: 0 0 44px;
}

.dc-rtop-h2.is-sm {
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 28px;
}

.dc-rtop-h2.is-ceo {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 28px;
}

.dc-rtop-h2.is-occ {
  margin-bottom: 12px;
}

/* ボタン（白地に紺の線 → マウスオーバーで紺地に白） */
.dc-rbtns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.dc-rbtn {
  display: inline-block;
  border: 1px solid var(--dc-navy);
  background: #fff;
  color: var(--dc-navy);
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.dc-rbtn:hover {
  background: var(--dc-navy);
  color: #fff;
  text-decoration: none;
}

.dc-rbtn.is-lg {
  padding: 18px 64px;
  font-size: 15px;
  letter-spacing: .06em;
}

/* ヒーロー（PC：写真の左上に半透明の紺ボックス） */
.dc-rhero {
  position: relative;
  background: var(--dc-navy-dark);
  overflow: hidden;
}

.dc-rhero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vw;
  object-fit: cover;
  object-position: top;
}

.dc-rhero-caption {
  position: absolute;
  top: clamp(28px, 5vw, 56px);
  left: 0;
  padding: 14px 20px;
  max-width: min(92%, 680px);
}

.dc-rhero-box {
  display: inline-block;
  background: rgba(13, 26, 82, .72);
  padding: 22px 28px;
}

.dc-rhero-label {
  font-size: 15px;
  color: var(--dc-blue-light);
  letter-spacing: .14em;
  font-weight: 700;
  margin: 0 0 14px;
}

.dc-rhero h1 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.28;
  letter-spacing: .01em;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 紺帯のリード */
.dc-rlead {
  background: var(--dc-navy);
  padding: clamp(28px, 4vw, 44px) var(--dc-gutter);
}

.dc-rlead-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
}

.dc-rlead-catch {
  font-family: var(--dc-font-head);
  font-weight: 700;
  color: var(--dc-blue-light);
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.5;
  margin: 0 0 14px;
}

.dc-rlead-text {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.9;
  margin: 0;
}

/* 最新求人情報 */
.dc-rjobs {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--dc-gutter);
}

/* 列の数は固定（PC 3列・900px以下 2列・720px以下 1列）。求人が少なくてもカードが横に広がらないように（2026-10-08 ユーザー指定） */
.dc-rjobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-rjob {
  border: 1px solid var(--dc-border);
  border-radius: 16px;
  overflow: hidden;
}

/* 写真枠（アイキャッチ画像が無い求人は、デザインどおりの斜線模様のまま） */
.dc-rjob-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #eef1f6 0 8px, #e3e8f0 8px 16px);
}

.dc-rjob-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(35, 24, 21, .65);
  color: #fff;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 2px;
}

/* 写真枠の中の求人写真（アイキャッチ画像。枠いっぱいにトリミング。2026-10-08 手順5-2） */
.dc-rjob-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-rjob-body {
  padding: 22px 22px 26px;
}

.dc-rjob-body h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dc-navy);
  margin: 0 0 16px;
}

.dc-rjob-spec {
  margin: 0;
}

.dc-rjob-spec > div {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--dc-border);
}

.dc-rjob-spec dt {
  flex: none;
  width: 52px;
  font-size: 12px;
  font-weight: 400;
  color: var(--dc-placeholder);
}

.dc-rjob-spec dd {
  font-size: 13px;
  line-height: 1.8;
  color: var(--dc-heading);
  margin: 0;
}

/* 仕事内容は3行までで「…」と省略（全文は詳細ページ。2026-10-09 手順7） */
.dc-rjob-spec dd.is-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* メッセージ（ロゴ・傾けた写真・ボタン2つ） */
.dc-rmsg {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(56px, 7vw, 104px) var(--dc-gutter);
  text-align: center;
}

.dc-rmsg-h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.6;
  color: var(--dc-navy);
  margin: 0 0 30px;
}

.dc-rmsg-sub {
  color: var(--dc-blue);
  font-size: .55em;
}

.dc-rmsg-logo {
  display: block;
  width: 380px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px;
}

.dc-rmsg-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--dc-navy);
  margin: 0 0 20px;
}

.dc-rmsg-p {
  font-size: 16px;
  line-height: 2.2;
  color: var(--dc-text);
  margin: 0;
}

/* 写真は下のボタンの上にかぶさる位置まで下げる（dc.html の margin-bottom:-90px） */
.dc-rmsg-photo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 56px 0 -90px;
}

.dc-rmsg-photo {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(24, 41, 135, .18);
  transform: rotate(-2.5deg);
}

.dc-rmsg-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dc-rbtns.is-msg {
  margin-top: 140px;
}

/* 私たちの5つの特徴 */
.dc-rconcepts {
  background: var(--dc-bg-gray);
  padding: clamp(56px, 7vw, 104px) var(--dc-gutter);
}

.dc-rconcepts-inner {
  max-width: var(--dc-container);
  margin-inline: auto;
}

.dc-rconcepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-rconcept {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.dc-rconcept-photo {
  aspect-ratio: 16 / 10;
  background: #eef1f6;
}

.dc-rconcept-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-rconcept-body {
  padding: 26px 24px 30px;
}

.dc-rconcept-body h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dc-navy);
  margin: 0 0 14px;
}

.dc-rconcept-body p {
  font-size: 14px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

/* 代表メッセージ（PC：写真1：本文2） */
.dc-rceo {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 104px) var(--dc-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 44px 56px;
  align-items: start;
}

.dc-rceo-photo {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
}

.dc-rceo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-rceo-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.7;
  color: var(--dc-navy);
  margin: 0 0 24px;
}

.dc-rceo-body p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--dc-text);
  margin: 0 0 20px;
}

.dc-rceo-body .dc-rceo-sign {
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0 0;
}

.dc-rceo-sign span {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--dc-heading);
}

/* 募集職種（カードは WP-6。ここでは見出しが h3 になるので同じ見た目を当てる） */
.dc-roccs {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 104px) var(--dc-gutter);
}

.dc-occ-card-body h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 19px;
  color: var(--dc-navy);
  margin: 0;
  white-space: nowrap;
}

/* WP-4：721px以上はミッション本文を960pxまで広げる（見出しは840pxのまま） */
@media (min-width: 721px) {
  .dc-mission-lead {
    max-width: 960px;
  }
}

/* --------------------------------------------------------------------------
   WP-8. 採用：求人情報（一覧：archive-jobs.php／詳細：single-jobs.php／サイドバー：parts/jobs-sidebar.php）
   - デザインの正：dc.html の「求人情報」「求人情報詳細」
   - 2カラムは WP-1 の .dc-sidebar-layout、サイドバーの見出しは .dc-sidebar-h を使う
   - 一覧のカードは WP-7 の .dc-rjob 系を使い、リンク・ホバー・見出し h2 の分だけ足す
   -------------------------------------------------------------------------- */

/* 一覧：カードのグリッド（PC 2列・900px以下 1列。求人が少なくてもカードが横に広がらないように。2026-10-08 ユーザー指定） */
.dc-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* カード全体をリンクに・ホバーで少し浮く */
.dc-rjob.is-link {
  transition: box-shadow .2s, transform .2s;
}

.dc-rjob.is-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(24, 41, 135, .12);
}

.dc-rjob.is-link > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.dc-rjob-body h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dc-navy);
  margin: 0 0 16px;
}

/* ページ送り（今のページは紺の塗り） */
.dc-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.dc-pager > * {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dc-border-strong);
  font-size: 14px;
  font-weight: 700;
  color: var(--dc-navy);
  background: #fff;
  text-decoration: none;
}

.dc-pager a:hover {
  border-color: var(--dc-blue);
  color: var(--dc-blue);
}

.dc-pager .is-current {
  background: var(--dc-navy);
  border-color: var(--dc-navy);
  color: #fff;
}

/* サイドバー：職種のアコーディオン（<details>） */
.dc-jobcats details {
  border-bottom: 1px solid var(--dc-border);
}

.dc-jobcats summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dc-heading);
  list-style: none;
}

.dc-jobcats summary::-webkit-details-marker {
  display: none;
}

.dc-jobcats summary::after {
  content: "+";
  width: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--dc-placeholder);
}

.dc-jobcats details[open] > summary::after {
  content: "−";
}

.dc-jobcats ul {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 12px;
}

.dc-jobcats a {
  display: block;
  padding: 6px 4px;
  font-size: 13px;
  color: var(--dc-gray);
  text-decoration: none;
}

.dc-jobcats a:hover {
  color: var(--dc-blue);
}

/* 今見ている職種カテゴリ（2026-10-08 手順5-2） */
.dc-jobcats a[aria-current="page"] {
  color: var(--dc-navy);
  font-weight: 700;
}

/* 詳細 */
.dc-job {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dc-job-badge {
  display: inline-block;
  background: var(--dc-navy);
  color: #fff;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 2px;
}

.dc-job-title {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--dc-navy);
  margin: 14px 0 0;
}

/* 画像枠（写真が入る。写真が無い求人では枠ごと出さない） */
.dc-job-photo {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #eef1f6 0 8px, #e3e8f0 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dc-placeholder);
  font: 11px ui-monospace, monospace;
}

/* 画像枠の中の写真（アイキャッチ画像・2枚目の写真。枠いっぱいにトリミング。2026-10-08 手順5-2） */
.dc-job-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 募集要項の表（1行おきにグレー。項目名は濃い色：README） */
.dc-job-table {
  margin: 0;
  border: 1px solid var(--dc-border);
  border-radius: 12px;
  overflow: hidden;
}

.dc-job-table > div {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dc-border);
}

.dc-job-table > div:nth-child(odd) {
  background: var(--dc-bg-gray);
}

.dc-job-table > div:last-child {
  border-bottom: 0;
}

.dc-job-table dt {
  flex: none;
  width: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #495164;
}

.dc-job-table dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dc-heading);
}

.dc-job-table dd.is-strong {
  font-weight: 700;
}

.dc-job-h3 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: 17px;
  color: var(--dc-navy);
  margin: 0 0 18px;
}

.dc-job-qual {
  font-size: 14px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0 0 16px;
}

.dc-job-qual span {
  font-weight: 700;
  color: var(--dc-navy);
}

.dc-job-text {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0 0 16px;
}

/* 仕事の詳細の本文欄（the_content()。段落は .dc-job-text と同じ見た目。2026-10-08 手順5-2） */
.dc-job-content > * {
  margin: 0 0 16px;
}

.dc-job-content > :last-child {
  margin-bottom: 0;
}

.dc-job-content p,
.dc-job-content li {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
}

.dc-job-content :is(h2, h3, h4, h5, h6) {
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dc-navy);
  margin-top: 28px;
}

.dc-job-content :is(ul, ol) {
  padding-left: 1.5em;
}

.dc-job-content a {
  color: var(--dc-blue);
}

/* 求める人物像（紺の丸に番号） */
.dc-job-persona {
  list-style: none;
  counter-reset: dc-persona;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dc-job-persona li {
  counter-increment: dc-persona;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dc-text);
}

.dc-job-persona li::before {
  content: counter(dc-persona);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--dc-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 選考フロー（グレーの箱が縦に並ぶ） */
.dc-job-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dc-job-flow li {
  background: var(--dc-bg-gray);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.dc-job-flow-step {
  flex: none;
  font: 11px ui-monospace, monospace;
  color: var(--dc-blue);
  letter-spacing: .1em;
  padding-top: 2px;
}

.dc-job-flow p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dc-text);
  margin: 0;
}

.dc-job-flow p.dc-job-flow-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--dc-navy);
  margin-bottom: 6px;
}

.dc-job-back {
  border-top: 1px solid var(--dc-border);
  padding-top: 24px;
  text-align: center;
}

.dc-job-back a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-navy);
  text-decoration: none;
}

.dc-job-back a:hover {
  color: var(--dc-blue);
}

/* --------------------------------------------------------------------------
   WP-9. お問い合わせ・応募フォーム・送信完了（page-contact.php／page-entry.php／page-thanks.php）
   - デザインの正：dc.html の「お問い合わせ」「応募フォーム」「お問い合わせ完了」「応募ありがとうございました」
   - 入力欄は .dc-form の中の input／textarea にまとめて当てる（手順6で Contact Form 7 の HTML に替えても同じ CSS が効くように）
   -------------------------------------------------------------------------- */

.dc-form-page {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--dc-gutter);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.dc-form-lead {
  font-size: 15px;
  line-height: 2.1;
  color: var(--dc-text);
  margin: 0;
}

.dc-form-lead a {
  color: var(--dc-navy);
  text-decoration: underline;
}

.dc-form-lead a:hover {
  color: var(--dc-blue);
}

.dc-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.dc-form-row {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

/* 項目名 */
.dc-form-row > label,
.dc-form-row > legend {
  display: block;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--dc-heading);
  margin-bottom: 8px;
}

.dc-form-row > legend {
  margin-bottom: 12px;
}

.dc-form-req {
  color: #e0533d;
  font-size: 12px;
  font-weight: 700;
}

.dc-form-opt {
  color: var(--dc-placeholder);
  font-size: 12px;
  font-weight: 400;
}

/* 入力欄 */
.dc-form input[type="text"],
.dc-form input[type="tel"],
.dc-form input[type="email"],
.dc-form input[type="date"],
.dc-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--dc-border-strong);
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--dc-heading);
  background: #fff;
}

.dc-form textarea {
  resize: vertical;
}

.dc-form input::placeholder,
.dc-form textarea::placeholder {
  color: var(--dc-placeholder);
}

.dc-form input:focus-visible,
.dc-form textarea:focus-visible {
  outline: 2px solid var(--dc-blue);
  outline-offset: 1px;
  border-color: var(--dc-blue);
}

/* 希望職種のチェックボックス */
.dc-form-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 16px;
}

.dc-form-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dc-heading);
  cursor: pointer;
}

.dc-form-checks input {
  margin: 0;
}

/* 確認画面へ進む */
.dc-form-submit {
  text-align: center;
  margin-top: 12px;
}

.dc-form-submit button,
.dc-form-submit input[type="submit"] {
  border: 0;
  background: var(--dc-blue);
  color: #fff;
  padding: 16px 48px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}

.dc-form-submit button:hover,
.dc-form-submit input[type="submit"]:hover {
  background: var(--dc-navy);
}

.dc-form-submit button:focus-visible,
.dc-form-submit input[type="submit"]:focus-visible {
  outline: 2px solid var(--dc-navy);
  outline-offset: 2px;
}

/* --- Contact Form 7 の HTML に合わせる部分（2026-10-08 手順6） --- */

/* 入力欄の包み（span）をブロックに。エラー文が入力欄の下に出るように */
.dc-form .wpcf7-form-control-wrap {
  display: block;
}

/* 希望職種：Contact Form 7 は label を span で包むので、並びの余白をなくす */
.dc-form-checks .wpcf7-list-item {
  margin: 0;
}

/* 入力エラー（input・textarea と書いて、上の入力欄の枠線より優先させる） */
.dc-form input.wpcf7-not-valid,
.dc-form textarea.wpcf7-not-valid {
  border-color: #e0533d;
}

.dc-form .wpcf7-not-valid-tip {
  color: #e0533d;
  font-size: 13px;
  margin-top: 6px;
}

/* 送信結果の枠（ボタンの下に出る） */
.dc-form .wpcf7-response-output {
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* 送信中のくるくるはボタンの右に重ねる（ボタンが中央からずれないように） */
.dc-form-submit {
  position: relative;
}

.dc-form-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  margin: -12px 0 0 12px;
}

/* 確認画面の「送信する」の包み（くるくるの基準にする） */
.dc-form-send {
  position: relative;
  display: inline-block;
}

/* 確認画面：項目名と入力内容 */
.dc-form-row > .dc-form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dc-heading);
  margin: 0 0 8px;
}

.dc-form-value {
  margin: 0;
  padding: 12px 14px;
  background: var(--dc-bg-gray);
  font-size: 15px;
  line-height: 1.8;
  color: var(--dc-heading);
  overflow-wrap: anywhere;
}

/* 確認画面：「入力画面に戻る」「送信する」を横に並べる（狭い画面では縦に） */
.dc-form-submit.is-confirm {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.dc-form-submit input[type="button"] {
  border: 1px solid var(--dc-navy);
  background: #fff;
  color: var(--dc-navy);
  padding: 15px 36px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}

.dc-form-submit input[type="button"]:hover {
  background: var(--dc-bg-gray);
}

.dc-form-submit input[type="button"]:focus-visible {
  outline: 2px solid var(--dc-navy);
  outline-offset: 2px;
}

/* 送信完了 */
.dc-thanks {
  max-width: var(--dc-container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--dc-gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dc-thanks h2 {
  font-family: var(--dc-font-head);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--dc-blue);
  margin: 0 0 14px;
}

.dc-thanks p {
  font-size: 15px;
  line-height: 2;
  color: var(--dc-text);
  margin: 0;
}

.dc-thanks strong {
  color: var(--dc-blue);
  font-weight: 700;
}

.dc-thanks-home {
  text-align: center;
}

.dc-thanks-home a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dc-blue);
  color: #fff;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}

.dc-thanks-home a:hover {
  background: var(--dc-navy);
  color: #fff;
}

/* --------------------------------------------------------------------------
   17. レスポンシブ
   -------------------------------------------------------------------------- */

/* 721〜980px：一部グリッドを2カラムに */
@media (min-width: 721px) and (max-width: 980px) {
  /* WP-4：価値観カードを2列に */
  .dc-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* WP-5：数字インフォグラフィックを2列に */
  .dc-stats-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* WP-6：職種カードと選考フローを2列に */
  .dc-occ-cards,
  .dc-occ-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .dc-mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 900px以下：グローバルナビ → ハンバーガー、五角形 → タテ積み */
@media (max-width: 900px) {
  /* WP-7：最新求人情報を2列に／WP-8：求人一覧を1列に（サイドバーの横では2列だと狭すぎるため） */
  .dc-rjobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dc-jobs-grid {
    grid-template-columns: 1fr;
  }

  /* WP-7：代表メッセージを1列に（写真は大きくなりすぎないよう幅を抑える） */
  .dc-rceo {
    grid-template-columns: 1fr;
  }

  .dc-rceo-photo {
    width: 100%;
    max-width: 360px;
  }

  .dc-gnav,
  .dc-subnav {
    display: none !important;
  }

  .dc-hamburger {
    display: flex;
  }

  .dc-pentagon {
    position: static;
    aspect-ratio: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .dc-pentagon-ring {
    display: none;
  }

  .dc-pentagon-core {
    position: static;
    transform: none;
    width: auto;
    aspect-ratio: auto;
    border-radius: 0;
    padding: 20px 24px;
    animation: none;
    box-shadow: none;
  }

  .dc-pentagon-core > span {
    font-size: 18px;
  }

  .dc-pentagon-core br {
    display: none;
  }

  .dc-biz-card {
    position: static;
    transform: none;
    width: auto;
  }

  .dc-biz-card-name {
    font-size: 19px;
  }

  .dc-strength-col:nth-child(1),
  .dc-strength-col:nth-child(2) {
    border-right: 0;
    border-bottom: 1px dashed var(--dc-border-strong);
    padding: 0 0 32px;
  }

  .dc-strength-col:nth-child(3) {
    padding-left: 0;
  }
}

/* 720px以下：各グリッドを1カラム化 */
@media (max-width: 720px) {
  /* WP-7：最新求人情報を1列に */
  .dc-rjobs-grid {
    grid-template-columns: 1fr;
  }

  /* WP-7：ヒーローの見出しを写真の下の紺帯へ・1行に（画面幅に合わせて最大22px） */
  .dc-rhero-caption {
    position: static;
    max-width: none;
    background: var(--dc-navy);
    padding: 18px var(--dc-gutter);
  }

  .dc-rhero-box {
    display: block;
    background: none;
    padding: 0;
  }

  .dc-rhero-label {
    font-size: 11px;
    letter-spacing: .08em;
    margin-bottom: 8px;
  }

  .dc-rhero h1 {
    font-size: min(22px, calc((100vw - 40px) / 18));
    line-height: 1.3;
    white-space: nowrap;
  }

  .dc-rhero-br {
    display: none;
  }

  .dc-rhero-img {
    max-height: none;
  }

  /* WP-4：価値観カードを1列に */
  .dc-values-grid {
    grid-template-columns: 1fr;
  }

  /* WP-5：事業実績を2列、数字インフォグラフィックを1列に */
  .dc-stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dc-stats-3 {
    grid-template-columns: 1fr;
  }

  /* WP-6：職種カード・選考フロー・2列部分・一日の流れを1列に */
  .dc-occ-cards,
  .dc-occ-flow,
  .dc-occ-2col,
  .dc-occ-schedule li {
    grid-template-columns: 1fr;
  }

  /* WP-1：サイドバーを本文の下へ */
  .dc-sidebar-layout {
    grid-template-columns: 1fr;
  }

  /* WP-8：募集要項の表は項目名の幅を縮める */
  .dc-job-table > div {
    padding: 14px 16px;
  }

  .dc-job-table dt {
    width: 76px;
  }

  .dc-2col-main,
  .dc-history,
  .dc-location-media {
    grid-column: auto;
  }

  .dc-overview-grid {
    grid-template-columns: 1fr;
  }

  .dc-mv-grid {
    grid-template-columns: 1fr;
  }

  .dc-bizblock h2,
  .dc-bizblock-lead,
  .dc-message-sub,
  .dc-recruit-banner-body h2 {
    white-space: normal;
  }

  /* ラベル列は最長ラベル（ホームページ）に合わせて折り返さない幅にする */
  .dc-overview-table th {
    width: 1%;
    min-width: 0;
    white-space: nowrap;
    padding-right: 12px;
  }

  .dc-overview-table th,
  .dc-overview-table td {
    padding-block: 14px;
  }

  /* ヒーロー：PCは見出し基準のem比率だが、スマホでは本文が7px台まで縮むため固定値にする */
  /* 文字を大きくすると写真を覆い尽くすため、スマホではボックスを写真の下端に重ねて配置する */
  .dc-hero-img {
    height: 300px;
  }

  .dc-hero-overlay {
    position: relative;
    bottom: auto;
    margin-top: -56px;
  }

  .dc-hero-box {
    font-size: 26px;
    width: 100%;
    max-width: none;
    box-shadow: 0 10px 28px rgba(24, 41, 135, .08);
  }

  .dc-hero-kicker {
    font-size: 12px;
    letter-spacing: .06em;
    padding: 10px 20px;
  }

  .dc-hero-catch {
    padding: 14px 20px 20px;
    background: #fff;
  }

  .dc-hero-lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
    word-break: normal;
  }

  .dc-hero-lead em {
    font-size: 1em;
  }

  /* 採用バナー */
  .dc-recruit-banner-body p {
    font-size: 15px;
  }

  .dc-recruit-banner-body h2 {
    text-wrap: balance;
  }

  /* ページトップボタン：スマホは少し小さく・端に寄せる（タップ領域44pxは確保） */
  .dc-pagetop {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  /* ボタンが前列の顔にかからないよう、写真の下端寄せ＋少し小さく */
  .dc-recruit-banner-btn {
    bottom: 12px;
    padding: 11px 24px;
    font-size: 13px;
  }
}
