/* ===========================================================
   siren-header.css — Clean header for aircon-work.com (2026-05-16)

   Replaces the legacy #globalNavi / #header-logo markup with a
   class-namespaced (.hp-*) structure. By using new classes we sidestep
   the specificity battles between front-layout.css and the old
   siren-custom*.css overrides — none of the legacy rules touch .hp-*.

   Design: B1 (Navy + Orange brand). See mockups/header-B1-navy-orange.html.
   =========================================================== */

:root {
  --hp-brand-dark: #1B2A5E;
  --hp-brand-dark2: #2c3f7b;
  --hp-accent: #F07020;
  --hp-accent-hover: #d95d10;
  --hp-text-light: #6e7a99;
  --hp-bg-nav: #f7f8fb;
  --hp-bg-card: #ffffff;
  --hp-border: #e8ecf4;
}

.hp-header {
  background: var(--hp-bg-card);
  border-bottom: 1px solid var(--hp-border);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* Compensate fixed header height. Updated when header height changes. */
body { padding-top: 168px !important; }
@media (max-width: 1199px) { body { padding-top: 152px !important; } }
@media (max-width: 900px) { body { padding-top: 110px !important; } }

/* Top info bar */
.hp-topbar {
  background: linear-gradient(90deg, var(--hp-brand-dark) 0%, var(--hp-brand-dark2) 100%);
  color: #fff;
  font-size: 12px;
  padding: 6px 32px;
  text-align: center;
  letter-spacing: 0.02em;
}
.hp-topbar strong { color: var(--hp-accent); font-weight: 700; }

/* Row 1: Logo + Tel + CTA */
.hp-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  gap: 24px;
}
.hp-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.hp-logo:hover { text-decoration: none; }
.hp-logo-catch {
  font-size: 11px;
  color: var(--hp-text-light);
  font-weight: 500;
  margin-bottom: 4px;
}
.hp-logo-main {
  font-size: 28px;
  font-weight: 900;
  color: var(--hp-brand-dark);
  letter-spacing: 0.02em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.hp-logo-main em {
  color: var(--hp-accent);
  font-style: normal;
  font-weight: 900;
  /* Orange feels visually lighter than navy at same weight, so nudge it
     with a faint text-shadow to match the perceived stroke weight. */
  text-shadow: 0 0 0.3px var(--hp-accent);
}

.hp-row1-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hp-mail-hint {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: var(--hp-brand-dark);
}
.hp-mail-num {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--hp-brand-dark);
  line-height: 1.2;
}
.hp-mail-hours {
  font-size: 11px;
  color: var(--hp-text-light);
  margin-top: 4px;
}

.hp-cta-form {
  background: var(--hp-accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(240, 112, 32, 0.3);
  transition: background 0.15s, transform 0.05s;
}
.hp-cta-form:hover {
  background: var(--hp-accent-hover);
  color: #fff;
  text-decoration: none;
}
.hp-cta-form:active { transform: scale(0.98); }

.hp-topbar-cta {
  background: var(--hp-accent);
  color: #fff;
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
  margin-left: 16px;
}
.hp-topbar-cta:hover { background: var(--hp-accent-hover); color: #fff; text-decoration: none; }
.hp-topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Row 2: Navigation */
.hp-nav {
  background: var(--hp-bg-nav);
  border-top: 1px solid var(--hp-border);
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hp-nav li { list-style: none; margin: 0; padding: 0; }
.hp-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--hp-brand-dark);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  gap: 2px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.hp-nav a:hover {
  border-bottom-color: var(--hp-accent);
  color: var(--hp-accent);
  background: var(--hp-bg-card);
  text-decoration: none;
}
.hp-nav a .en {
  font-size: 10px;
  color: var(--hp-text-light);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hp-nav a.is-new { position: relative; }
.hp-nav a.is-new::after {
  content: 'NEW';
  position: absolute;
  top: 6px;
  right: 4px;
  background: var(--hp-accent);
  color: #fff;
  font-size: 8px;
  padding: 1px 4px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Mobile hamburger (visible only below 900px) */
.hp-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--hp-brand-dark);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.hp-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

/* Hide the legacy markup that the old theme still renders so it
   doesn't conflict during the transition. The clean .hp-header sits
   above it visually. */
#globalNavi { display: none !important; }

/* Responsive */
@media (max-width: 1199px) {
  .hp-row1 { padding: 14px 20px; gap: 16px; }
  .hp-row1-right { gap: 12px; }
  .hp-nav a { padding: 12px 12px; font-size: 13px; }
  .hp-nav a .en { font-size: 9px; }
  .hp-mail-num { font-size: 14px; }
  .hp-cta-form { padding: 12px 18px; font-size: 13px; }
}

@media (max-width: 900px) {
  .hp-topbar { padding: 6px 12px; font-size: 10px; line-height: 1.4; }
  .hp-row1 {
    padding: 10px 12px;
    gap: 8px;
    /* Logo on the left, hamburger pushed to the far right */
    justify-content: space-between;
    align-items: center;
  }
  .hp-logo-catch { font-size: 9px; line-height: 1.2; }
  .hp-logo-main { font-size: 18px; line-height: 1; white-space: nowrap; }
  .hp-nav { display: none; }
  /* On mobile, the sticky bottom bar handles the form CTA. Hide the
     header form button + mail hint to give the logo enough room and
     let the hamburger sit on the far right where users expect it. */
  .hp-row1-right { display: none; }
  .hp-mail-hint { display: none; }
  .hp-hamburger {
    display: flex;
    margin-left: auto;
    /* Order ensures hamburger is the last (rightmost) flex item. */
    order: 99;
  }
}


/* =========================================================
   Team Plan page-only styles (2026-05-16)
   ========================================================= */
.siren-page-hero-team {
  background: linear-gradient(135deg, var(--hp-brand-dark) 0%, var(--hp-brand-dark2) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.siren-page-hero-team::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240,112,32,0.12) 0%, transparent 70%);
}
.siren-page-hero-team .siren-section-label { color: var(--hp-accent); font-weight: 700; }
.siren-page-hero-team .siren-page-hero-title { color: #fff; font-size: 42px; font-weight: 900; margin: 8px 0 16px; }
.siren-page-hero-team .siren-page-hero-sub { color: rgba(255,255,255,0.9); font-size: 17px; line-height: 1.7; }
.siren-page-hero-team .siren-page-hero-sub strong { color: var(--hp-accent); font-size: 24px; }

.siren-team-compare {
  margin: 40px auto 0;
  max-width: 960px;
  overflow-x: auto;
}
.siren-team-compare table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.siren-team-compare thead th {
  background: var(--hp-brand-dark);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}
.siren-team-compare thead th.is-highlight {
  background: var(--hp-accent);
}
.siren-team-compare tbody th {
  background: #f5f7fa;
  padding: 14px 16px;
  font-weight: 700;
  text-align: left;
  color: var(--hp-brand-dark);
  font-size: 14px;
  border-bottom: 1px solid #e8ecf4;
  width: 22%;
}
.siren-team-compare tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #e8ecf4;
  color: var(--hp-brand-dark);
  font-size: 14px;
}
.siren-team-compare tbody td.is-highlight {
  background: rgba(240,112,32,0.06);
  color: var(--hp-accent);
  font-weight: 700;
}
.siren-team-compare tbody tr:last-child th,
.siren-team-compare tbody tr:last-child td { border-bottom: 0; }

.siren-team-cta {
  background: linear-gradient(135deg, var(--hp-brand-dark) 0%, var(--hp-brand-dark2) 100%);
  padding: 60px 0;
}

@media (max-width: 768px) {
  .siren-page-hero-team .siren-page-hero-title { font-size: 28px; }
  .siren-team-compare table { font-size: 12px; }
  .siren-team-compare thead th,
  .siren-team-compare tbody th,
  .siren-team-compare tbody td { padding: 10px 8px; }
}


/* =========================================================
   メール優先の動線整理 2026-05-16
   電話番号を載せる箇所は footer / page-about の会社情報のみに絞り、
   各ページの末尾に並んでいた巨大電話 CTA ブロックは非表示にする。
   ========================================================= */

/* page-*.php の末尾にある電話CTA ブロックを非表示 */
.siren-cta-tel,
.siren-cta-divider {
  display: none !important;
}

/* 残ったフォーム CTA を中央配置 + サイズ感アップ */
.siren-cta-contact {
  justify-content: center !important;
  text-align: center;
  padding: 24px 0;
}
.siren-cta-form-area {
  text-align: center;
  width: 100%;
  max-width: 480px;
}

/* スマホ追従ボタンを 1 個 (メール) に統一したときの表示調整 */
.siren-mobile-cta-solo {
  flex: 1;
  text-align: center;
  font-size: 14px !important;
}


/* =========================================================
   モバイル offcanvas メニュー: 不要な ☒/■ 装飾を完全排除 2026-05-16
   UIkit + 旧 mymall テーマ由来の li::before / li a::before 装飾が
   壊れた箱型アイコンとして表示されるので強制的に消す。
   ========================================================= */
#offcanvas .uk-nav li::before,
#offcanvas .uk-nav li::after,
#offcanvas .uk-nav li a::before,
#offcanvas .uk-nav li a::after,
.uk-offcanvas .uk-nav li::before,
.uk-offcanvas .uk-nav li::after,
.uk-offcanvas .uk-nav li a::before,
.uk-offcanvas .uk-nav li a::after,
.uk-nav-offcanvas li::before,
.uk-nav-offcanvas li::after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
}

/* offcanvas メニュー項目自体のスタイリング統一 */
#offcanvas .uk-nav-offcanvas a {
  padding: 14px 16px !important;
  color: #1B2A5E !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px;
  font-weight: 700;
}
#offcanvas .uk-nav-offcanvas a:hover {
  background: rgba(240, 112, 32, 0.08) !important;
  color: #F07020 !important;
}
#offcanvas .uk-nav-offcanvas a .en {
  font-size: 10px;
  color: #98a0b8;
  letter-spacing: 0.05em;
  font-weight: 600;
}
#offcanvas .uk-nav-header {
  color: #98a0b8 !important;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  padding: 14px 16px !important;
}
