/* ============================================================
   日本営業代行株式会社 共通スタイル
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #222;
  background: #fff;
}
a { color: #1a5fa8; text-decoration: none; }
a:hover { opacity: .82; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================ 共通 */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ボタン */
.btn-primary {
  display: inline-block;
  background: #c0392b;
  color: #fff !important;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: .95em;
  font-weight: 700;
  letter-spacing: .03em;
  transition: background .2s;
}
.btn-primary:hover { background: #a93226; opacity: 1; color: #fff !important; }
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #0d2b4e !important;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: .95em;
  font-weight: 700;
  border: 1.5px solid #0d2b4e;
}
.btn-secondary:hover { color: #0d2b4e !important; }
.btn-tel {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: .95em;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.5);
}

/* ============================================================ ヘッダー */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo a { display: flex; flex-direction: column; gap: 2px; }
.logo-name { font-size: 1.1em; font-weight: 700; color: #0d2b4e; letter-spacing: .03em; }
.logo-en { font-size: 10px; color: #888; letter-spacing: .1em; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-tel .num { font-size: 1.25em; font-weight: 700; color: #c0392b; letter-spacing: .04em; }
.header-tel .num a { color: #c0392b; }
.header-tel .hrs { font-size: 10px; color: #888; }
.header-btn {
  background: #c0392b;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: .82em;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.header-btn:hover { background: #a93226; opacity: 1; }

/* グローバルナビ */
#gnav { background: #0d2b4e; }
#gnav ul {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
#gnav ul li a {
  display: block;
  padding: 11px 13px;
  font-size: .8em;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
#gnav ul li a:hover { color: #fff; border-bottom-color: #f0c040; opacity: 1; }
#gnav ul li.nav-cta a { color: #f0c040; font-weight: 700; }

/* ============================================================ ページヒーロー */
.page-hero {
  background: #0d2b4e;
  padding: 32px 0 28px;
  border-bottom: 3px solid #f0c040;
}
.breadcrumb { font-size: .78em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: #fff; opacity: 1; }
.page-title { font-size: 1.55em; font-weight: 700; color: #fff; line-height: 1.35; }

/* ============================================================ ページ本文 */
.page-main { padding: 48px 0 56px; }
.page-content { max-width: 1060px; }

/* 見出し */
.page-content h2 {
  font-size: 1.25em;
  font-weight: 700;
  color: #0d2b4e;
  border-left: 4px solid #f0c040;
  padding-left: 14px;
  margin: 36px 0 14px;
  line-height: 1.4;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: #1a5fa8;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8e8f5;
}
.page-content h4 {
  font-size: .95em;
  font-weight: 700;
  color: #333;
  margin: 18px 0 8px;
}

/* テキスト */
.page-content p { margin-bottom: 14px; color: #333; line-height: 1.85; font-size: .95em; }
.page-content p:last-child { margin-bottom: 0; }
.page-content strong { font-weight: 700; color: #0d2b4e; }
.page-content em { font-style: normal; background: linear-gradient(transparent 55%, #fff27f 45%); }
.page-content a { color: #1a5fa8; text-decoration: underline; }
.page-content ul { margin: 10px 0 16px 0; }
.page-content ul li {
  padding: 5px 0 5px 18px;
  position: relative;
  font-size: .92em;
  color: #333;
  line-height: 1.7;
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  background: #1a5fa8;
  border-radius: 50%;
}
.page-content ol { margin: 10px 0 16px 20px; }
.page-content ol li { padding: 5px 0; font-size: .92em; color: #333; line-height: 1.7; }

/* カード・ボックス */
.info-card {
  background: #f7f9fc;
  border: 1px solid #d8e8f5;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 18px 0;
}
.merit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.merit-item {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  padding: 16px 14px;
  font-size: .88em;
}
.merit-item strong { display: block; color: #0d2b4e; margin-bottom: 4px; }
.merit-item span { color: #555; line-height: 1.65; }
.merit-check { color: #1a5fa8; font-weight: 700; margin-right: 6px; }

/* 料金テーブル */
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9em; }
.price-table th {
  background: #0d2b4e;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #1a3f6e;
}
.price-table td { padding: 11px 14px; border: 1px solid #e4eaf2; vertical-align: top; }
.price-table tr:nth-child(even) td { background: #f7f9fc; }
.price-table .price { font-weight: 700; color: #c0392b; white-space: nowrap; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e4eaf2; padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
  color: #0d2b4e;
  font-size: .95em;
  margin-bottom: 10px;
}
.faq-q::before {
  content: 'Q';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #0d2b4e;
  color: #f0c040;
  border-radius: 50%;
  font-size: .85em;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9em;
  color: #444;
  line-height: 1.8;
}
.faq-a::before {
  content: 'A';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #e6f1fb;
  color: #1a5fa8;
  border-radius: 50%;
  font-size: .85em;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* フロー */
.flow-steps { counter-reset: step; }
.flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4eaf2;
}
.flow-step:last-child { border-bottom: none; margin-bottom: 0; }
.flow-num {
  counter-increment: step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0d2b4e;
  color: #f0c040;
  border-radius: 50%;
  font-size: .9em;
  font-weight: 700;
  flex-shrink: 0;
}
.flow-body strong { display: block; font-size: .95em; font-weight: 700; color: #0d2b4e; margin-bottom: 4px; }
.flow-body span { font-size: .88em; color: #555; line-height: 1.7; }

/* 会社概要テーブル */
.company-table { width: 100%; border-collapse: collapse; font-size: .92em; }
.company-table th {
  width: 160px;
  background: #f7f9fc;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: #0d2b4e;
  border: 1px solid #e4eaf2;
  vertical-align: top;
}
.company-table td { padding: 12px 14px; border: 1px solid #e4eaf2; color: #333; line-height: 1.7; }

/* 画像 */
.page-img {
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.page-img img { width: 100%; max-height: 300px; object-fit: cover; }
.page-img-float {
  float: left;
  width: 180px;
  margin: 0 24px 16px 0;
  border-radius: 8px;
  overflow: hidden;
}
.page-img-float img { width: 100%; height: 220px; object-fit: cover; object-position: center 15%; }
.clearfix::after { content: ''; display: block; clear: both; }

/* アクションリンク */
.action-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

/* 注意書き */
.note {
  background: #fffbec;
  border-left: 4px solid #f0c040;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: .88em;
  color: #555;
  border-radius: 0 6px 6px 0;
}
.caution {
  background: #fef0ee;
  border-left: 4px solid #c0392b;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: .88em;
  color: #555;
  border-radius: 0 6px 6px 0;
}

/* ============================================================ CTAセクション */
.cta-section { background: #0d2b4e; padding: 48px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-title { font-size: 1.3em; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cta-sub { font-size: .88em; color: #7ab3e0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================ フッター */
#site-footer { background: #061828; padding: 32px 20px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav a { font-size: .78em; color: rgba(255,255,255,.55); }
.footer-nav a:hover { color: #fff; opacity: 1; }
.footer-copy { font-size: .72em; color: rgba(255,255,255,.35); }

/* ============================================================ レスポンシブ */
@media (max-width: 768px) {
  .header-btn { display: none; }
  .merit-list { grid-template-columns: 1fr; }
  .page-img-float { float: none; width: 100%; margin: 0 0 16px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  #gnav ul li a { padding: 9px 8px; font-size: .72em; }
  .company-table th { width: 110px; }
}
