/* =============================================================================
   2. ヘッダー & ナビゲーション（完全新規）
   - PC: 2段ヘッダー（ロゴ行 + ナビバー）+ ドロップダウン
   - SP: ハンバーガーメニュー + アコーディオン + 下部固定バー
   ============================================================================= */

/* ─────────────────────────────
   共通ベース
───────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9000;
  background: #fff;
}

.h_logo p {
  font-family: "Good Times", sans-serif;
  font-weight: 900;
  font-size: 20px;
  font-style: italic;
  margin: 10px 0 0 40px;
  position: relative;
}
.h_logo p span {
  display: block;
  font-size: 12px;
  font-weight: 100;
  line-height: 20px;
  font-family: "ヒラギノ丸ゴ Pro", sans-serif;
}
.h_logo p::after {
  content: url(https://aksam.jp/img/aksamlogo.webp);
  transform: scale(0.2);
  position: absolute;
  top: -55px; left: -95px;
}

/* PC用要素はデフォルト非表示（PCメディアクエリで表示） */
.h-upper-right { display: none; }
.nav-line-pc   { display: none; }
.nav-mail-pc   { display: none; }

/* gNavはSPではJSが制御 */
#gNav { display: none; }

/* ─────────────────────────────
   SP ハンバーガーボタン
───────────────────────────── */
.sp-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  height: 60px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.sp-header-logo {
  display: flex;
  align-items: center;
  padding-left: 12px;
  flex: 1;
}
.sp-header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.sp-logo-img {
  width: 36px;
  height: auto;
}
.sp-logo-text {
  font-family: "Good Times", sans-serif;
  font-weight: 900;
  font-size: 16px;
  font-style: italic;
  color: #00364b;
  line-height: 1;
}
.sp-header-logo .lp-tittle {
  display: block;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  font-family: "ヒラギノ丸ゴ Pro", sans-serif;
  color: #666;
  margin-top: 5px;
}

.sp-menu-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px; height: 60px;
  padding: 0;
  background: #00364b;
  border: none;
  cursor: pointer;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 100;
}
.sp-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  transition: all 0.4s ease;
  position: absolute;
  left: 50%; margin-left: -8px;
}
.sp-menu-btn span:nth-child(1) { top: 16px; }
.sp-menu-btn span:nth-child(2) { top: 24px; }
.sp-menu-btn span:nth-child(3) { top: 32px; }
.sp-menu-btn em {
  position: absolute;
  bottom: 6px; left: 0;
  width: 100%; text-align: center;
  font-size: 9px; font-style: normal; font-weight: bold;
  color: #fff;
  font-family: "ヒラギノ丸ゴ Pro", sans-serif;
  padding-left: 4px;
}
.sp-menu-btn.is-active span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.sp-menu-btn.is-active span:nth-child(2) { opacity: 0; }
.sp-menu-btn.is-active span:nth-child(3) { top: 24px; transform: rotate(-45deg); }
.sp-menu-btn.is-active em { font-size: 0; }
.sp-menu-btn.is-active em::after { content: "とじる"; font-size: 9px; }

/* ─────────────────────────────
   SP オーバーレイマスク
───────────────────────────── */
.sp-menu-mask {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,20,30,0.4);
  z-index: 96;
}

/* ─────────────────────────────
   SP メニュー本体
───────────────────────────── */
.sp-menu-open { position: fixed; width: 100%; height: 100%; z-index: 1; }

#gNav.is-open {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 97;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}
#gNav.is-open::-webkit-scrollbar { display: none; }

#gNav.is-open > ul.nav {
  display: block;
  padding: 80px 0 40px;
  margin: 0; list-style: none;
  background: #f0f5fa;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
#gNav.is-open ul.nav > li {
  width: 100%;
  border-bottom: 1px solid #d4e3f0;
  box-sizing: border-box;
}
#header #gNav.is-open ul.nav > li > a {
  display: flex; align-items: center;
  padding: 12px 20px;
  color: #333; font-size: 15px; font-weight: 400;
  letter-spacing: 0.02em; line-height: 1.4;
  text-decoration: none;
}
#header #gNav.is-open .has-submenu > span.header-nolink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  color: #333; font-size: 15px; font-weight: 400;
  cursor: pointer; letter-spacing: 0.02em; line-height: 1.4;
}

/* SP アコーディオンボタン */
.sp-accordion-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  margin-left: 12px; padding: 0;
  background: transparent; border: none; cursor: pointer;
  flex-shrink: 0; position: relative;
  transition: transform 0.2s ease;
}
.sp-accordion-btn::before {
  content: ''; display: block;
  width: 18px; height: 2px;
  background: #6aabdf; position: absolute;
}
.sp-accordion-btn::after {
  content: ''; display: block;
  width: 2px; height: 18px;
  background: #6aabdf; position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sp-accordion-btn.is-open::after { transform: rotate(90deg); opacity: 0; }
.sp-accordion-btn.is-open::before { background: #d85e27; }

/* SP サブメニュー */
#gNav.is-open .has-submenu > .sub-menu {
  display: none;
  padding: 0; margin: 0; list-style: none;
  background: #e6eef6; overflow: hidden;
  width: 100%; box-sizing: border-box;
  position: static;
  visibility: visible; opacity: 1;
}
#gNav.is-open .has-submenu > .sub-menu > li {
  width: 100%; border-bottom: 1px solid #ccdced;
}
#gNav.is-open .has-submenu > .sub-menu > li:last-child { border-bottom: none; }
#header #gNav.is-open .has-submenu > .sub-menu > li > a {
  display: flex; align-items: center;
  padding: 10px 20px 10px 36px;
  color: #555; font-size: 14px; font-weight: 500;
  text-decoration: none; line-height: 1.4;
  width: 100%; box-sizing: border-box;
}
#gNav.is-open .has-submenu > .sub-menu > li > a:hover { background: #e8eff6; color: #5B9BD5; }

/* SP CTA */
#gNav.is-open .nav-contact-flex-wrap { border-bottom: none; padding: 0; }
#gNav.is-open .nav-contact-flex {
  display: flex; flex-direction: column; gap: 10px;
  margin: 20px 20px 36px; padding: 24px 20px;
  background: #f8f9fa; border-radius: 16px;
}
.nav-cta-label {
  text-align: center; font-size: 15px; font-weight: 700;
  color: #222; margin: 0 0 4px; line-height: 1.4;
}
.nav-cta-label span {
  display: block; font-size: 11px; font-weight: 500;
  color: #999; letter-spacing: 0.06em; margin-top: 2px;
}
.nav-cta-row { display: flex; gap: 8px; margin: 12px 0 8px; align-items: stretch; }
.nav-cta-tel {
  flex: 3; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 0; border-radius: 10px; font-weight: 900;
  text-decoration: none; line-height: 1; color: #fff !important; background: #5B9BD5;
}
.nav-cta-tel i { font-size: 18px; color: #fff !important; }
.nav-cta-tel-inner { display: flex; flex-direction: column; gap: 3px; }
.nav-cta-tel-label { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.85) !important; letter-spacing: 0.06em; }
.nav-cta-tel-number { font-size: 16px; font-weight: 900; color: #fff !important; letter-spacing: 0.02em; }
.nav-cta-line {
  flex: 2; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 0; border-radius: 10px; font-size: 14px; font-weight: 900;
  text-decoration: none; line-height: 1; color: #fff !important; background: #06C755;
}
.nav-cta-line svg { flex-shrink: 0; }
.nav-cta-line-inner { display: flex; flex-direction: column; gap: 2px; }
.nav-cta-line-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.95) !important; letter-spacing: 0.04em; }
.nav-cta-line-text { font-size: 14px; font-weight: 900; }
.nav-cta-mail {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 0; border-radius: 10px;
  border: 1px solid #e0e0e0; background: #fff;
  color: #555 !important; font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-cta-mail::before { content: '\f0e0'; font-family: 'FontAwesome'; font-size: 13px; color: #555; }
.nav-cta-dl {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px 0; border-radius: 8px;
  background: #f5f7f8; border: 1px solid #e0e4e7;
  color: #003549 !important; font-size: 12px; font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-cta-dl::before { content: '\f019'; font-family: 'FontAwesome'; font-size: 11px; color: #003549; }

/* SP 英語サブテキスト */
.nav-en {
  font-size: 11px; font-weight: 400;
  color: #b0c4d8; margin-left: 10px; letter-spacing: 0.06em;
}

/* ─────────────────────────────
   SP 下部固定CTAバー
───────────────────────────── */
@media only screen and (max-width: 1025px) {
  body { padding-bottom: 70px; }

  .sp-fixed-cta {
    display: flex;
    position: fixed; bottom: 0; left: 0;
    width: 100%; z-index: 9500;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic", "Yu Gothic", sans-serif;
  }
  .sp-fixed-cta-tel {
    flex: 3; display: flex; align-items: center; justify-content: flex-start;
    gap: 10px; padding: 10px 10px 10px 24px;
    background: #fff; color: #003549; text-decoration: none;
    border-right: 1px solid #e0e0e0;
  }
  .sp-fixed-cta-tel i { font-size: 30px; color: #1a5c7a; }
  .sp-fixed-cta-tel-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
  .sp-fixed-cta-tel-text em { font-size: 11px; font-style: normal; font-weight: 600; color: #003549; }
  .sp-fixed-cta-tel-row { display: flex; align-items: center; gap: 6px; }
  .sp-fixed-cta-tel-text strong { font-size: 19px; font-weight: 900; color: #1a5c7a; letter-spacing: 0.02em; }
  .sp-fixed-cta-badges { display: flex; flex-direction: column; gap: 2px; align-self: flex-end; }
  .sp-fixed-cta-badge {
    display: block; font-size: 9px; font-weight: 700; color: #fff;
    background: #e85d26; padding: 2px 0; border-radius: 3px;
    min-width: 62px; text-align: center; white-space: nowrap;
  }
  .sp-fixed-cta-tag { font-size: 9px; font-weight: 600; color: #e85d26; }
  .sp-fixed-cta-line {
    flex: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 0;
    background: #06C755; color: #fff; text-decoration: none;
    font-size: 11px; font-weight: 700;
  }
  .sp-fixed-cta-line-sub { font-size: 10px; font-weight: 600; opacity: 0.9; }
  .sp-fixed-cta-line-icon { width: 40px; height: 40px; }
}

/* ─────────────────────────────
   PC 2段ヘッダー（1025px+）
───────────────────────────── */
@media screen and (min-width: 1026px) {

  /* SP要素を非表示 */
  .sp-header-bar  { display: none; }
  .sp-menu-mask   { display: none !important; }
  .sp-accordion-btn { display: none; }
  .nav-en         { display: none; }
  .sp-fixed-cta   { display: none; }
  .header-contact { display: none; }
  .lp-tel         { display: none; }
  .lp-line        { display: none; }
  .lp-tel-tab     { display: none; }

  /* ヘッダー全体 */
  #header {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  }

  #h_top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ── 上段：ロゴ + CTAエリア ── */
  .h-row-upper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }
  .h-row-upper .h_logo p,
  .h-row-upper .h_logo h1 { position: relative; top: auto; left: auto; margin-left: 0; }
  .h-upper-right { display: flex; align-items: center; gap: 8px; }

  /* 資料DL */
  .h-upper-right .nav-contact { margin: 0; padding: 0; background: none; }
  .h-upper-right .nav-contact span { display: none; }
  .h-upper-right .nav-contact a {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: #003549; font-weight: 600;
    background: #f5f7f8; padding: 10px 16px;
    border: 1px solid #e0e4e7; border-radius: 8px;
    text-decoration: none; transition: all 0.2s; line-height: 1;
  }
  .h-upper-right .nav-contact a::before { content: '\f019'; font-family: 'FontAwesome'; font-size: 11px; }
  .h-upper-right .nav-contact a:hover { border-color: #003549; background: #edf1f3; }

  /* メール */
  .nav-mail-pc { display: block; }
  .h-upper-right .nav-mail-pc a {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: #fff; font-weight: 700;
    background: #00364b; padding: 10px 16px; border-radius: 8px;
    text-decoration: none; transition: all 0.2s; line-height: 1;
  }
  .h-upper-right .nav-mail-pc a::before { content: '\f0e0'; font-family: 'FontAwesome'; font-size: 10px; }
  .h-upper-right .nav-mail-pc a:hover { background: #004a66; }

  /* LINE */
  .nav-line-pc { display: block; }
  .nav-line-pc a {
    display: inline-flex; align-items: center; gap: 6px;
    background: #06C755; color: #fff; font-size: 12px; font-weight: 700;
    padding: 10px 16px; border-radius: 8px;
    text-decoration: none; transition: all 0.2s; line-height: 1;
  }
  .nav-line-pc a:hover { background: #05a648; }
  .nav-line-pc a svg { flex-shrink: 0; }

  /* 電話 */
  .h-upper-right .nav-tell {
    margin: 0; padding-left: 20px; margin-left: 12px;
    border-left: 2px solid #e8ecee;
  }
  .h-upper-right .nav-tell span.nav-tell-badges {
    display: flex; gap: 4px; margin-bottom: 6px;
    background: none; padding: 0; box-shadow: none;
  }
  .h-upper-right .nav-tell .nav-tell-badge {
    display: inline-block; font-size: 11px; color: #fff; line-height: 1;
    background: linear-gradient(135deg, #d85e27 0%, #c44d1a 100%);
    padding: 4px 10px; font-weight: 700; border-radius: 4px;
  }
  .h-upper-right .nav-tell a {
    font-size: 26px; color: #2a6e8f; font-weight: 900;
    text-decoration: none; background: none; padding: 0;
    letter-spacing: 0.04em; line-height: 1; display: block;
    position: static;
  }
  .h-upper-right .nav-tell a i { margin-right: 5px; font-size: 24px; color: #2a6e8f; }
  .h-upper-right .nav-tell .nav-tell-sub {
    display: block; font-size: 12px; font-weight: 600; color: #333;
    line-height: 1; margin-top: 4px; background: none; padding: 0 0 4px;
  }

  /* ── 下段：ナビバー ── */
  #h_top .h_nav {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00364b 0%, #004a66 50%, #00364b 100%);
    margin-bottom: 0;
  }
  /* ヘッダー全高さ = 上段 + ナビ50px + オレンジ3px → padding-topで吸収 */
  body { padding-top: 190px; }
  /* オレンジアクセントライン */
  #h_top .h_nav::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #00364b 0%, #d85e27 15%, #e8a45a 50%, #d85e27 85%, #00364b 100%);
    pointer-events: none;
  }

  /* gNav */
  #gNav { display: block; }
  #gNav .nav-contact-flex { display: none; }

  #gNav > .nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0; padding: 0;
    height: 50px;
  }

  #gNav > .nav > li {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
  }

  /* ── ナビリンク共通スタイル ── */
  #gNav > .nav > li > a,
  #gNav > .nav > li > span.header-nolink {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    cursor: pointer;
    box-sizing: border-box;
  }
  #gNav > .nav > li:hover > a,
  #gNav > .nav > li:hover > span.header-nolink { color: #fff; }

  /* ホバー下線 */
  #gNav > .nav > li > a { position: relative; }
  #gNav > .nav > li > a::after {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: #d85e27;
    transform: translateX(-50%);
    transition: width 0.25s;
  }
  #gNav > .nav > li:hover > a::after { width: 60%; }

  /* ▾ドロップダウン矢印 */
  #gNav > .nav > li > span.header-nolink > .nav-arrow {
    display: inline-block;
    font-size: 10px;
    color: #d85e27;
    margin-left: 4px;
    line-height: 1;
    transition: transform 0.25s;
  }
  #gNav > .nav > li:hover > span.header-nolink > .nav-arrow {
    transform: rotate(180deg);
    color: #e8a45a;
  }

  /* ── ドロップダウン ── */
  #gNav .has-submenu > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-top: 3px solid #d85e27;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s ease, visibility 0s linear 0.15s;
    z-index: 9999;
    padding: 6px 0;
    margin: 0; list-style: none;
  }
  #gNav .has-submenu:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s ease, visibility 0s;
  }
  #gNav .has-submenu > .sub-menu > li { display: block; margin: 0; padding: 0; }
  #gNav .has-submenu > .sub-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }
  #gNav .has-submenu > .sub-menu > li > a::before {
    content: '–';
    margin-right: 8px;
    color: #d85e27;
    font-weight: 700;
  }
  #gNav .has-submenu > .sub-menu > li > a:hover {
    background: #faf6f3;
    color: #d85e27;
  }

  /* PC nav-en非表示 */
  .nav-en { display: none; }
  .nav-logo { display: none; }
}


@charset "UTF-8";
/* =============================================================================
   base.css — aksam.jp 全ページ共通基盤
   Phase 1: ヘッダー / フッター / リセット / 共通ユーティリティ
   
   ▸ searvice.css + common-header.css + meanmenu.css を統合
   ▸ !important は原則排除（外部ライブラリ上書き等の最小限のみ）
   ▸ このファイルを全ページで読み込み、ページ固有CSSは別ファイルで管理
   ============================================================================= */

/* --- Google Fonts（1回だけ読み込み） --- */

@font-face {
  font-family: "Good Times";
  src: url("https://aksam.jp/fonts/good times rg.otf") format("opentype");
  font-display: swap;
}


/* =============================================================================
   1. リセット・ベース
   ============================================================================= */

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

body {
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.6em;
  font-family: "ヒラギノ丸ゴ Pro", sans-serif;
  font-weight: 500;
  color: #535761;
  -webkit-text-size-adjust: 100%;
}

table {
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

a {
  outline: none;
  color: #333;
  text-decoration: none;
  transition: 0.5s;
}

a:hover {
  text-decoration: none;
}

a:hover img {
  transition: 0.5s;
}

main { overflow: hidden; }

/* --- ユーティリティ --- */
.container { margin: 0 auto; }
.clr::after, .col::after, .container::after, .group::after, .row::after {
  content: "";
  display: table;
  clear: both;
}
.row { padding-bottom: 0; }
.col { display: block; float: left; width: 100%; }

.taC { text-align: center; }
.taR { text-align: right; }
.taL { text-align: left; }

.nolink { pointer-events: none; }

@media (min-width: 769px), print {
  .gutters .col { margin-left: 2%; }
  .gutters .col:first-child { margin-left: 0; }
  .gutters .colR:first-child { margin-right: 0; }
  .sp { display: none; }
}
@media (max-width: 768px) {
  .sp_none { display: none; }
}


/* =============================================================================
   6. フッター（刷新版）
   ============================================================================= */

.site-footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 上段 */
.footer-top {
  display: flex;
  gap: 60px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ブランドエリア */
.footer-brand {
  flex-shrink: 0;
  width: 220px;
}
.footer-logo-link img {
  display: block;
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo-text {
  font-family: "Good Times", sans-serif;
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 10px 0 20px;
  letter-spacing: 0.06em;
}
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
}
.footer-tel i { font-size: 16px; color: #d85e27; }
.footer-tel:hover { color: #d85e27; }
.footer-tel-note {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ナビエリア */
.footer-nav-new {
  display: flex;
  gap: 48px;
  flex: 1;
}
.footer-nav-col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-nav-heading {
  font-family: "Good Times", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #d85e27;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav-col ul li { margin-bottom: 8px; }
.footer-nav-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-nav-col ul li a:hover { color: #fff; }

/* 下段 */
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom-left img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}
.footer-jres-text {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-address {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-copy {
  margin: 0 0 0 auto;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* SP */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0 32px;
  }
  .footer-brand { width: 100%; }
  .footer-nav-new { gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-copy { margin: 0; }
}

/* =============================================================================
   7. SPハンバーガーメニュー（自作）
   ============================================================================= */

@media only screen and (max-width: 1025px) {

  /* --- body固定 --- */
  .sp-menu-open {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  /* --- SPヘッダーバー --- */
  .sp-header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    z-index: 98;
  }

  /* --- ハンバーガーボタン --- */
  .sp-menu-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 60px;
    padding: 0;
    background: #00364b;
    border: none;
    cursor: pointer;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 100;
  }
  .sp-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease;
    position: absolute;
    left: 50%;
    margin-left: -8px;
  }
  .sp-menu-btn span:nth-child(1) { top: 16px; }
  .sp-menu-btn span:nth-child(2) { top: 24px; }
  .sp-menu-btn span:nth-child(3) { top: 32px; }
  .sp-menu-btn em {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 9px;
    font-style: normal;
    font-weight: bold;
    color: #fff;
    font-family: "ヒラギノ丸ゴ Pro", sans-serif;
    padding-left: 4px;
  }
  .sp-menu-btn.is-active span:nth-child(1) {
    top: 24px;
    transform: rotate(45deg);
  }
  .sp-menu-btn.is-active span:nth-child(2) { opacity: 0; }
  .sp-menu-btn.is-active span:nth-child(3) {
    top: 24px;
    transform: rotate(-45deg);
  }
  .sp-menu-btn.is-active em { font-size: 0; }
  .sp-menu-btn.is-active em::after {
    content: "とじる";
    font-size: 9px;
  }

  /* --- 背景マスク --- */
  .sp-menu-mask {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,20,30,0.4);
    z-index: 96;
  }

  /* --- ナビ本体 --- */
  #gNav.is-open::-webkit-scrollbar { display: none; }

  #gNav.is-open > ul.nav {
    display: block;
    padding: 80px 0 40px 0;
    margin: 0;
    width: 100%;
    list-style: none;
    background: #f0f5fa;
    min-height: 100vh;
  }

  /* --- ナビ項目共通 --- */
  #gNav.is-open ul.nav > li {
    width: 100%;
    border-bottom: 1px solid #d4e3f0;
    box-sizing: border-box;
  }

  /* --- リンク項目 --- */
  #header #gNav.is-open ul.nav > li > a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }


  /* --- サブメニュー親 --- */
  #header #gNav.is-open .has-submenu > span.header-nolink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  /* --- ＋/−ボタン --- */
  .sp-accordion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 12px;
    padding: 0;
    font-size: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.2s ease;
  }
  .sp-accordion-btn::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: #6aabdf;
    position: absolute;
  }
  .sp-accordion-btn::after {
    content: '';
    display: block;
    width: 2px;
    height: 18px;
    background: #6aabdf;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .sp-accordion-btn.is-open::after {
    transform: rotate(90deg);
    opacity: 0;
  }
  .sp-accordion-btn.is-open::before {
    background: #d85e27;
  }
  .sp-accordion-btn:active {
    transform: scale(0.9);
  }

  /* --- サブメニュー（PC用リセット） --- */
  #gNav.is-open .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    width: 100%;
    z-index: auto;
    transition: none;
  }
  #gNav.is-open .has-submenu > .sub-menu {
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    background: #e6eef6;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  #gNav.is-open .has-submenu > .sub-menu > li {
    width: 100%;
    border-bottom: 1px solid #ccdced;
  }
  #gNav.is-open .has-submenu > .sub-menu > li:last-child {
    border-bottom: none;
  }
  #header #gNav.is-open .has-submenu > .sub-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 36px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
  }

  #gNav.is-open .has-submenu > .sub-menu > li > a:hover,
  #gNav.is-open .has-submenu > .sub-menu > li > a:active {
    background: #e8eff6;
    color: #5B9BD5;
  }

  /* --- CTA --- */
  #gNav.is-open .nav-contact-flex-wrap {
    border-bottom: none;
    padding: 0;
  }
  #gNav.is-open .nav-contact-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 20px 36px;
    padding: 24px 20px;
    background: #f8f9fa;
    border-radius: 16px;
  }
  #gNav.is-open .nav-cta-row {
    display: flex;
    gap: 8px;
    margin: 12px 0 8px;
    align-items: stretch;
  }
  #gNav.is-open .nav-cta-tel {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    color: #fff;
    background: #5B9BD5;
  }
  #gNav.is-open .nav-cta-line {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    color: #fff;
    background: #06C755;
  }
  #gNav.is-open .nav-cta-line svg {
    flex-shrink: 0;
  }
  #gNav.is-open .nav-cta-line-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  #gNav.is-open .nav-cta-line .nav-cta-line-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.04em;
  }
  #gNav.is-open .nav-cta-line .nav-cta-line-text {
    font-size: 14px;
    font-weight: 900;
  }
  #gNav.is-open .nav-cta-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }
  #gNav.is-open .nav-cta-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    border-radius: 8px;
    background: #f5f7f8;
    border: 1px solid #e0e4e7;
    color: #003549;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  /* --- SP専用要素 --- */
  .sp-header-bar { display: flex; }
  .nav-arrow { display: none; }
  .sp-accordion-btn { display: inline-flex; }

  /* --- ナビ英語サブテキスト --- */
  .nav-en {
    font-family: "Good Times", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #b0c4d8;
    margin-left: 10px;
    letter-spacing: 0.06em;
  }
}

/* PCではSP専用要素を非表示 */
@media only screen and (min-width: 1026px) {
  .sp-header-bar { display: none; }
  .sp-menu-mask { display: none; }
  .sp-accordion-btn { display: none; }
  .nav-en { display: none; }
  .has-submenu > .sub-menu { display: block; }
  .sp-fixed-cta { display: none; }
}

/* --- SP下部固定CTAバー --- */
@media only screen and (max-width: 1025px) {
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 95;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }

  /* 電話エリア（白背景・ブルー文字） */
  .sp-fixed-cta-tel {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 10px 10px 24px;
    background: #fff;
    color: #003549;
    text-decoration: none;
    border-right: 1px solid #e0e0e0;
  }
  .sp-fixed-cta-tel i {
    font-size: 30px;
    color: #1a5c7a;
  }
  .sp-fixed-cta-tel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
  }
  .sp-fixed-cta-tel-text em {
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    color: #003549;
    letter-spacing: 0.02em;
  }
  .sp-fixed-cta-tel-row {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sp-fixed-cta-tel-text strong {
    font-size: 19px;
    font-weight: 900;
    color: #1a5c7a;
    letter-spacing: 0.02em;
    font-family: 'Arial', sans-serif;
    line-height: 1;
  }
  .sp-fixed-cta-badges {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-self: flex-end;
  }
  .sp-fixed-cta-badge {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #e85d26;
    padding: 2px 0;
    border-radius: 3px;
    letter-spacing: 0.04em;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
    min-width: 62px;
  }
  .sp-fixed-cta-tag {
    font-size: 9px;
    font-weight: 600;
    color: #e85d26;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-top: 4px;
  }

  /* LINEエリア */
  .sp-fixed-cta-line {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 0;
    background: #06C755;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .sp-fixed-cta-line-sub {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    opacity: 0.9;
  }
  .sp-fixed-cta-line-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  /* ページ最下部のパディング（固定バーに隠れないように） */
  body { padding-bottom: 70px; }
}


/* =============================================================================
   8. color-change（スクロールでヘッダー背景変化）
   ============================================================================= */

.color-change {
  color: transparent;
  transition: all 0.8s ease;
}

.color-change.invert {
  color: #111111;
  background-color: rgba(255,255,255,0.70);
  transition: 0.5s 0.5s linear;
}

.color-change2 { color: transparent; }
.color-change2.invert2 { color: #000; text-align: left; }

@media screen and (min-width: 1025px) {
  .color-bk-pc { color: #000; }
}

.color-bk { color: #000; }


/* =============================================================================
   9. パンくずリスト
   ============================================================================= */

.Breadcrumb {
  background-color: #F5F5F5;
  position: relative;
  z-index: 1;
  margin-top: 70px;
  margin-bottom: 0;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.4;
  color: #000;
}

.Breadcrumb-ListGroup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25em 0;
}

.Breadcrumb-ListGroup-Item {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.Breadcrumb-ListGroup-Item:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin: 0 0.55em;
  font-size: 0.9em;
  opacity: 0.5;
}

.Breadcrumb-ListGroup-Item-Link {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
  white-space: nowrap;
}

.Breadcrumb-ListGroup-Item-Link:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.Breadcrumb-ListGroup-Item:last-child {
  flex: 1 1 240px;
  min-width: 0;
}

.Breadcrumb-ListGroup-Item:last-child .bread-last {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 600;
  font-size: inherit;
}

@media (max-width: 600px) {
  .Breadcrumb {
    margin-top: 60px;
    padding: 8px 14px;
    font-size: 12px;
  }
  .Breadcrumb li a { font-size: inherit; }
  .Breadcrumb-ListGroup-Item:last-child { flex-basis: auto; }
  .Breadcrumb-ListGroup-Item:last-child .bread-last {
    display: inline;
    margin-top: 0;
    font-size: inherit;
    font-weight: 600;
  }
  .Breadcrumb-ListGroup-Item:not(:last-child)::after {
    margin: 0 0.45em;
    opacity: 0.35;
  }
}

@media screen and (min-width: 1500px) {
  .Breadcrumb { padding: 15px 20% 5px; margin-top: 0; }
}

/* PC表示：bodyのpadding-topでヘッダー固定分を確保済み */
@media screen and (min-width: 1025px) {
  .Breadcrumb { margin-top: 0; }
}


/* =============================================================================
   10. 共通アニメーション
   ============================================================================= */

/* その場でフェードイン */
.fadeIn { animation: fadeInAnime 1s forwards; opacity: 0; }
@keyframes fadeInAnime { from { opacity: 0; } to { opacity: 1; } }

/* 下から */
.fadeUp { animation: fadeUpAnime 1s forwards; opacity: 0; }
@keyframes fadeUpAnime { from { opacity: 0; transform: translateY(100px); } to { opacity: 1; transform: translateY(0); } }

/* 上から */
.fadeDown { animation: fadeDownAnime 0.5s forwards; opacity: 0; }
@keyframes fadeDownAnime { from { opacity: 0; transform: translateY(-100px); } to { opacity: 1; transform: translateY(0); } }

/* 左から */
.fadeLeft { animation: fadeLeftAnime 0.5s forwards; opacity: 0; }
@keyframes fadeLeftAnime { from { opacity: 0; transform: translateX(-100px); } to { opacity: 1; transform: translateX(0); } }

/* 右から */
.fadeRight { animation: fadeRightAnime 1s forwards; opacity: 0; }
@keyframes fadeRightAnime { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }

/* タイピング */
.TextTyping span { display: none; }
.TextTyping::after { content: "|"; animation: typinganime 0.8s ease infinite; }
@keyframes typinganime { from { opacity: 0; } to { opacity: 1; } }

/* 背景色が伸びて出現 */
.bgextend { animation: bgextendAnimeBase 1s forwards; position: relative; overflow: hidden; opacity: 0; }
@keyframes bgextendAnimeBase { from { opacity: 0; } to { opacity: 1; } }

.bgappear { animation: bgextendAnimeSecond 1s 0.6s forwards; opacity: 0; }
@keyframes bgextendAnimeSecond { 0% { opacity: 0; } 100% { opacity: 1; } }

.bgLRextend::before {
  animation: bgLRextendAnime 1s forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 150px;
  background-color: #d85e27;
}
@keyframes bgLRextendAnime {
  0% { transform-origin: left; transform: scaleX(0); }
  50% { transform-origin: left; transform: scaleX(1); }
  50.001% { transform-origin: right; }
  100% { transform-origin: right; transform: scaleX(0); }
}

/* 1文字ずつ出現 */
.eachTextAnime span { opacity: 0; }
.eachTextAnime.appeartext span { animation: text_anime_on 2s ease-out forwards; }
@keyframes text_anime_on { 0% { opacity: 0; } 100% { opacity: 1; } }

/* スクロールフェード */
.scroll-fade-up { margin: auto; width: auto; }
.scroll-fade-left { margin: auto; width: auto; }
.scroll-fade-right { margin: auto; width: auto; }


/* =============================================================================
   11. 共通コンタクトセクション
   ============================================================================= */

.contact {
  background-color: #fff;
  padding: 10px 0 100px;
  text-align: center;
}

.address {
  display: block;
  margin: auto;
  width: 70%;
  text-align: left;
}

.contact a {
  text-decoration: none;
  color: #000;
  padding: 20px;
  border: 2px solid #000;
  display: block;
  margin: 30px auto;
  width: 70%;
  text-align: center;
}
.contact a span { margin-right: 10px; }
.contact a:hover { background-color: #000; color: #fff; }
.contact a i { font-size: 20px; margin-right: 10px; }

.contact-bannar-flex { }
.tel-bannar { }
.mail-bannar { }

@media screen and (min-width: 1025px) {
  .contact { padding: 100px 20%; }
  .contact a { width: auto; }
  .contact-bannar-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 10%;
  }
  .contact-bannar-flex div { width: 35%; margin: 0; padding: 0; }
}

@media screen and (min-width: 1500px) {
  .contact { padding: 100px 30%; }
}


/* =============================================================================
   12. 共通セクションタイトル
   ============================================================================= */

.section-tittle-wrap {
  text-align: left;
  margin: 50px 0 20px 20px;
}

span.section-tittle {
  font-size: 28px;
  color: #000000;
  margin: auto;
  font-family: "Good Times", sans-serif;
  border-bottom: 1px solid #eee;
}

span.section-tittle-wh {
  font-size: 28px;
  color: #fff;
  margin: auto;
  font-family: "Good Times", sans-serif;
  border-bottom: 1px solid #fff;
}

h1.section-tittle-mini,
h2.section-tittle-mini {
  font-size: 18px;
  text-align: left;
  display: block;
  color: #d85e27;
  font-weight: 300;
}

h2.section-tittle-mini-wh { color: #fff; font-size: 18px; }

span.section-tittle-mini-wh {
  font-size: 16px;
  text-align: left;
  display: block;
  color: #fff;
  font-weight: 300;
}

span.section-tittle2 {
  font-size: 20px;
  color: #fff;
  margin: auto;
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  border-bottom: 1px solid #eee;
  background-color: #3E3D3D;
  border-left: 7px solid #d85e27;
  padding: 10px;
  margin-bottom: 20px;
  display: inline-block;
  width: auto;
}

.content-more { text-align: right; margin-top: 10px; }
.content-more a {
  background-color: #3F3F3F;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
}
.content-more a:hover { background-color: #000; padding: 10px 20px; color: #fff; }
.content-more a i { margin-left: 20px; }

/* Font Awesome font-display: swap 上書き */
@font-face {
  font-family: 'FontAwesome';
  src: url('https://aksam.jp/fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2');
  font-display: swap;
}
