/* Jupiter renewal (draft)
   Goal: mimic vivoo typography + spacing + subtle scroll animations
*/

:root{
  --bg:#ffffff;
  --text:#0b0f1a;
  --muted:#5b6475;
  --line:#e9edf5;
  --accent:#0b0f1a;
  --soft: #f6f8fc;
  --container: 1120px;
  --radius: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  /* vivoo reference: Zen Kaku Gothic New (Google Fonts) + Aquawax Pro (proprietary). */
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size:16px;
  line-height:1.75;
  letter-spacing: 0.01em;
}

a{ color:inherit; text-decoration:none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  height:72px;
}
.logo{
  font-weight: 700;
  letter-spacing: .02em;
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(11,15,26,.12);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  position: relative;
}
.nav-toggle__bar{
  display:block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--text);
  border-radius: 2px;
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle__bar:nth-child(1){ top: 14px; }
.nav-toggle__bar:nth-child(2){ top: 21px; }
.nav-toggle__bar:nth-child(3){ top: 28px; }

/* open state -> X */
body.nav-open .nav-toggle__bar:nth-child(1){ transform: translateX(-50%) translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3){ transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 26px rgba(11,15,26,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 18px 34px rgba(11,15,26,.16); }
.btn.ghost{
  background: transparent;
  color: var(--text);
  box-shadow: none;
  border: 1px solid rgba(11,15,26,.18);
}

.site-main{ padding-bottom: 80px; }

.hero{
  position: relative;
  overflow: hidden;
  padding: 120px 0 86px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(11,15,26,.08), transparent 70%),
              radial-gradient(closest-side, rgba(11,15,26,.06), transparent 70%);
  background-position: 12% 30%, 72% 18%;
  background-size: 520px 520px, 420px 420px;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}
.hero-copy{ position:relative; z-index:1; }
.hero-visual{ position:relative; z-index:1; }

.kicker{
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.hero h1{
  margin:0;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lead{
  margin-top: 22px;
  max-width: 56rem;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions{ margin-top: 26px; display:flex; gap:12px; flex-wrap:wrap; }

.visual-card{
  background: linear-gradient(180deg, rgba(246,248,252,1) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(11,15,26,.08);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(11,15,26,.12);
}
.visual-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,26,.12);
  background: rgba(255,255,255,.7);
  font-weight: 700;
  margin-bottom: 14px;
}
.visual-score{
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.visual-note{ color: var(--muted); margin-top: 10px; }

.float-dot{ position:absolute; border-radius:999px; background: rgba(11,15,26,.06); filter: blur(.2px); }
.float-dot.a{ width:140px; height:140px; top:-26px; right:-26px; }
.float-dot.b{ width:110px; height:110px; bottom:-30px; left:-22px; }
.float-dot.c{ width:70px; height:70px; top: 44%; right: -18px; }

.section{ padding: 78px 0; border-top: 1px solid var(--line); }
.section h1, .section h2{
  margin:0 0 16px;
  letter-spacing:-0.02em;
  line-height:1.2;
  font-weight: 700;
}
.section .sub{ color: var(--muted); max-width: 56rem; }

.grid-2{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.card{
  background: var(--soft);
  border: 1px solid rgba(11,15,26,.08);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3{ margin:0 0 8px; letter-spacing:-0.01em; }
.card p{ margin:0; color:var(--muted); }

.tel{ font-size: 22px; }

.site-footer{ border-top:1px solid var(--line); padding:24px 0; color:var(--muted); }

/* simple reveal animation (draft) */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in{ opacity:1; transform: translateY(0); }

@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .header-inner{ height:64px; }

  .nav-toggle{ display:inline-block; z-index: 30; }

  .nav-overlay{
    display:none;
    position: fixed;
    inset: 0;
    background: rgba(11,15,26,.35);
    z-index: 19;
  }
  body.nav-open .nav-overlay{ display:block; }
  body.nav-open{ overflow:hidden; }

  .nav{
    position: fixed;
    inset: 72px 12px auto 12px;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(11,15,26,.10);
    box-shadow: 0 22px 60px rgba(11,15,26,.16);
    z-index: 20;
  }
  body.nav-open .nav{ display:flex; }
  .nav a{ width: 100%; padding: 10px 12px; border-radius: 14px; }
  .nav a.btn{ justify-content:center; }

  .grid-2{ grid-template-columns: 1fr; }
}
