:root{
  --bg: #f7f8fa; /* イントロ背景の基準色 */
  --bg-soft: #f2f4f7;
  --surface: rgba(255,255,255,.62);
  --surface-strong: rgba(255,255,255,.82);
  --text: #121417;
  --text-soft: rgba(18,20,23,.72);
  --line: rgba(18,20,23,.10);

  --shadow-soft: 0 16px 40px rgba(18,20,23,.08);
  --shadow-strong: 0 28px 90px rgba(18,20,23,.16);

  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1180px;
  --pad: 20px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--text);
  background: linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 42%, #f3f5f8 100%);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing:.01em;
  overflow-x:hidden;
}
body.page-ready{
  background: linear-gradient(180deg, #fbfbfc 0%, #f6f8fb 36%, #f2f5f8 100%);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(var(--container), 100%);
  margin:0 auto;
  padding:0 var(--pad);
}
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  z-index:9999;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:12px;
}
.skip-link:focus{ left:10px; }

.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:80;
  transform:translateY(-120%);
  opacity:0;
  transition:transform 1.35s cubic-bezier(.22,1,.36,1), opacity 1.2s ease;
  backdrop-filter:blur(16px);
  background:rgba(255,255,255,.48);
  border-bottom:1px solid rgba(18,20,23,.08);
}
body.header-visible .site-header{
  transform:translateY(0);
  opacity:1;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  width:48px; height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.08em;
  color:#13161a;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,246,249,.74));
  border:1px solid rgba(18,20,23,.10);
  box-shadow:var(--shadow-soft);
}
.brand-title{
  display:block;
  font-weight:800;
  font-size:14px;
}
.brand-sub{
  display:block;
  font-size:12px;
  color:var(--text-soft);
  margin-top:2px;
}

.site-nav{ display:flex; align-items:center; }
.nav-toggle{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(18,20,23,.10);
  background:rgba(255,255,255,.72);
  display:inline-grid;
  place-items:center;
  cursor:pointer;
}
.nav-toggle-lines{
  width:18px;
  height:12px;
  position:relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  border-radius:999px;
  background:#14171b;
}
.nav-toggle-lines::before{ top:1px; }
.nav-toggle-lines::after{ bottom:1px; }

.nav-panel{
  position:fixed;
  inset:72px 14px auto 14px;
  padding:14px;
  border-radius:24px;
  border:1px solid rgba(18,20,23,.10);
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-strong);
  display:none;
}
.nav-panel.is-open{ display:grid; gap:8px; }
.nav-link{
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(18,20,23,.08);
  font-weight:700;
}
.nav-link--cta{
  background:linear-gradient(180deg, rgba(22,24,28,.94), rgba(42,47,54,.84));
  color:#fff;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:16px;
  font-weight:800;
  border:1px solid rgba(18,20,23,.10);
  background:rgba(255,255,255,.76);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow-soft);
}
.btn-primary{
  color:#fff;
  border-color:rgba(18,20,23,.10);
  background:linear-gradient(180deg, rgba(20,22,25,.98), rgba(59,63,69,.90));
}
.btn-wide{ width:100%; }

.section{
  position:relative;
  padding:96px 0;
}
.section:nth-of-type(even){
  background:linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.18));
}
.section-head{
  max-width:780px;
  margin:0 auto 30px;
  text-align:center;
}
.section-grid{
  display:grid;
  gap:26px;
  align-items:center;
}
.section-copy{ max-width:640px; }
.section-kicker{
  margin:0 0 10px 0;
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  color:rgba(18,20,23,.54);
}
.section-title{
  margin:0 0 14px 0;
  font-size:32px;
  line-height:1.28;
  letter-spacing:.01em;
}
.section-text{
  margin:0;
  color:var(--text-soft);
  line-height:1.95;
  font-size:15px;
}
.section-text--narrow{
  max-width:760px;
  margin:0 auto;
}

.glass-photo,
.support-image__main,
.contact-box,
.service-card,
.flow-card{
  box-shadow:var(--shadow-soft);
}

.reveal-up{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .72s ease, transform .72s ease;
}
.reveal-up.is-in{
  opacity:1;
  transform:translateY(0);
}

.floating-banner{
  position:fixed;
  right:20px;
  bottom:22px;
  z-index:82;
  width:min(320px, calc(100vw - 40px));
  padding:14px 16px;
  border-radius:22px;
  background:rgba(255,255,255,.56);
  backdrop-filter:blur(16px);
  border:1px solid rgba(18,20,23,.10);
  box-shadow:var(--shadow-strong);
  transform:translateY(135%);
  opacity:0;
  transition:transform 1.35s cubic-bezier(.22,1,.36,1), opacity 1.2s ease;
}
body.banner-visible .floating-banner{
  transform:translateY(0);
  opacity:1;
}
.floating-banner__label{
  display:block;
  margin-bottom:6px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  color:rgba(18,20,23,.56);
}
.floating-banner__text{
  display:block;
  font-size:17px;
  font-weight:800;
}

.site-footer{
  padding:28px 0;
  border-top:1px solid rgba(18,20,23,.08);
  background:rgba(255,255,255,.42);
  backdrop-filter:blur(14px);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer-brand{ margin:0; font-weight:800; }
.footer-meta{ margin:0; color:var(--text-soft); }

@media (max-width: 979px){
  .nav-panel{
    max-height:calc(100svh - 90px);
    overflow:auto;
  }
}

@media (min-width: 980px){
  .nav-toggle{ display:none; }
  .nav-panel{
    position:static;
    display:flex !important;
    gap:10px;
    inset:auto;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }
  .nav-link{
    background:transparent;
    border:1px solid transparent;
    padding:10px 12px;
  }
  .nav-link:hover{
    background:rgba(255,255,255,.62);
    border-color:rgba(18,20,23,.08);
  }
  .nav-link--cta{
    background:linear-gradient(180deg, rgba(22,24,28,.95), rgba(53,58,64,.88));
    border-color:rgba(18,20,23,.08);
  }

  .section-title{ font-size:44px; }
  .section-grid--concept,
  .section-grid--support{
    grid-template-columns:1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal-up,
  .site-header,
  .floating-banner{ transition:none; }
}
