/* ==========================================================================
   SGQ合同会社 コーポレートサイト共通スタイルシート
   全ページ共通で読み込む。ページ固有の調整は各HTML内の <style> か
   セクション末尾のユーティリティクラスで対応する。
   ========================================================================== */

:root {
  /* ブランドカラー（ロゴの黄緑・濃緑を基準） */
  --color-primary: #7cb928;        /* ロゴのライトグリーン */
  --color-primary-dark: #4f8a2c;   /* ロゴの濃いグリーン */
  --color-primary-darker: #3b6b21; /* ホバー等の濃色 */
  --color-primary-tint: #eef7e3;   /* 淡いグリーン背景 */

  /* ベースカラー */
  --color-black: #14161a;
  --color-charcoal: #22262b;
  --color-charcoal-soft: #3a4048;
  --color-gray-700: #4b5158;
  --color-gray-500: #767c84;
  --color-gray-300: #c7cdd2;
  --color-gray-100: #f2f4f3;
  --color-white: #ffffff;

  /* テキスト */
  --text-heading: var(--color-charcoal);
  --text-body: #3d4247;
  --text-muted: var(--color-gray-500);
  --text-on-dark: #f4f6f4;
  --text-on-dark-muted: #b9c2be;

  /* タイポグラフィ */
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", "Meiryo", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;

  /* レイアウト */
  --container-width: 1160px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(20, 22, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 22, 26, 0.10);
  --shadow-lg: 0 16px 40px rgba(20, 22, 26, 0.14);
  --transition-base: 0.2s ease;
}

/* ==========================================================================
   リセット / ベース
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ページ内リンクでジャンプした際、固定ヘッダーの下に見出しが隠れないようにする */
[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text-body);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 横スクロール対策は html 側の overflow-x: hidden のみで行う。
     body にも overflow-x: hidden を付けると、body自身が独立した
     スクロールコンテナになってしまい、モバイルSafariで
     .site-header の position: sticky や .mobile-nav の
     position: fixed が正しく機能しなくなる（ヘッダーがスクロールで
     消える／メニューの高さがおかしくなる）ため付与しない */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* フォーカス表示（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

/* スキップリンク */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

section {
  padding-block: 36px;
}

@media (min-width: 768px) {
  section {
    padding-block: 88px;
  }
}

.section-alt {
  background-color: var(--color-gray-100);
}

.section-dark {
  background-color: var(--color-charcoal);
  color: var(--text-on-dark);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 48px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-dark .eyebrow {
  color: var(--color-primary);
}

.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.section-dark .section-title {
  color: var(--text-on-dark);
}

.section-lead {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-dark .section-lead {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    background-color var(--transition-base), color var(--transition-base),
    border-color var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text-heading);
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.section-dark .btn-outline {
  color: var(--text-on-dark);
}

.section-dark .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   ヘッダー / グローバルナビゲーション
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  /* ロゴ画像自体に上下の余白が多いため、object-fitで実際のマーク部分だけを
     切り出して表示する（画像ファイルは加工せず、CSS側で見た目の大きさを調整） */
  height: 40px;
  width: auto;
  aspect-ratio: 2.27 / 1;
  object-fit: cover;
  object-position: 50% 48%;
}

.global-nav {
  display: none;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-body);
  padding: 8px 2px;
  position: relative;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.global-nav a[aria-current="page"] {
  color: var(--color-primary-dark);
}

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

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: var(--color-gray-100);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  color: var(--text-heading);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

/* モバイルナビゲーション（ドロワー） */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  /* iOSのSafariはツールバーの表示/非表示でビューポート高さが変わり、
     100vh基準だと表示が崩れることがあるため、まずvhでフォールバックを
     用意したうえで、対応ブラウザではdvh（動的ビューポート）を使う */
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 40px;
  /* iPhoneのホームインジケータ等、下部のセーフエリアと重ならないように
     余白を確保する。env()未対応ブラウザでは無効な値として無視され、
     直前の40pxがそのまま使われる */
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.nav-open .mobile-nav {
  transform: translateX(0);
}

/* メニュー表示中は背後のページをスクロールさせない。
   スクロール位置はJS側で保持し、閉じたときに元へ戻す */
@media (max-width: 1023px) {
  body.nav-open {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

/* ul（通常ナビリスト）内のリンクだけに適用する。
   .mobile-nav a のように .mobile-nav 配下すべてを対象にすると、
   兄弟要素である .mobile-nav-cta 内のCTAボタン（<a class="btn ...">）
   にもこの border-bottom 等が意図せず適用され、.btn の border（2px）の
   下辺だけがこちらの1px薄グレーで上書きされてしまうため、
   セレクタを ul 配下に限定する */
.mobile-nav ul a {
  display: block;
  padding: 16px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--text-heading);
}

.mobile-nav ul a[aria-current="page"] {
  color: var(--color-primary-dark);
}

.mobile-nav-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .brand img {
    height: 48px;
  }

  .global-nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-primary-tint) 100%);
  padding-block: 56px 72px;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 88px 100px;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 24px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.9rem, 1.5rem + 2.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-heading);
  letter-spacing: 0.01em;
}

.hero-title .accent {
  color: var(--color-primary-dark);
  position: relative;
  white-space: nowrap;
}

.hero-lead {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 20px 28px;
}

@media (max-width: 480px) {
  .hero-meta {
    grid-template-columns: repeat(2, auto);
  }
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.hero-meta-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ヒーローの抽象ビジュアル（写真の代わりのCSS図形） */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  right: -10%;
  height: 46%;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
  border-radius: 999px 0 0 999px;
  filter: blur(0.5px);
}

.hero-visual::before {
  top: 8%;
  width: 130%;
  opacity: 0.95;
  transform: skewY(-8deg);
}

.hero-visual::after {
  bottom: 10%;
  width: 105%;
  opacity: 0.55;
  transform: skewY(-8deg);
}

.hero-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  z-index: 2;
  text-align: center;
}

/* SGQロゴを載せる白いブランドプレート。
   ロゴ画像自体は加工・トリミングせず、余白のあるカードで自然に見せる */
.hero-logo-plate {
  width: min(58%, 220px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}

.hero-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual-tag {
  color: var(--text-on-dark);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 30ch;
}

.hero-visual-tag span {
  display: block;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.speed-lines {
  position: absolute;
  left: 6%;
  top: 14%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 2;
}

.speed-lines span {
  display: block;
  height: 4px;
  background: var(--color-primary);
  border-radius: 999px;
  opacity: 0.9;
}

.speed-lines span:nth-child(1) { width: 34px; }
.speed-lines span:nth-child(2) { width: 54px; }
.speed-lines span:nth-child(3) { width: 22px; }

/* ==========================================================================
   採用強調セクション（トップページの最重要CTA）
   ========================================================================== */

.recruit-highlight {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.recruit-highlight::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(120deg, transparent 40%, rgba(124, 185, 40, 0.18) 60%, transparent 80%);
  pointer-events: none;
}

.recruit-highlight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.recruit-highlight-head .section-title {
  text-align: left;
}

/* .recruit-highlight は .section-dark クラスを使わない独自の暗い背景のため、
   .section-title / .btn-outline の既定色（濃色。ライト背景向け）がそのまま
   継承され、黒背景の上で見出しとCTAのコントラストが不足していた。
   このセクション内だけ、明るい配色に安全に上書きする */
.recruit-highlight .section-title {
  color: var(--text-on-dark);
}

.recruit-highlight .btn-outline {
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.55);
}

.recruit-highlight .btn-outline:hover,
.recruit-highlight .btn-outline:focus-visible {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.recruit-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.recruit-point-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}

.recruit-point-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.recruit-point-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-black);
}

.recruit-point-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.recruit-point-card p {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

.recruit-cta-row {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   カードグリッド（強み・事業内容などで共通使用）
   ========================================================================== */

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-dark);
}

.info-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About（会社紹介）ティーザー
   ========================================================================== */

.about-teaser {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-teaser {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual img {
  width: 62%;
  filter: drop-shadow(0 12px 20px rgba(20, 22, 26, 0.12));
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(124, 185, 40, 0.12) 0,
    rgba(124, 185, 40, 0.12) 2px,
    transparent 2px,
    transparent 26px
  );
}

.about-copy .section-head {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 24px;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-copy .btn {
  margin-top: 30px;
}

/* ==========================================================================
   お問い合わせCTA
   ========================================================================== */

.contact-cta {
  background: var(--color-primary-tint);
}

.contact-cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-cta-inner {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

.contact-cta-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}

.contact-cta-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.contact-cta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   パンくずリスト（下層ページ用）
   ========================================================================== */

.breadcrumb {
  padding-block: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--color-gray-100);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--color-gray-300);
}

/* ==========================================================================
   ページヘッダー（下層ページ共通の見出し帯）
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  color: var(--text-on-dark);
  padding-block: 48px;
}

.page-header h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 800;
}

.page-header p {
  margin-top: 12px;
  color: var(--text-on-dark-muted);
  max-width: 56ch;
}

/* ページヘッダー内の案内ボックス（例：お問い合わせページから採用情報ページへの導線） */
.page-header-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
}

.page-header-note p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: var(--color-black);
  color: var(--text-on-dark-muted);
  padding-block: 56px 28px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 0.9fr 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

.footer-brand img {
  height: 46px;
  width: auto;
  aspect-ratio: 2.27 / 1;
  object-fit: cover;
  object-position: 50% 48%;
}

.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   プライバシーポリシー（privacy.html）専用のドキュメントレイアウト
   法律・情報ページのため、企業紹介用の装飾（カード・アイコン等）は使用しない
   ========================================================================== */

.legal-doc {
  max-width: 760px;
  margin-inline: auto;
}

.legal-doc-lead {
  color: var(--text-body);
  line-height: 1.9;
}

.legal-updated {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-gray-100);
}

.legal-section:first-of-type {
  margin-top: 40px;
}

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  line-height: 1.5;
}

.legal-section p {
  color: var(--text-body);
  line-height: 1.9;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.25em;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li {
  color: var(--text-body);
  line-height: 1.8;
}

.legal-section a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-contact {
  margin-top: 16px;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-body);
  word-break: break-word;
}

.legal-contact strong {
  color: var(--text-heading);
}

/* ==========================================================================
   フォーム（お問い合わせ・応募フォーム共通／準備段階のUI）
   ========================================================================== */

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .form-card {
    padding: 44px 48px;
  }
}

.form-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 640px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.field .required {
  color: #c0392b;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.field .optional {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--color-white);
  color: var(--text-body);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.consent-box {
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}

.consent-box a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.form-preview-result {
  margin-top: 20px;
  background: var(--color-primary-tint);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--color-primary-darker);
}

/* 応募フォームの送信結果（成功／失敗）表示 */
.form-status {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
}

.form-status--success {
  background: var(--color-primary-tint);
  border: 1px solid var(--color-primary);
  color: var(--color-primary-darker);
}

.form-status--error {
  background: #fdecea;
  border: 1px solid #e0776b;
  color: #a83226;
}

/* 送信中はボタンであることを分かりやすく維持しつつ操作不可にする */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Web3Forms スパム対策用ハニーポット（画面上には一切表示しない） */
.form-honeypot {
  display: none;
}

/* ==========================================================================
   求人ポイント（ピルバッジ／トップページのヒーローで使用）
   ========================================================================== */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.pill svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   求人条件クイックビュー（fact-grid）
   トップページの採用強調セクション、採用ページの冒頭で共通使用
   ========================================================================== */

.fact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

a.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.fact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-dark);
}

.fact-card-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.fact-card-value {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.6;
}

/* 暗い背景（採用強調セクション等）で使う場合 */
.recruit-highlight .fact-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.recruit-highlight .fact-card-icon {
  background: rgba(124, 185, 40, 0.18);
}

.recruit-highlight .fact-card-icon svg {
  color: var(--color-primary);
}

.recruit-highlight .fact-card-label {
  color: var(--text-on-dark-muted);
}

.recruit-highlight .fact-card-value {
  color: var(--text-on-dark);
}

/* ==========================================================================
   契約形態バッジ／注記
   ========================================================================== */

.contract-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 18px;
}

.contract-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ==========================================================================
   月収例の計算ブロック
   ========================================================================== */

.calc-block {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}

.calc-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(1.1rem, 1rem + 1vw, 1.6rem);
  font-weight: 800;
  color: var(--text-heading);
  text-align: center;
  padding: 8px 0 20px;
}

.calc-formula .op {
  color: var(--color-gray-500);
  font-weight: 600;
  font-size: 0.7em;
}

.calc-formula .result {
  color: var(--color-primary-dark);
}

.calc-formula .unit {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.calc-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--color-gray-100);
  padding-top: 16px;
}

.calc-note + .calc-note {
  border-top: none;
  padding-top: 0;
  margin-top: -8px;
}

/* ==========================================================================
   FAQアコーディオン（JS不要、details/summaryのみ）
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 30px 15px 0;
  font-weight: 700;
  color: var(--text-heading);
  position: relative;
  display: flex;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-gray-500);
  border-bottom: 2px solid var(--color-gray-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer {
  display: flex;
  gap: 10px;
  padding: 0 0 20px 0;
  font-size: 0.92rem;
  color: var(--text-body);
}

.faq-answer .faq-a-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   応募〜採用までのステップ
   ========================================================================== */

.process-steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin-top: 8px;
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

.process-step {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-gray-300);
}

.process-step:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .process-step {
    flex-direction: column;
    gap: 14px;
    border-bottom: none;
    border-right: 1px dashed var(--color-gray-300);
    padding: 0 16px 0 0;
  }
  .process-step:last-child {
    border-right: none;
  }
}

.process-step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-num::before {
  content: counter(step);
}

.process-step h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   モバイル用 固定応募ボタン（採用ページ専用）
   ========================================================================== */

.mobile-apply-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  box-shadow: 0 -6px 20px rgba(20, 22, 26, 0.12);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-apply-bar-text {
  flex: 1;
  min-width: 0;
}

.mobile-apply-bar-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mobile-apply-bar-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.mobile-apply-bar .btn {
  flex-shrink: 0;
  padding: 12px 22px;
}

body.has-mobile-cta {
  padding-bottom: 78px;
}

@media (min-width: 1024px) {
  .mobile-apply-bar {
    display: none;
  }
  body.has-mobile-cta {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   求人スペック表（採用ページ冒頭：報酬・条件の視認性強化用）
   ========================================================================== */

.spec-table {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-100);
  transition: background-color var(--transition-base);
}

.spec-row:last-child {
  border-bottom: none;
}

a.spec-row:hover {
  background: var(--color-gray-100);
}

.spec-row--highlight {
  background: var(--color-primary-tint);
}

a.spec-row--highlight:hover {
  background: #e2f0d2;
}

.spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-row--highlight .spec-icon {
  background: var(--color-white);
}

.spec-icon svg {
  width: 19px;
  height: 19px;
  color: var(--color-primary-dark);
}

.spec-label {
  width: 78px;
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 8px;
  line-height: 1.5;
}

.spec-value {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.7;
  padding-top: 6px;
}

.spec-row--highlight .spec-value {
  font-size: 1.02rem;
  color: var(--color-primary-darker);
}

@media (min-width: 480px) {
  .spec-label {
    width: 108px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   重要事項の注記ボックス（業務委託の経費負担など、正式な情報を強調表示）
   placeholder-block（仮データ用）とは異なり、確定済みの正式情報に使用する
   ========================================================================== */

.notice-card {
  background: var(--color-gray-100);
  border-left: 4px solid var(--color-primary-dark);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  margin-top: 22px;
}

.notice-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

/* recruit.html「費用について」内の notice-card は、
   親セクションが既にh3を使っているため見出し階層としてh4を使用する。
   見た目は.notice-card h3と揃える */
.notice-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.notice-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.notice-card li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   ページヘッダー内のCTA・バッジ調整（採用ページのファーストビュー強化）
   ========================================================================== */

.page-header .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
  box-shadow: none;
}

.page-header .pill svg {
  color: var(--color-primary);
}

.page-header .btn-outline {
  color: var(--text-on-dark);
}

.page-header .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.mid-cta {
  text-align: center;
  margin-top: 28px;
}

.mid-cta-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.section-dark .mid-cta-note {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   複数トピックを1セクションにまとめる際の小見出しブロック
   （採用ページの縦スクロール短縮のため、勤務地/時間/休日/条件などを集約）
   ========================================================================== */

.subsection {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--color-gray-100);
}

.subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.subsection h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.subsection p + p {
  margin-top: 10px;
}

/* ==========================================================================
   フォームの入力目安・運営会社の明記（信頼感・入力ハードル低減用）
   ========================================================================== */

.form-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   モバイル専用の最終調整（max-width:767px のみに適用。
   768px以上＝タブレット／PCの見た目には一切影響しない）
   ========================================================================== */

@media (max-width: 767px) {
  /* メリットカード等を2列表示にして縦の長さを抑える */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .info-card {
    padding: 14px 12px;
  }

  .info-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    margin-bottom: 8px;
  }

  .info-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .info-card h3 {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .info-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  /* 求人条件クイックビュー（スペック表）をよりコンパクトに */
  .spec-row {
    padding: 12px 14px;
    gap: 10px;
  }

  .spec-icon {
    width: 30px;
    height: 30px;
    margin-top: 1px;
  }

  .spec-icon svg {
    width: 16px;
    height: 16px;
  }

  .spec-label {
    width: 60px;
    font-size: 0.7rem;
    padding-top: 4px;
  }

  .spec-value {
    font-size: 0.86rem;
    padding-top: 3px;
    line-height: 1.6;
  }

  .spec-row--highlight .spec-value {
    font-size: 0.94rem;
  }

  /* 複数トピックをまとめたセクション内の余白を詰める */
  .subsection {
    margin-top: 22px;
    padding-top: 18px;
  }

  /* 中間CTAの余白を詰める */
  .mid-cta {
    margin-top: 20px;
  }

  /* フォームのラジオ／チェックボックス行のタップ領域を確保 */
  .radio-option,
  .checkbox-option {
    padding-block: 5px;
  }
}

/* ==========================================================================
   SGQについて（about.html）専用コンポーネント
   ========================================================================== */

.page-header.about-intro {
  padding-block: 52px;
}

@media (min-width: 768px) {
  .page-header.about-intro {
    padding-block: 72px;
  }
}

.lede {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-body);
  max-width: 68ch;
}

.lede p + p {
  margin-top: 14px;
}

.lede-emphasis {
  font-weight: 700;
  color: var(--text-heading);
}

/* 引用・重要メッセージの強調表示 */
.pull-quote {
  margin: 24px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-darker);
  line-height: 1.85;
  max-width: 68ch;
}

.page-header .pull-quote {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--color-primary);
  color: var(--text-on-dark);
}

/* SGQという名前セクション */
.sgq-name-section {
  background: var(--color-primary-tint);
}

.sgq-letters {
  margin-top: 8px;
}

.sgq-letter-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 22, 26, 0.08);
}

.sgq-letter-row:last-child {
  border-bottom: none;
}

.sgq-letter-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-md);
}

.sgq-letter-body {
  flex: 1;
  min-width: 0;
}

.sgq-letter-word {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.sgq-letter-phrase {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.sgq-letter-desc {
  color: var(--text-body);
  font-size: 0.92rem;
}

.sgq-name-closing {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 22, 26, 0.1);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-darker);
  max-width: 60ch;
}

@media (min-width: 768px) {
  .sgq-letter-row {
    gap: 26px;
    padding: 28px 0;
  }
  .sgq-letter-badge {
    width: 84px;
    height: 84px;
    font-size: 2.6rem;
    border-radius: var(--radius-lg);
  }
  .sgq-letter-phrase {
    font-size: 1.3rem;
  }
  .sgq-letter-desc {
    font-size: 0.98rem;
  }
  .sgq-name-closing {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   事業内容（business.html）専用コンポーネント
   ========================================================================== */

.business-hero-message {
  margin-top: 16px;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* ダーク背景の .page-header 上で、.eyebrow の既定色（濃い緑）だと
   コントラストが不足するため、明るいSGQグリーンへ上書きする */
.business-hero .eyebrow {
  color: var(--color-primary);
}

.business-hero .lede {
  margin-top: 18px;
}

.business-hero .pill-list {
  margin-top: 30px;
}

/* 主な配送業務 */

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.service-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-white);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-body);
}

.service-card p + p {
  margin-top: 8px;
}

/* 対応エリア */

.area-flow-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 40px;
}

.area-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 640px;
  margin: 18px auto 0;
}

@media (min-width: 700px) {
  .area-flow {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }
}

.area-city {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 10px 22px;
}

.area-city-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.area-city-mark svg {
  width: 26px;
  height: 26px;
  color: var(--color-white);
}

.area-city-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
}

.area-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  transform: rotate(90deg);
}

.area-connector svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 700px) {
  .area-connector {
    transform: none;
  }
}

.area-spot-note {
  max-width: 640px;
  margin: 32px auto 0;
}

.area-spot-note p + p {
  margin-top: 8px;
}

/* 配送品質セクション */

.quality-section {
  background: linear-gradient(150deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.quality-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 55%;
  height: 160%;
  background: linear-gradient(120deg, transparent 40%, rgba(124, 185, 40, 0.14) 60%, transparent 80%);
  pointer-events: none;
}

.quality-section .eyebrow {
  color: var(--color-primary);
}

.quality-section .section-title {
  text-align: left;
  color: var(--text-on-dark);
}

.quality-section .lede {
  color: var(--text-on-dark-muted);
  margin-top: 18px;
}

.quality-section .lede strong {
  color: var(--text-on-dark);
}

.quality-section .pull-quote {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--color-primary);
  color: var(--text-on-dark);
}

.quality-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .quality-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
  }
}

.quality-list {
  display: flex;
  flex-direction: column;
}

.quality-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-item:first-child {
  padding-top: 0;
}

.quality-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quality-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 185, 40, 0.16);
  border: 1px solid rgba(124, 185, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.quality-item h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 4px;
}

.quality-item p {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   business.html モバイル専用の最終調整
   ========================================================================== */

@media (max-width: 767px) {
  /* セクション上下paddingの圧縮（各セクションを個別セレクタで指定し、
     他ページで共用している section-alt / contact-cta 等には影響させない） */
  .page-header.business-hero {
    padding-block: 36px;
  }

  section[aria-labelledby="service-heading"],
  section[aria-labelledby="area-heading"],
  .quality-section,
  section[aria-labelledby="consult-heading"] {
    padding-block: 28px;
  }

  section[aria-labelledby="business-cta-heading"] {
    padding-block: 30px;
  }

  section[aria-labelledby="service-heading"] .section-head,
  section[aria-labelledby="area-heading"] .section-head,
  section[aria-labelledby="consult-heading"] .section-head,
  section[aria-labelledby="business-cta-heading"] .section-head {
    margin-bottom: 16px;
  }

  /* ファーストビュー */
  .business-hero-message {
    margin-top: 12px;
  }

  .business-hero .lede {
    margin-top: 14px;
  }

  .business-hero .lede p + p {
    margin-top: 10px;
  }

  .business-hero .pill-list {
    margin-top: 20px;
  }

  /* EC宅配／宅配便カード */
  .service-grid {
    gap: 12px;
  }

  .service-card {
    padding: 18px 18px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .service-card h3 {
    margin-bottom: 6px;
  }

  .service-card p + p {
    margin-top: 6px;
  }

  /* 対応エリア（静岡市・焼津市・藤枝市） */
  .area-flow-label {
    margin-top: 20px;
  }

  .area-flow {
    margin-top: 12px;
    gap: 2px;
  }

  .area-city {
    padding: 4px 0;
    gap: 6px;
  }

  .area-connector svg {
    width: 18px;
    height: 18px;
  }

  .area-spot-note {
    margin-top: 16px;
    padding: 16px 16px 14px;
  }

  .area-spot-note h3 {
    margin-bottom: 8px;
  }

  .area-spot-note p + p {
    margin-top: 6px;
  }

  /* 単発の配送について／配送業務のご相談について（notice-card） */
  section[aria-labelledby="consult-heading"] .notice-card {
    padding: 16px 16px 14px;
  }

  section[aria-labelledby="consult-heading"] .notice-card h3 {
    margin-bottom: 8px;
  }

  section[aria-labelledby="consult-heading"] .notice-card ul {
    gap: 6px;
  }

  /* 配送品質セクション（ダーク背景） */
  .quality-layout {
    gap: 20px;
  }

  .quality-section .lede {
    margin-top: 12px;
  }

  .quality-section .lede p + p {
    margin-top: 10px;
  }

  .quality-section .pull-quote {
    margin: 16px 0 0;
    padding: 16px 18px;
  }

  .quality-item {
    padding: 12px 0;
    gap: 12px;
  }

  .quality-icon {
    width: 38px;
    height: 38px;
  }

  .quality-icon svg {
    width: 18px;
    height: 18px;
  }

  /* お問い合わせCTA */
  section[aria-labelledby="business-cta-heading"] .mid-cta {
    margin-top: 18px;
  }

  section[aria-labelledby="business-cta-heading"] .mid-cta-note {
    margin-top: 8px;
  }
}

/* ==========================================================================
   会社概要（company.html）専用コンポーネント
   ========================================================================== */

.company-info {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.company-info-row {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 6px 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--color-gray-100);
}

.company-info-row:last-child {
  border-bottom: none;
}

.company-info dt {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.94rem;
}

.company-info dd {
  margin: 0;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.8;
}

.company-info-mail {
  color: var(--color-primary-dark);
  text-decoration: underline;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.company-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  section[aria-labelledby="company-info-heading"],
  section[aria-labelledby="company-cta-heading"] {
    padding-block: 28px;
  }

  section[aria-labelledby="company-cta-heading"] .section-head {
    margin-bottom: 18px;
  }

  .company-info-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 18px;
  }

  .company-info dt {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.03em;
  }

  .company-info dd {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .company-cta-actions {
    margin-top: 22px;
    gap: 12px;
  }

  .company-cta-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   ユーティリティ
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

@media (min-width: 1024px) {
  .desktop-only-flex { display: flex; }
}

