/* ═══════════════════════════════════════════
   forGIFT — shared.css  (Option E: White × Graphite)
   ═══════════════════════════════════════════ */
:root {
  --white:    #ffffff;
  --bg:       #fafafa;
  --bg2:      #f4f2ee;
  --ink:      #111111;
  --mid:      #333333;
  --muted:    #777777;
  --border:   #e8e8e8;
  --border2:  #dddddd;
  --nav-h:    64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 28px; width: auto; display: block;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px; font-weight: 400;
  color: var(--muted); text-decoration: none; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 40px;
  overflow: hidden;
  background: var(--white);
}
.hero-rule {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 15%, transparent 70%);
  opacity: .5;
}
.hero-content { position: relative; }
.hero-eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; margin-bottom: 32px;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300; line-height: 1.15; color: var(--ink);
}
.hero-title-sm {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 300; line-height: 1.3; color: var(--ink);
  text-wrap: balance;
}
.hero-title-sm em { font-style: italic; color: var(--mid); }
.hero-title em { font-style: italic; color: var(--mid); }

/* 1文字ずつぼかしアニメ */
.char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  animation: charIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes charIn {
  0%   { opacity: 0; filter: blur(8px); }
  100% { opacity: 1; filter: blur(0px); }
}
.hero-sub {
  font-size: 13px; font-weight: 400; line-height: 2.3;
  color: var(--muted); max-width: none; margin: 28px auto 0;
}
.hero-cta {
  margin-top: 48px;
}
.hero-cta a {
  display: inline-block; padding: 14px 48px;
  background: var(--ink); color: var(--white);
  font-family: 'Noto Serif JP', serif; font-size: 10px;
  text-transform: uppercase; text-decoration: none;
  transition: background .25s;
}
.hero-cta a:hover { background: var(--mid); }
.hero-scroll {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
}
.hero-scroll span {
  font-family: 'Noto Serif JP', serif; font-size: 9px;
  color: var(--muted); text-transform: uppercase;
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: pulse 2s infinite;
}

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }
.divider { height: 1px; background: var(--border); }
.bg-off { background: var(--bg); }
.bg-off2 { background: var(--bg2); }

/* ── TYPOGRAPHY ── */
.label {
  font-family: 'Noto Serif JP', serif; font-size: 10px; font-weight: 400;
  color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.label::before { content:''; width: 24px; height: 1px; background: var(--border2); }
.ttl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 300;
  line-height: 1.3; color: var(--ink);
  text-wrap: balance;
}
.ttl em { font-style: italic; color: var(--mid); }
.body-text {
  font-size: 13.5px; font-weight: 400; line-height: 2.3; color: var(--mid);
}

/* ── BUTTONS ── */
.btn-fill {
  display: inline-block; padding: 14px 48px;
  background: var(--ink); color: var(--white);
  font-family: 'Noto Serif JP', serif; font-size: 10px;
  text-transform: uppercase; text-decoration: none;
  transition: background .25s;
}
.btn-fill:hover { background: var(--mid); }
.btn-outline {
  display: inline-block; padding: 13px 44px;
  border: 1px solid var(--border2); color: var(--ink);
  font-family: 'Noto Serif JP', serif; font-size: 10px;
  text-transform: uppercase; text-decoration: none;
  transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: var(--ink); }

/* ── REVEAL ── */
.r { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.r.on { opacity: 1; transform: none; }
.r.d1 { transition-delay: .08s; } .r.d2 { transition-delay: .16s; }
.r.d3 { transition-delay: .24s; } .r.d4 { transition-delay: .32s; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
}
.footer-logo { font-family:'Cormorant Garamond',serif; font-size:17px; font-weight:300;  color:var(--muted); }
.footer-copy { font-family:'Noto Serif JP',serif; font-size:10px;  color:var(--muted); opacity:.6; }

/* ── ANIMATIONS ── */
@keyframes fadeUp  { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes pulse   { 0%,100%{opacity:.3} 50%{opacity:.8} }

/* ── RESPONSIVE ── */
@media(max-width:768px){
  nav { padding: 0 24px; }
  .wrap { padding: 0 24px; }
  .section { padding: 72px 0; }
  footer { flex-direction:column; gap:12px; text-align:center; padding:28px 24px; }
  .nav-links { gap: 20px; }
}
