/* ============================================================
   BIKE SHOP M2 – デザインシステム v2.0
   カラー: ネイビー #1a3a6b / オレンジ #f07800 / 白 #ffffff / 黒 #222222
   ============================================================ */

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

:root {
  /* ── ネイビー（構造・ブランド） */
  --red:        #1a3a6b;
  --red-dark:   #122952;
  --red-light:  #eef3fb;
  --red-mid:    #dde8f5;
  /* ── オレンジ（CTA・アクセント） */
  --orange:      #f07800;
  --orange-dark: #d46b00;
  --orange-light: #fff3e0;
  --black:      #222222;
  --gray-dark:  #444;
  --gray:       #888;
  --gray-light: #e0e0e0;
  --bg:         #f7f7f7;
  --white:      #ffffff;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "BIZ UDPGothic", Meiryo, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヘッダー・ナビはshrinkしない */
.bm2-header-top,
.bm2-nav,
.bm2-mobile-header,
.bm2-bottom-nav,
.bm2-site-footer { flex-shrink: 0; }

/* メインコンテンツが余白を埋める */
main { flex: 1 0 auto; }

/* ─────────────────────────────────────
   ヘッダー（PC）
───────────────────────────────────── */
.bm2-header-top {
  background: var(--red);
  color: #fff;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
}

/* ロゴ */
.bm2-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.bm2-logo-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.bm2-logo-bikeshop {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.92;
  line-height: 1;
  text-transform: uppercase;
}
.bm2-logo-name {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}
.bm2-logo-sub {
  font-size: 0.68rem;
  opacity: 0.82;
  margin-left: 2px;
  line-height: 1;
  margin-top: 2px;
}

/* 電話・営業時間（右側） */
.bm2-header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.bm2-phone-block {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.bm2-phone-icon {
  font-size: 1.4rem;
}
.bm2-phone-num {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
}
.bm2-header-hours {
  font-size: 0.72rem;
  opacity: 0.9;
  line-height: 1.7;
  text-align: left;
}

/* ─────────────────────────────────────
   ナビバー（PC）
───────────────────────────────────── */
.bm2-nav {
  background: #fff;
  border-bottom: 2px solid var(--gray-light);
  position: sticky;
  top: 72px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bm2-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0 24px;
  height: 52px;
}
.bm2-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  text-decoration: none;
  color: var(--gray-dark);
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.bm2-nav-link .nav-icon { font-size: 1rem; line-height: 1; vertical-align: middle; }
.bm2-nav-link:hover  { color: var(--red); border-bottom-color: var(--red); }
.bm2-nav-link.active { color: var(--red); border-bottom-color: var(--red); font-weight: 700; }
.bm2-nav-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 5px;
  line-height: 1.4;
}
.bm2-nav-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0 6px;
  position: relative;
}
.bm2-nav-user img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-light);
}
.bm2-nav-user .nu-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-dark);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bm2-nav-user .nu-caret { font-size: 0.7rem; color: var(--gray); }

/* ─────────────────────────────────────
   モバイルヘッダー
───────────────────────────────────── */
.bm2-mobile-header {
  display: none;
  background: var(--red);
  padding: 0 16px;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.bm2-mobile-logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.bm2-mobile-logo .ml-sub { font-size: 0.62rem; opacity: 0.85; font-weight: 400; }
.bm2-hamburger {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────
   モバイルドロワー
───────────────────────────────────── */
.bm2-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}
.bm2-drawer-overlay.open { display: block; }

.bm2-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 290px; height: 100%;
  background: #fff;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.bm2-drawer.open { transform: translateX(0); }

.bm2-drawer-hd {
  background: var(--red);
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.bm2-drawer-title { color: #fff; font-size: 1rem; font-weight: 700; }
.bm2-drawer-close {
  background: none; border: none;
  color: #fff; font-size: 24px;
  cursor: pointer; line-height: 1; padding: 4px;
}
.bm2-drawer-user {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-light);
  background: #fafafa;
}
.bm2-drawer-user img {
  width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gray-light);
  flex-shrink: 0;
}
.bm2-drawer-user .du-name { font-size: 0.95rem; font-weight: 700; }
.bm2-drawer-user .du-sub  { font-size: 0.75rem; color: var(--gray); margin-top: 2px; }

.bm2-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--black);
  font-size: 0.92rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.bm2-drawer-nav a:hover, .bm2-drawer-nav a.active {
  background: var(--red-mid);
  color: var(--red);
}
.bm2-drawer-nav a .dn-icon {
  font-size: 1.2rem; line-height: 1;
  width: 26px; text-align: center; flex-shrink: 0;
  vertical-align: middle;
}
.bm2-drawer-nav .dn-logout { color: var(--red); }

/* ─────────────────────────────────────
   ドロップダウン（PC ユーザーメニュー）
───────────────────────────────────── */
.bm2-dropdown { position: relative; }
.bm2-dropdown-menu {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  min-width: 200px;
  overflow: hidden;
  z-index: 9999;
}
.bm2-dropdown-menu.open { display: block; }
.bm2-dm-user {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
}
.bm2-dm-user img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.bm2-dm-user .dmu-name { font-size: 0.92rem; font-weight: 700; }
.bm2-dm-user .dmu-sub  { font-size: 0.75rem; color: var(--gray); }
.bm2-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--black);
  font-size: 0.88rem;
  transition: background 0.15s;
}
.bm2-dropdown-menu a:hover { background: #f5f5f5; }
.bm2-dropdown-menu .dm-logout { color: var(--red); border-top: 1px solid var(--gray-light); }

/* ─────────────────────────────────────
   下部固定ナビ（スマホ）
───────────────────────────────────── */
.bm2-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid var(--gray-light);
  z-index: 1000;
  height: 60px;
}
.bm2-bottom-nav-inner { display: flex; height: 100%; }
.bm2-bnav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--gray);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 4px 2px;
  transition: color 0.2s;
}
.bm2-bnav-link .bn-icon { font-size: 1.3rem; line-height: 1; display: block; margin: 0 auto 2px; }
.bm2-bnav-link.active   { color: var(--red); }

/* ─────────────────────────────────────
   ページコンテンツラッパー
───────────────────────────────────── */
.bm2-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 28px 80px;
}

/* ─────────────────────────────────────
   セクションタイトル
───────────────────────────────────── */
.bm2-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
  line-height: 1.3;
}

/* ─────────────────────────────────────
   ヒーローバナー（バイク写真風）
   想定画像サイズ: 1920×600px 横長
───────────────────────────────────── */
.bm2-hero-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  /* 1920×600の比率を維持しつつ最小高さを確保 */
  height: clamp(280px, 31.25vw, 480px);
  margin-bottom: 28px;
  display: flex;
  align-items: stretch;
  background: #111;
}

/* 左右バイクエリア：両端に absolute 固定 */
.bm2-hero-bike-left,
.bm2-hero-bike-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 42%;
  overflow: hidden;
}
.bm2-hero-bike-left  { left: 0; }
.bm2-hero-bike-right { right: 0; }

.bm2-hero-bike-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.bm2-hero-banner:hover .bm2-hero-bike-img { transform: scale(1.04); }

/* 左：バイク右寄り＋右端フェード */
.bm2-hero-bike-left .bm2-hero-bike-img  { background-position: right center; }
.bm2-hero-bike-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.5) 100%
  );
  pointer-events: none;
}

/* 右：バイク左寄り＋左端フェード */
.bm2-hero-bike-right .bm2-hero-bike-img { background-position: left center; }
.bm2-hero-bike-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.5) 100%
  );
  pointer-events: none;
}

/* 画像がない場合のフォールバック */
.bm2-hero-bike-left .bm2-hero-bike-img:not([style*="background-image"]) {
  background-color: #1e1e1e;
  background-image: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.bm2-hero-bike-right .bm2-hero-bike-img:not([style*="background-image"]) {
  background-color: #181818;
  background-image: linear-gradient(225deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* 中央テキストオーバーレイ */
.bm2-hero-content {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  transform: translateX(-50%);
  width: 34%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 24px 16px;
  background: none;
}
.bm2-hero-content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  height: 130%;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.0) 100%
  );
  z-index: -1;
  pointer-events: none;
}
.bm2-hero-content h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  letter-spacing: 0.06em;
}
.bm2-hero-content p {
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  font-weight: 500;
  line-height: 1.7;
}
.bm2-hero-content .bm2-btn {
  font-size: clamp(0.88rem, 1vw, 1rem);
  height: 50px;
  padding: 0 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(240,120,0,0.5);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────
   ウェルカムカード
───────────────────────────────────── */
.bm2-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 28px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bm2-welcome-left { display: flex; align-items: center; gap: 16px; }
.bm2-welcome-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-light);
  flex-shrink: 0;
}
.bm2-welcome-name  { font-size: 1.25rem; font-weight: 800; color: var(--black); line-height: 1.2; }
.bm2-welcome-sub   { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }
.bm2-member-info   { font-size: 0.8rem; color: var(--gray); line-height: 2; text-align: right; }
.bm2-member-info strong { color: var(--black); font-size: 0.95rem; }
.bm2-member-info a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}
.bm2-member-info a::after { content: '›'; font-size: 1.1rem; color: var(--gray); }

/* ─────────────────────────────────────
   メインカードグリッド（4列）
───────────────────────────────────── */
.bm2-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.bm2-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.bm2-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }

/* カードヘッダー行（アイコン＋タイトル） */
.bm2-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.bm2-card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #f5f5f5;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
  transition: background 0.2s;
}
.bm2-card-icon i {
  font-size: 36px;
  color: #444;
  line-height: 1;
  transition: color 0.2s;
}
.bm2-card:hover .bm2-card-icon {
  background: var(--orange-light);
  border-color: rgba(240,120,0,0.25);
}
.bm2-card:hover .bm2-card-icon i { color: var(--orange); }
.bm2-card:hover .bm2-card-icon img { filter: brightness(0) saturate(100%) invert(47%) sepia(99%) saturate(700%) hue-rotate(15deg) brightness(103%); }
.bm2-card-svg-icon {
  width: 38px;
  height: 38px;
  display: block;
  filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(60%);
  transition: filter 0.2s;
}
.bm2-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
}

.bm2-card-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.bm2-card-value.no-data {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}
.bm2-card-value small { font-size: 1rem; font-weight: 500; color: var(--gray); }
.bm2-card-desc { font-size: 0.82rem; color: var(--gray); flex: 1; margin-bottom: 16px; line-height: 1.6; }

/* 予約リスト（カード内）*/
.bm2-booking-list { flex: 1; margin-bottom: 14px; }
.bm2-booking-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.bm2-booking-item:last-child { border-bottom: none; }
.bm2-booking-date {
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}
.bm2-booking-date .bd-m { font-size: 0.65rem; line-height: 1; opacity: 0.9; }
.bm2-booking-date .bd-d { font-size: 1.3rem; font-weight: 900; line-height: 1.1; }
.bm2-booking-date .bd-t { font-size: 0.65rem; line-height: 1; opacity: 0.9; }
.bm2-booking-svc { font-size: 0.82rem; font-weight: 600; color: var(--black); }

/* ─────────────────────────────────────
   ボタン共通
───────────────────────────────────── */
.bm2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 28px;
  height: 48px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.bm2-btn:hover { background: var(--orange-dark); transform: translateY(-1px); color: #fff; }
.bm2-btn:active { transform: translateY(0); }
.bm2-btn-block { display: flex; width: 100%; margin-top: auto; }
.bm2-btn-sm { height: 40px; font-size: 0.85rem; padding: 0 16px; border-radius: 6px; }
.bm2-btn-outline {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
}
.bm2-btn-outline:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────
   ご利用メニュー（カードグリッド）
───────────────────────────────────── */
.bm2-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.bm2-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.bm2-menu-item:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240,120,0,0.12);
}
.bm2-menu-item .mi-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #f5f5f5;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s;
  border: 1px solid #e8e8e8;
}
.bm2-menu-item .mi-icon i {
  font-size: 32px;
  color: #444444;
  transition: color 0.22s;
  line-height: 1;
}
.bm2-menu-item:hover .mi-icon {
  background: var(--orange-light);
  border-color: rgba(240,120,0,0.25);
}
.bm2-menu-item:hover .mi-icon i { color: var(--orange); }
.bm2-menu-item-title { font-size: 0.92rem; font-weight: 700; color: var(--black); transition: color 0.22s; }
.bm2-menu-item-sub   { font-size: 0.76rem; color: var(--gray); margin-top: 3px; font-weight: 400; line-height: 1.4; }
.bm2-menu-item:hover .bm2-menu-item-title { color: var(--orange); }
.bm2-menu-item.logout-btn .mi-icon { background: #fafafa; }
.bm2-menu-item.logout-btn .mi-icon i { color: #888; }
.bm2-menu-item.logout-btn:hover .mi-icon { background: #fce4e4; border-color: rgba(211,47,47,0.2); }
.bm2-menu-item.logout-btn:hover .mi-icon i { color: #c0392b; }

/* ─────────────────────────────────────
   サービスカードグリッド（index.php用）
───────────────────────────────────── */
.bm2-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.bm2-service-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
}
.bm2-service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.bm2-svc-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.bm2-svc-icon i {
  font-size: 32px;
  color: #444444;
  transition: color 0.2s;
  line-height: 1;
}
.bm2-service-card:hover .bm2-svc-icon i { color: var(--orange); }
.bm2-svc-name { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 6px; line-height: 1.4; }
.bm2-svc-time { font-size: 0.8rem; color: var(--gray); margin-bottom: 14px; flex: 1; }

/* ─────────────────────────────────────
   お知らせ（フル幅カード）
───────────────────────────────────── */
.bm2-notice-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 28px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}
.bm2-notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.bm2-notice-title  { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.bm2-notice-date   { font-size: 0.78rem; color: var(--gray); }
.bm2-notice-body   { font-size: 0.88rem; color: #555; line-height: 1.7; }
.bm2-link {
  color: var(--red);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.bm2-link:hover { text-decoration: underline; }
.bm2-link::after { content: '›'; font-size: 1.1rem; }

/* ─────────────────────────────────────
   バッジ
───────────────────────────────────── */
.bm2-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  padding: 1px 7px;
  line-height: 1.6;
  vertical-align: middle;
}

/* ─────────────────────────────────────
   レスポンシブ
───────────────────────────────────── */
@media (max-width: 1100px) {
  .bm2-cards        { grid-template-columns: repeat(2, 1fr); }
  .bm2-menu-grid    { grid-template-columns: repeat(2, 1fr); }
  .bm2-service-grid { grid-template-columns: repeat(2, 1fr); }
  .bm2-hero-content h1 { font-size: 2.4rem; }
  /* ナビを少し詰める */
  .bm2-nav-inner { padding: 0 12px; }
  .bm2-nav-link  { padding: 0 10px; gap: 4px; font-size: 0.82rem; }
}

@media (max-width: 900px) {
  /* ナビをさらに詰める */
  .bm2-nav-inner { padding: 0 6px; }
  .bm2-nav-link  { padding: 0 6px; gap: 3px; font-size: 0.72rem; }
  .bm2-nav-link .nav-icon { font-size: 0.9rem; }
  .bm2-nav-user .nu-name  { font-size: 0.78rem; }
  .bm2-nav-user img { width: 26px; height: 26px; }
  /* 文字サイズコントロール非表示 */
  #bm2FontCtrl { display: none !important; }
}

@media (max-width: 767px) {
  /* PC ヘッダー非表示 */
  .bm2-header-top { display: none !important; }
  .bm2-nav        { display: none !important; }

  /* モバイル要素表示 */
  .bm2-mobile-header { display: flex; }
  .bm2-bottom-nav    { display: block; }

  /* コンテンツ余白 */
  .bm2-content { padding: 70px 14px 74px; }

  /* ヒーロー */
  .bm2-hero-banner      { height: 220px; border-radius: 10px; }
  .bm2-hero-bike-left,
  .bm2-hero-bike-right  { flex: 0 0 30%; }
  .bm2-hero-content     { width: 44%; }
  .bm2-hero-content h1  { font-size: 1.5rem; margin-bottom: 8px; }
  .bm2-hero-content p   { font-size: 0.78rem; margin-bottom: 16px; }
  .bm2-hero-content .bm2-btn { height: 42px; font-size: 0.85rem; padding: 0 20px; }

  /* ウェルカム */
  .bm2-welcome { flex-direction: column; align-items: flex-start; padding: 18px; }
  .bm2-member-info { text-align: left; }
  .bm2-member-info a { justify-content: flex-start; }

  /* カード */
  .bm2-cards    { grid-template-columns: 1fr; gap: 12px; }
  .bm2-card     { min-height: auto; padding: 18px 16px; }

  /* メニュー */
  .bm2-menu-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bm2-menu-item { padding: 16px 14px; gap: 12px; }
  .bm2-menu-item .mi-icon { width: 42px; height: 42px; font-size: 1.25rem; }

  .bm2-service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .bm2-hero-banner      { height: 180px; }
  .bm2-hero-bike-left,
  .bm2-hero-bike-right  { flex: 0 0 25%; }
  .bm2-hero-content     { width: 52%; }
  .bm2-hero-content h1  { font-size: 1.3rem; }
  .bm2-hero-content p   { display: none; }
  .bm2-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────
   サイトフッター（共通）
───────────────────────────────────── */
.bm2-site-footer {
  background: #0e1e3a;
  color: rgba(255,255,255,0.45);
  padding: 20px 16px;
  font-size: 0.78rem;
  text-align: center;
  margin-top: auto;
}
.bm2-site-footer-inner { max-width: 900px; margin: 0 auto; }
.bsf-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 8px;
}
.bsf-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s;
}
.bsf-links a:hover { color: #fff; }
.bsf-links a i { font-size: 0.8rem; }
.bsf-sep { color: rgba(255,255,255,0.2); }
.bsf-copy { font-size: 0.74rem; }

@media (max-width: 767px) {
  .bm2-site-footer {
    padding: 10px 12px calc(60px + 10px); /* ボトムナビ分の余白、上下を詰める */
    font-size: 0.7rem;
  }
  .bsf-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 4px;
  }
  .bsf-links a { padding: 0 8px; font-size: 0.7rem; }
  .bsf-sep { display: inline; }
}
