/* ===== FUJIKURA CONSTRUCTION — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  --navy:       #0f1c2e;
  --navy-mid:   #1b2d42;
  --navy-light: #243d58;
  --gold:       #c49a3c;
  --gold-light: #ddb96a;
  --cream:      #f4f0e8;
  --cream-dark: #e8e2d5;
  --off-white:  #faf9f7;
  --gray:       #8a9bae;
  --text:       #1e2d3d;
  --text-light: #5a6a7a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(15,28,46,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196,154,60,0.2);
}
.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--cream); text-decoration: none;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 0.7rem;
  z-index: 201;
}
.nav-logo::before {
  content: '';
  display: block; width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.18em;
  color: rgba(244,240,232,0.75); text-decoration: none;
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer;
  background: none; border: none; padding: 6px;
  z-index: 201;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--gold-light);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.nav-mobile {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(15,28,46,0.98);
  backdrop-filter: blur(16px);
  z-index: 199;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--cream); text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(196,154,60,0.2);
  padding-bottom: 0.5rem;
  width: 200px; text-align: center;
}
.nav-mobile a:hover { color: var(--gold-light); }

/* ─── PAGE HERO (sub pages) ─── */
.page-hero {
  padding-top: 68px; height: 220px;
  display: flex; align-items: flex-end;
  background: var(--navy); position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(196,154,60,0.03) 40px, rgba(196,154,60,0.03) 41px
  );
}
.page-hero-content { position: relative; z-index: 2; padding: 2.5rem 3rem; }
.page-hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.page-hero h1 { font-family: 'Noto Serif JP', serif; font-size: 1.9rem; font-weight: 700; color: var(--cream); line-height: 1.3; }
.page-hero-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 80px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ─── SECTION LAYOUT ─── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 3rem; }
.section-label { font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.section-title { font-family: 'Noto Serif JP', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); line-height: 1.4; }
.section-title.light { color: var(--cream); }
.gold-rule { width: 40px; height: 2px; margin: 1.2rem 0 2rem; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--cream-dark); padding: 0.7rem 3rem; font-size: 0.72rem; color: var(--text-light); display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb a { color: var(--navy-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gray); font-size: 0.6rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--navy); border-top: 1px solid rgba(196,154,60,0.15); padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; color: var(--gold-light); letter-spacing: 0.1em; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(244,240,232,0.5); text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.68rem; color: var(--gray); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .site-nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section-inner { padding: 3rem 1.2rem; }
  .page-hero-content { padding: 2rem 1.2rem; }
  .breadcrumb { padding: 0.7rem 1.2rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 2rem 1.2rem; }
}
