@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&display=swap');

:root {
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --black: #0D0D0D;
  --gray-100: #F0EFED;
  --gray-200: #E2E0DC;
  --gray-400: #9B9892;
  --gray-600: #5C5A56;
  --orange: #E8521A;
  --orange-light: #F26B34;
  --orange-pale: #FDF1EB;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

nav { display: flex; align-items: center; gap: 36px; }

nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--gray-600);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s;
}

nav a:hover { color: var(--black); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--black); }
nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  position: fixed;
  top: 20px;
  right: 40px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--white);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--white);
}

/* ─── SECTIONS ─── */
section { padding: 100px 0; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
  max-width: 520px;
  font-weight: 400;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 36px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,82,26,0.25); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--black);
  padding: 15px 35px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 500;
  border: 1.5px solid var(--black);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.arrow-icon { font-size: 14px; transition: transform 0.2s; }
.btn-primary:hover .arrow-icon,
.btn-outline:hover .arrow-icon { transform: translateX(4px); }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }

.footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 16px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 100;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 40px 48px;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 44px) 32px);
  transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open {
  clip-path: circle(150% at calc(100% - 44px) 32px);
  pointer-events: auto;
}
/* nav links - stagger fade in */
.mobile-nav-links a,
.mobile-nav-bottom {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-nav.open .mobile-nav-links a:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav-links a:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.32s; }
.mobile-nav.open .mobile-nav-links a:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.39s; }
.mobile-nav.open .mobile-nav-links a:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.46s; }
.mobile-nav.open .mobile-nav-bottom { opacity: 1; transform: none; transition-delay: 0.52s; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(42px, 11vw, 64px);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  line-height: 1.15;
  transition: color 0.25s, transform 0.25s, opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
}
.mobile-nav-links a:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.mobile-nav-links a:hover { color: var(--white); transform: translateX(8px); }
.mobile-nav-links a .nav-arrow {
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--orange);
}
.mobile-nav-links a:hover .nav-arrow { opacity: 1; }
.mobile-nav-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 18px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}
.mobile-nav-cta:hover { background: var(--orange-light); }
.mobile-nav-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── UTILITY ─── */
.text-orange { color: var(--orange); }
.bg-off-white { background: var(--off-white); }
.bg-black { background: var(--black); color: var(--white); }
.divider {
  width: 40px; height: 2px;
  background: var(--orange);
  margin: 24px 0;
}

/* ─── ANIMATIONS (managed by js/main.js) ─── */
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */

/* ── 大デスクトップ（1440px〜） ── */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  header { padding: 0 64px; }
  section { padding: 120px 0; }
  .section-title { font-size: 48px; }
  .section-sub { font-size: 16px; max-width: 600px; }
  .footer-inner { gap: 64px; }
}

/* ── タブレット（768px〜1023px） ── */
@media (max-width: 1023px) {
  header { padding: 0 32px; }
  nav { gap: 24px; }
  nav a { font-size: 11px; }
  .container { padding: 0 32px; }
  section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── スマホ（〜767px） ── */
@media (max-width: 767px) {
  header { padding: 0 24px; }
  nav { display: none; }
  .hamburger {
    display: flex;
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 200;
  }
  header .logo {
    position: fixed;
    top: 0;
    left: 0;
    height: 72px;
    padding-left: 24px;
    z-index: 200;
    display: flex;
    align-items: center;
  }
  header.nav-open .logo { color: var(--white); }
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  .section-sub { font-size: 14px; }
  .btn-primary, .btn-outline {
    padding: 18px 32px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col ul li { margin-bottom: 20px; }
  .footer-col ul li a { font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ─── SHARED SCRIPT (inline) ─── */
