@charset "UTF-8";
/* ==========================================================================
   ADDSTEP 共通スタイル（全ページ横展開のベース）
   ブランドカラーなどはここの :root（CSS変数）で一元管理。
   ページ固有のレイアウトは各ページ用CSS（例: service.css）側に書く。
   ========================================================================== */

/* ---- デザイントークン（ここを変えると全ページに反映される） ---- */
:root {
  --brand-blue: #5d99da;       /* メインのブルー（ヘッダー・フッター帯） */
  --brand-blue-dark: #4983c4;  /* ホバー時など少し濃いブルー */
  --accent-orange: #ea6021;    /* 見出しラベルのオレンジ */
  --text-main: #333;
  --text-sub: #666;
  --line: #ccc;
  --line-light: #e5e5e5;
  --bg-page: #fff;
  --bg-soft: #f6f6f6;
  --content-width: 960px;      /* コンテンツの最大幅。中央寄せの基準 */
  --radius: 6px;
  --gap: 24px;
  --font-base: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
               "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* ---- リセット（最小限） ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--bg-page);
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

/* ---- 中央寄せ用ラッパー ---- */
.inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.page-tagline {
  background: var(--brand-blue);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-logo img { display: block; height: auto; }

/* グローバルナビ（テキスト化） */
.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 14px;
}
.global-nav li { position: relative; }
.global-nav li + li { padding-left: 16px; margin-left: 16px; }
.global-nav li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 14px;
  background: var(--line);
  transform: translateY(-50%);
}
.global-nav a {
  text-decoration: none;
  color: var(--text-main);
  padding: 4px 0;
  transition: color .2s;
}
.global-nav a:hover { color: var(--brand-blue); }
.global-nav a[aria-current="page"] {
  color: var(--brand-blue);
  font-weight: 600;
}

/* ==========================================================================
   メインビジュアル（バナー）— ここが中央寄せの主役
   max-width + margin:auto なので絶対に中央に来る
   ========================================================================== */
.page-hero {
  max-width: var(--content-width);
  margin: 0 auto 8px;
  padding: 0 20px;
}
.page-hero img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* パンくず */
.breadcrumb .inner {
  padding-top: 12px;
  padding-bottom: 12px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 12px;
  color: var(--text-sub);
}
.breadcrumb a { color: var(--text-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-blue); text-decoration: underline; }
.breadcrumb li::after { content: "›"; padding-left: 6px; color: var(--line); }
.breadcrumb li:last-child::after { content: none; }

/* ==========================================================================
   本体レイアウト（左ナビ + 右コンテンツ）
   ========================================================================== */
.layout {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 56px;
}
.sidebar { flex: 0 0 220px; }
.main-content { flex: 1 1 auto; min-width: 0; }

/* サイドナビ（テキスト化） */
.side-nav { border-top: 2px solid var(--line-light); }
.side-nav li { border-bottom: 1px solid var(--line-light); }
.side-nav a {
  display: block;
  padding: 14px 12px 14px 30px;
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  transition: background .2s, color .2s;
}
.side-nav a::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 8px; height: 8px;
  background: var(--brand-blue);
  transform: translateY(-50%);
}
.side-nav a:hover { background: var(--bg-soft); color: var(--brand-blue); }
.side-nav a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-weight: 600;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: var(--brand-blue);
  color: #fff;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.footer-brand .footer-tagline { font-size: 12px; margin-bottom: 4px; }
.footer-brand .footer-logo {
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 28px;
  letter-spacing: 1px;
}
.footer-brand .footer-corp { font-size: 13px; }
.footer-contact { text-align: right; line-height: 1.5; }
.footer-contact .addr { font-size: 14px; }
.footer-contact .tel { font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.footer-contact .tel a { color: #fff; text-decoration: none; }

.footer-bottom {
  background: var(--brand-blue);
  border-top: 1px solid rgba(255,255,255,.5);
}
.footer-bottom .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12px;
}
.footer-nav ul { display: flex; flex-wrap: wrap; }
.footer-nav li + li { padding-left: 12px; margin-left: 12px; position: relative; }
.footer-nav li + li::before {
  content: "|";
  position: absolute; left: -2px;
  color: rgba(255,255,255,.6);
}
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { color: #fff; font-size: 11px; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .sidebar { flex: 1 1 auto; width: 100%; }
  .side-nav { display: flex; flex-wrap: wrap; border-top: none; }
  .side-nav li { flex: 1 1 40%; }
  .footer-contact { text-align: left; }
  .footer-contact .tel { font-size: 24px; }
  .site-footer .inner,
  .footer-bottom .inner { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .global-nav ul { font-size: 12px; }
  .global-nav li + li { padding-left: 8px; margin-left: 8px; }
}
