:root {
  --ivory: #faf7f0; --honey: #d4952b; --honey-light: #e0a94a; --honey-pale: rgba(212,149,43,0.08);
  --walnut: #5c4033; --cream: #f0e8d8; --cream-deep: #e8dece; --charcoal: #3a3530;
  --text: #3a3530; --text-light: #7a7268; --text-lighter: #a09888; --white: #ffffff; --border: #e5ddd0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-ui: 'DM Sans', 'Noto Sans JP', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --max-width: 1200px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--ivory); line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 48px; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,247,240,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.4s, box-shadow 0.4s; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 24px rgba(92,64,51,0.05); }
.nav-logo { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--walnut); letter-spacing: 3px; transition: color 0.3s; }
.nav-logo:hover { color: var(--honey); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); position: relative; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--honey); transition: width 0.3s var(--ease-out); }
.nav-link:hover { color: var(--walnut); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--walnut); }
.nav-link.active::after { width: 100%; }
.nav-cta { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); background: var(--walnut); padding: 10px 24px; border-radius: 4px; transition: background 0.3s, transform 0.2s; }
.nav-cta:hover { background: var(--charcoal); transform: translateY(-1px); }
.nav-toggle { display: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--walnut); margin: 5px 0; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Page Hero */
.page-hero { padding: 160px 48px 100px; background: linear-gradient(165deg, var(--ivory) 0%, var(--cream) 100%); text-align: center; position: relative; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.page-hero-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 500; color: var(--walnut); margin-bottom: 20px; }
.page-hero-desc { font-size: 15px; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 2; }

.section { padding: 120px 48px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--honey); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; color: var(--walnut); line-height: 1.3; margin-bottom: 20px; }

/* Message */
.message { background: var(--ivory); }
.message-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; margin-top: 48px; }
.message-img { aspect-ratio: 3/4; background: var(--cream-deep); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-lighter); font-family: var(--font-ui); }
.message-text p { font-size: 15px; line-height: 2.2; color: var(--text-light); margin-bottom: 16px; }
.message-name { margin-top: 32px; }
.message-name .role { font-size: 12px; color: var(--text-lighter); letter-spacing: 1px; }
.message-name .name { font-size: 18px; font-weight: 700; color: var(--walnut); margin-top: 4px; }

/* Company Info */
.company { background: var(--cream); }
.company-table { max-width: 800px; margin: 48px auto 0; }
.company-row { display: flex; border-bottom: 1px solid var(--border); padding: 20px 0; }
.company-row:last-child { border-bottom: none; }
.company-label { width: 180px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--walnut); }
.company-value { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* Timeline */
.timeline { background: var(--ivory); }
.timeline-list { max-width: 760px; margin: 56px auto 0; position: relative; padding-left: 40px; }
.timeline-list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -40px; top: 6px; width: 16px; height: 16px; background: var(--ivory); border: 3px solid var(--honey); border-radius: 50%; }
.timeline-year { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--honey); letter-spacing: 1px; margin-bottom: 4px; }
.timeline-item h3 { font-size: 16px; font-weight: 700; color: var(--walnut); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* CTA */
.cta-section { padding: 100px 48px; background: var(--walnut); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(212,149,43,0.1) 0%, transparent 60%); pointer-events: none; }
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section .cta-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 12px; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; color: var(--ivory); margin-bottom: 16px; }
.cta-section p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.9; margin-bottom: 40px; }
.btn-cta-light { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--walnut); background: var(--ivory); padding: 18px 48px; border-radius: 4px; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s, box-shadow 0.3s; }
.btn-cta-light:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }

/* Footer */
.footer { background: var(--charcoal); padding: 64px 48px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ivory); letter-spacing: 3px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-nav { display: flex; gap: 64px; }
.footer-nav-title { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-nav-link { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.3s; }
.footer-nav-link:hover { color: var(--honey-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255,255,255,0.35); transition: color 0.3s; font-size: 13px; }
.footer-social a:hover { color: var(--honey-light); }

@media (max-width: 1024px) {
  .section, .page-hero { padding-left: 32px; padding-right: 32px; }
  .nav { padding: 0 32px; }
  .message-grid { grid-template-columns: 1fr; gap: 40px; }
  .message-img { max-width: 360px; }
  .company-row { flex-direction: column; gap: 4px; }
  .company-label { width: auto; }
  .footer-top { flex-direction: column; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--ivory); padding: 24px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 20px; }
  .nav-toggle { display: block; }
  .cta-section { padding: 56px 20px; }
  .footer { padding: 40px 20px 20px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
