@charset "UTF-8";
/* =============================================================
   HALUX サイト全体共通CSS
   (front-page.phpから変数・ベース・ヘッダー・フッターを抽出)
   ============================================================= */

:root {
  /* KAGAMI風カラーパレット (ブルー系) */
  --c-white: #FFFFFF;
  --c-light-blue: #E0F2FE;
  --c-pale-blue: #F0F9FF;
  --c-sky-blue: #7DD3FC;
  --c-blue: #0086CC;
  --c-blue-deep: #065986;
  --c-blue-dark: #0C4A6E;
  --c-ink: #0F172A;
  --c-gray-900: #1E293B;
  --c-gray-700: #475569;
  --c-gray-500: #94A3B8;
  --c-gray-300: #CBD5E1;
  --c-gray-100: #F1F5F9;
  --c-accent: #FBBF24;

  --f-jp: 'Zen Kaku Gothic New', sans-serif;
  --f-en: 'Outfit', sans-serif;
  --f-serif: 'Instrument Serif', serif;

  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-jp);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ================ */
/* Background Gradient (ベース) */
/* ================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(125, 211, 252, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(224, 242, 254, 0.6), transparent 60%),
    linear-gradient(180deg, #F8FCFF 0%, #FFFFFF 100%);
  z-index: -1;
  pointer-events: none;
}

/* ================ */
/* Header           */
/* ================ */
.site-header {
  position: fixed;
  top: 16px; left: 16px; right: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(6, 89, 134, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ (画像版) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.logo:hover .logo__img {
  opacity: 0.85;
}

/* ナビゲーション */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.nav > a {
  color: var(--c-gray-700);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s;
  position: relative;
}
.nav > a:hover {
  color: var(--c-blue);
  background: rgba(224, 242, 254, 0.6);
}
.nav > a.current {
  color: var(--c-blue);
}
.nav__cta {
  margin-left: 12px;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: var(--c-white) !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 134, 204, 0.3);
  transition: all 0.3s;
}
.nav__cta,
.nav__cta:hover,
.nav__cta:visited,
.nav__cta:focus {
  color: var(--c-white) !important;
}
.nav__cta:hover {
  background: linear-gradient(135deg, var(--c-blue-deep) 0%, var(--c-blue-dark) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 134, 204, 0.4);
}

/* ハンバーガー (モバイル用) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--c-blue-deep);
  transition: all 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー本体 */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-blue-deep);
  padding: 12px 24px;
}
.mobile-menu a.nav__cta {
  color: var(--c-white) !important;
  margin-top: 12px;
}

/* ================ */
/* 共通ボタン        */
/* ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--f-jp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(0, 134, 204, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 134, 204, 0.4);
}
.btn__arrow { transition: transform 0.3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ================ */
/* Footer           */
/* ================ */
.site-footer {
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  padding: 80px 0 0;
  color: var(--c-gray-700);
  position: relative;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(0, 134, 204, 0.15);
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.footer-brand__img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-brand__desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--c-gray-700);
  max-width: 400px;
}
.footer-col h4 {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--c-gray-700);
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--c-blue);
  padding-left: 4px;
}
.footer-col__nolink {
  color: var(--c-gray-500);
  font-size: 13.5px;
  display: inline-block;
}
.footer-bottom {
  padding: 28px 0;
  text-align: center;
  font-size: 12px;
  color: var(--c-gray-500);
  letter-spacing: 0.05em;
}

/* ================ */
/* Responsive       */
/* ================ */
@media (max-width: 1024px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .site-header {
    top: 8px; left: 8px; right: 8px;
    border-radius: 100px;
  }
  .site-header__inner { padding: 0 20px; height: 56px; }
  .logo__img { height: 30px; }
  .nav { display: none; }
  .hamburger { display: flex; }

  .site-footer { padding: 60px 0 0; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand__desc { font-size: 13.5px; }
  .footer-col a, .footer-col__nolink { font-size: 13.5px; }
}