/* =========================================================
   株式会社アキヤル コーポレートサイト 共通スタイル
   配色: 紺（ネイビー）× 白
   フォント: Noto Sans JP（ゴシック）
   トーン: 余白多め・静的
   ========================================================= */

/* ---------- カラー・サイズ変数 ---------- */
:root {
  --color-primary:        #1a3a5c;  /* メイン紺 */
  --color-primary-dark:   #0f2540;  /* ホバー用の濃紺 */
  --color-primary-light:  #e8eef5;  /* 薄い青グレー（背景帯用） */
  --color-accent:         #c9a961;  /* アクセントゴールド（控えめに使用） */
  --color-text:           #1a1a1a;  /* 本文 */
  --color-text-sub:       #666666;  /* 補足文・小さい文字 */
  --color-bg:             #ffffff;
  --color-bg-alt:         #f7f8fa;  /* セクション切り替え用の薄いグレー */
  --color-border:         #e5e7eb;

  --max-content-width:    1120px;
  --max-narrow-width:     840px;

  --space-section-pc:     120px;
  --space-section-sp:     72px;

  --radius-md:            6px;
  --radius-lg:            12px;

  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* PC/SP表示切り替えユーティリティ */
.sp-only { display: none; }
.pc-only { display: inline; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* スクリーンリーダー専用（視覚的に隠すがSEO・アクセシビリティ用に残す） */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
a { color: var(--color-primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.7; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; font-weight: 700; letter-spacing: 0.02em; }

/* ---------- レイアウト共通 ---------- */
.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: var(--space-section-pc) 0;
}
section.section--alt {
  background: var(--color-bg-alt);
}
@media (max-width: 768px) {
  section { padding: var(--space-section-sp) 0; }
}

/* ---------- セクション見出し ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 64px;
}
.section-heading__label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-heading__title {
  font-size: 2rem;
  color: var(--color-text);
  line-height: 1.5;
}
.section-heading__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin: 24px auto 0;
}
@media (max-width: 768px) {
  .section-heading { margin-bottom: 40px; }
  .section-heading__title { font-size: 1.5rem; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: 0.08em;
  text-align: center;
  min-width: 240px;
}
.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #ffffff;
  opacity: 1;
}
.btn--small {
  padding: 12px 28px;
  font-size: 0.9rem;
  min-width: 0;
}
.btn-arrow::after {
  content: "→";
  margin-left: 12px;
  transition: transform .2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.site-header__logo a {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}
.site-header__logo a:hover { opacity: 1; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav__list {
  display: flex;
  gap: 32px;
}
.site-nav__list a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.site-nav__list a.is-current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

/* モバイル用ハンバーガー */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--color-primary);
  transition: transform .2s, top .2s, opacity .2s;
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }
.hamburger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    z-index: 99;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .site-nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .hamburger { display: block; }
}

/* =========================================================
   ファーストビュー（全画面ヒーロー）
   - 背景画像は images/hero/hero-main.jpg
   - 画像が無い間は、フォールバックとして紺色グラデーション表示
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  text-align: center;
  color: #fff;
  background-color: var(--color-primary-dark);
  /* HTMLで文字を重ねるため、画像全体にやや強めのオーバーレイをかけて可読性を確保 */
  background-image:
    linear-gradient(rgba(15, 37, 64, 0.55), rgba(15, 37, 64, 0.65)),
    url('../images/hero/hero-main.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* 画像が読めない場合のフォールバック装飾（紺ベタが寂しくならないようパターン的グラデを乗せる） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
}
.hero__title {
  font-size: 2.75rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 36px;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero__title .accent { color: #fff; }
.hero__lead {
  font-size: 1.05rem;
  line-height: 2.1;
  color: rgba(255,255,255,0.95);
  margin: 0 auto 48px;
  max-width: 720px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.btn--hero {
  background: rgba(15, 37, 64, 0.92);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 18px 56px;
  font-size: 1rem;
  letter-spacing: 0.12em;
  min-width: 280px;
  backdrop-filter: blur(4px);
}
.btn--hero:hover {
  background: var(--color-primary-dark);
  border-color: #fff;
  opacity: 1;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  z-index: 1;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.5);
  margin: 12px auto 0;
}
@media (max-width: 768px) {
  .hero { min-height: 72vh; padding: 80px 20px 60px; }
  .hero__title { font-size: 1.6rem; line-height: 1.7; margin-bottom: 24px; letter-spacing: 0.04em; }
  .hero__lead { font-size: 0.95rem; line-height: 1.95; margin-bottom: 36px; }
  .btn--hero { padding: 16px 32px; min-width: 0; width: 100%; }
  .hero__scroll { display: none; }
}

/* =========================================================
   理念・本文ブロック（白背景）
   ========================================================= */
.lead-block {
  text-align: center;
}
.lead-block__title {
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 48px;
  line-height: 1.6;
}
.lead-block__body {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--color-text);
  text-align: left;
}
.lead-block__body p + p { margin-top: 1.5em; }
@media (max-width: 768px) {
  .lead-block__title { font-size: 1.4rem; margin-bottom: 32px; }
}

/* =========================================================
   強み3カード（画像背景＋暗いオーバーレイ＋白文字）
   参考: connect-group.site のサービスカードレイアウト
   ========================================================= */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.strength-card {
  position: relative;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 80px 40px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  transition: transform .4s ease;
}
/* 暗いオーバーレイ */
.strength-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,37,64,0.25) 0%, rgba(15,37,64,0.55) 60%, rgba(15,37,64,0.85) 100%);
  transition: background .3s ease;
  z-index: 0;
}
.strength-card:hover::before {
  background: linear-gradient(to bottom, rgba(15,37,64,0.15) 0%, rgba(15,37,64,0.45) 60%, rgba(15,37,64,0.75) 100%);
}
/* 子要素はオーバーレイより前に表示 */
.strength-card > * { position: relative; z-index: 1; }
/* 各カラムに画像をマッピング */
.strength-grid > .strength-card:nth-child(1) { background-image: url('../images/services/feature-01.png'); }
.strength-grid > .strength-card:nth-child(2) { background-image: url('../images/services/feature-02.png'); }
.strength-grid > .strength-card:nth-child(3) { background-image: url('../images/services/feature-03.png'); }

.strength-card__num {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  margin-bottom: 20px;
}
.strength-card__title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 4.8em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.strength-card__body {
  font-size: 0.92rem;
  line-height: 1.95;
  min-height: 3.9em;
  color: rgba(255,255,255,0.95);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.strength-card__sub {
  margin-top: 24px;
  padding-top: 20px;
  min-height: 100px;
  border-top: 1px solid rgba(255,255,255,0.3);
}
.strength-card__sub li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}
.strength-card__sub li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 1px;
  background: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .strength-grid { grid-template-columns: 1fr; gap: 4px; }
  .strength-card { padding: 56px 28px; min-height: 360px; }
}

/* =========================================================
   サービス紹介：設計→実行→振り返り・改善フロー
   ========================================================= */
.flow-lead {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text);
  margin: 24px auto 56px;
}
.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
}
.flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  width: 36px;
}
.flow-arrow svg { width: 30px; height: 30px; }

.flow-phase {
  flex: 1 1 0;
  position: relative;
  background: #fff;
  border: 5px solid var(--color-primary);
  border-radius: 36px;
  padding: 44px 20px 28px;
}
.flow-phase__label {
  position: absolute;
  top: 0;
  left: 32px;
  transform: translateY(-50%);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 12px;
}
.flow-phase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 12px;
}
.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.flow-item--center {
  grid-column: 1 / span 2;
  width: 50%;
  margin: 0 auto;
}
.flow-item__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.flow-item span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text);
}
@media (max-width: 900px) {
  .flow-diagram { flex-direction: column; }
  .flow-arrow { width: auto; height: 28px; }
  .flow-arrow svg { transform: rotate(90deg); }
  .flow-item--center { width: 100%; }
}

/* =========================================================
   サービス3カード（現在未使用・旧レイアウト）
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--color-bg);
  padding: 40px 32px;
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 4px 16px rgba(26,58,92,0.06);
  display: flex;
  flex-direction: column;
}
.service-card__num {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}
.service-card__title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--color-text);
}
.service-card__lead {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-card__list-title {
  font-size: 0.85rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 12px;
}
.service-card__list li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}
.service-card__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.service-card__cta { margin-top: auto; padding-top: 28px; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   ステップ
   ========================================================= */
.step-list {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  position: relative;
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.step-item:last-child { border-bottom: 0; }
.step-item__num {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 500;
  padding-top: 4px;
}
.step-item__num strong {
  display: block;
  font-size: 2rem;
  letter-spacing: 0;
  margin-top: 4px;
  font-weight: 700;
}
.step-item__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
.step-item__body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0;
}
@media (max-width: 768px) {
  .step-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .step-item__num strong { font-size: 1.5rem; }
}

/* =========================================================
   支援対象テーブル
   ========================================================= */
.target-list {
  max-width: var(--max-narrow-width);
  margin: 0 auto 40px;
}
.target-list li {
  padding: 16px 0 16px 28px;
  border-bottom: 1px dashed var(--color-border);
  font-size: 1rem;
  position: relative;
  line-height: 1.8;
}
.target-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--color-primary);
  font-weight: 700;
}

.target-table-wrap {
  max-width: var(--max-narrow-width);
  margin: 32px auto 0;
  overflow-x: auto;
}
.target-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.target-table th, .target-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.target-table thead th {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-primary);
}
.target-note {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  max-width: var(--max-narrow-width);
  margin: 16px auto 0;
  line-height: 1.7;
}

/* =========================================================
   代表メッセージ／引用ブロック
   ========================================================= */
.message-block {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
}
.message-block__title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
  color: var(--color-text);
}
.message-block__body {
  font-size: 1rem;
  line-height: 2.1;
}
.message-block__body p + p { margin-top: 1.5em; }
.message-block__sign {
  margin-top: 48px;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}
@media (max-width: 768px) {
  .message-block__title { font-size: 1.3rem; margin-bottom: 32px; }
}

/* =========================================================
   最終CTAブロック
   ========================================================= */
.final-cta {
  background: var(--color-primary-light);
  text-align: center;
}
.final-cta__title {
  font-size: 1.75rem;
  margin-bottom: 32px;
  color: var(--color-primary);
  line-height: 1.6;
}
.final-cta__body {
  font-size: 1rem;
  line-height: 2;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--color-text);
}
@media (max-width: 768px) {
  .final-cta__title { font-size: 1.3rem; }
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; opacity: 1; }
.footer-message {
  text-align: center;
  max-width: var(--max-narrow-width);
  margin: 0 auto 64px;
  padding: 0 24px;
}
.footer-message__title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-message__body {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.8);
}
.footer-message .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.footer-message .btn--outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
}
.footer-bottom {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 32px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .site-footer { padding: 56px 0 24px; }
  .footer-message__title { font-size: 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   下層ページ共通：ページヘッダー
   ========================================================= */
.page-header {
  padding: 88px 0 64px;
  background: var(--color-primary-light);
  text-align: center;
}
.page-header__title {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.page-header__lead {
  font-size: 1rem;
  line-height: 2;
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
@media (max-width: 768px) {
  .page-header { padding: 56px 0 40px; }
  .page-header__title { font-size: 1.5rem; }
}

/* =========================================================
   事業内容詳細ブロック
   ========================================================= */
.service-detail {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.service-detail + .service-detail { margin-top: 24px; }
.service-detail__inner {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  border: 1px solid var(--color-border);
}
.service-detail__num {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 500;
}
.service-detail__title {
  font-size: 1.75rem;
  margin: 16px 0 24px;
  line-height: 1.5;
}
.service-detail__catch {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  line-height: 1.7;
}
.service-detail__body {
  font-size: 1rem;
  line-height: 2;
}
.service-detail__body p + p { margin-top: 1em; }
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.service-detail__sub h4 {
  font-size: 0.85rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.service-detail__sub li {
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.7;
}
.service-detail__sub li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .service-detail__inner { padding: 40px 24px; }
  .service-detail__title { font-size: 1.4rem; }
  .service-detail__catch { font-size: 1rem; }
  .service-detail__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* =========================================================
   会社概要テーブル
   ========================================================= */
.info-table {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.8;
  vertical-align: top;
}
.info-table th {
  width: 180px;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: auto; padding: 12px 0; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 0; }
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.form-section {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  padding: 0 24px;
}
.form-list { display: grid; gap: 28px; }
.form-row label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.form-row label .req {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.form-row label .opt {
  display: inline-block;
  background: var(--color-border);
  color: var(--color-text-sub);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-row textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-agree {
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.9;
  text-align: center;
}
.form-submit { text-align: center; margin-top: 16px; }

/* =========================================================
   プライバシーポリシー本文
   ========================================================= */
.policy-body {
  max-width: var(--max-narrow-width);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.95rem;
  line-height: 2;
}
.policy-body h2 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p + p { margin-top: 1em; }
.policy-body ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.policy-body ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.policy-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  line-height: 2;
}
