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

:root {
  --primary: #1d1d21;         /* チャコール: ブランド主役色 */
  --primary-dark: #101012;    /* ほぼ黒 */
  --primary-light: #3a3a40;   /* 明るめチャコール（グラデ用） */
  --accent: #c7ccd4;          /* シルバー: 装飾・ボタン背景用 */
  --accent-light: #e6e9ee;    /* 明るいシルバー: ダーク背景上の文字・線用 */
  --accent-ink: #6a6e77;      /* グラファイト: 白背景上のラベル文字用（可読性確保） */
  --on-accent: #15151a;       /* シルバーの上に乗せる文字・アイコン色（ほぼ黒） */
  --accent-subtle: rgba(120,126,138,0.12);
  --text: #2b2b2e;
  --text-light: #6b6b70;
  --bg: #fff;
  --bg-light: #f5f5f6;
  --bg-dark: #141416;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  /* ===== メタリック・シルバー ===== */
  --silver-grad: linear-gradient(135deg, #f8f9fb 0%, #d4d7dd 22%, #a4aab4 47%, #e6e8ed 70%, #adb3bc 100%);
  --silver-text: linear-gradient(180deg, #ffffff 0%, #dbdee3 45%, #a8adb7 100%);
  --dark-grad: radial-gradient(135% 105% at 50% -12%, #2b2b32 0%, #18181c 55%, #0f0f12 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* ロゴ背景のダークチャコールに合わせ、ロゴが浮かず溶け込む */
  background: linear-gradient(180deg, rgba(33,34,39,0.97), rgba(26,27,31,0.97));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s, background 0.3s;
}
header.scrolled {
  background: linear-gradient(180deg, rgba(28,29,34,0.98), rgba(22,23,27,0.98));
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex; align-items: center;
  text-decoration: none; color: var(--primary);
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* 背景がヘッダーと同色なので角丸なしで自然に溶け込ませる */
  border-radius: 0;
}
@media (max-width: 768px) {
  .logo-img { height: 44px; }
}

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  text-decoration: none; color: rgba(255,255,255,0.82);
  font-size: 14px; font-weight: 500;
  position: relative; transition: color 0.3s;
}
nav a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.3s;
}
nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }
nav a.active { color: #fff; font-weight: 700; }
nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--silver-grad) !important;
  color: var(--on-accent) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 22px rgba(0,0,0,0.4); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 999; padding: 32px 24px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 16px 0;
  font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid #eee;
}
.mobile-nav .nav-cta {
  display: inline-block; margin-top: 24px;
  text-align: center; background: var(--silver-grad);
  color: var(--on-accent); font-weight: 700; padding: 14px 32px; border-radius: 50px; border-bottom: none;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px rgba(0,0,0,0.18);
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 140px 24px 80px;
  background: var(--dark-grad);
  color: #fff;
  overflow: hidden;
}
.page-hero-pattern {
  position: absolute; inset: 0; opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 50%, #fff 1px, transparent 1px),
    radial-gradient(circle at 75% 30%, #fff 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-size: 13px; opacity: 0.7; margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: #fff; text-decoration: none;
  transition: opacity 0.3s;
}
.page-hero .breadcrumb a:hover { opacity: 1; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; line-height: 1.4;
  margin-bottom: 16px;
}
.page-hero .hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase;
  background: var(--silver-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 16px; opacity: 0.85;
  max-width: 560px;
}
.page-hero-deco {
  position: absolute; right: -60px; bottom: -60px;
  width: 300px; height: 300px;
  border: 40px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

/* ===== COMMON ===== */
section { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900; color: var(--primary-dark); margin-bottom: 16px;
  position: relative; display: inline-block;
}
/* メタリックシルバーの下線（中央に光彩） */
.section-header .section-title::after {
  content: ''; display: block;
  width: 64px; height: 3px; margin: 18px auto 0;
  border-radius: 3px;
  background: var(--silver-grad);
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.section-desc {
  color: var(--text-light); max-width: 600px;
  margin: 0 auto; font-size: 15px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all 0.3s;
  cursor: pointer; border: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.btn-primary {
  background: var(--silver-grad); color: var(--on-accent);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 18px rgba(0,0,0,0.28);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 12px 28px rgba(0,0,0,0.42); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,255,255,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(6,199,85,0.45); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--dark-grad);
  text-align: center; color: #fff;
  padding: 80px 24px; position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-band h2 {
  background: var(--silver-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-band-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; margin-bottom: 12px; }
.cta-band p { opacity: 0.8; margin-bottom: 32px; }
.cta-band-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-band-phone {
  margin-top: 24px; font-size: 14px; opacity: 0.7;
}
.cta-band-phone a {
  color: var(--accent-light);
  font-family: 'Oswald', sans-serif;
  font-size: 26px; font-weight: 800;
  text-decoration: none;
  margin-left: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-img {
  height: 80px; width: auto; border-radius: 8px; margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; }
footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer li a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 13px; transition: color 0.3s;
}
footer li a:hover { color: var(--accent-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 18px;
  transition: background 0.3s;
}
.social-links a:hover { background: var(--accent); color: var(--on-accent); }
.social-links a.sns-line:hover { background: #06C755; color: #fff; }

/* ===== FLOATING CTA BAR ===== */
.floating-cta {
  position: fixed;
  z-index: 900;
  right: 24px; bottom: 24px;
  display: flex; gap: 12px;
  animation: fctaIn 0.5s ease 0.4s both;
}
@keyframes fctaIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.floating-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.floating-cta .fc-tel {
  background: #fff; color: var(--primary);
  border: 2px solid var(--primary);
}
.floating-cta .fc-tel small {
  display: block; font-size: 10px; font-weight: 500; opacity: 0.7; line-height: 1;
}
.floating-cta .fc-tel .fc-num {
  font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 800; line-height: 1.2;
}
.floating-cta .fc-form {
  background: linear-gradient(135deg, #06C755, #05b34c);
  color: #fff;
}
.floating-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.26);
}
.floating-cta .fc-form:hover {
  box-shadow: 0 12px 34px rgba(6,199,85,0.5);
}
.floating-cta .fc-icon {
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  /* スマホ: 画面下に常時固定の2分割バー */
  body { padding-bottom: 68px; }
  .floating-cta {
    right: 0; left: 0; bottom: 0;
    gap: 0;
    animation: fctaInUp 0.5s ease 0.3s both;
  }
  @keyframes fctaInUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
  .floating-cta a {
    flex: 1; justify-content: center;
    border-radius: 0; padding: 14px 8px;
    box-shadow: none;
    font-size: 14px;
  }
  .floating-cta .fc-tel {
    border: none;
    background: var(--primary); color: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  }
  .floating-cta .fc-tel small { color: rgba(255,255,255,0.75); }
  .floating-cta .fc-tel .fc-num { font-size: 16px; }
  .floating-cta .fc-form { box-shadow: 0 -4px 16px rgba(0,0,0,0.12); }
  .floating-cta a:hover { transform: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 16px; }
  .page-hero { padding: 120px 16px 60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-band { padding: 60px 16px; }
  .cta-band-buttons { flex-direction: column; align-items: center; }
}
