:root{
  --bg:#040814;
  --bg-2:#091224;
  --bg-3:#0d1930;
  --panel:rgba(255,255,255,0.05);
  --panel-strong:rgba(255,255,255,0.08);
  --line:rgba(255,255,255,0.10);
  --line-strong:rgba(255,255,255,0.16);
  --text:#f7fbff;
  --muted:rgba(255,255,255,0.72);
  --muted-soft:rgba(255,255,255,0.54);
  --blue:#60a5fa;
  --cyan:#67e8f9;
  --shadow-xl:0 30px 90px rgba(0,0,0,0.34);
  --shadow-lg:0 18px 48px rgba(0,0,0,0.24);
  --shadow-md:0 12px 28px rgba(0,0,0,0.18);
  --radius-2xl:34px;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:18px;
  --content:1280px;
  --header-max:1500px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

html,body{
  margin:0;
  padding:0;
  min-height:100%;
}

body{
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 20%),
    radial-gradient(circle at bottom right, rgba(34,211,238,0.12), transparent 16%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color:var(--text);
  font-family:
    "Inter",
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  line-height:1.75;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 12%, rgba(125,211,252,0.06), transparent 0 18%),
    radial-gradient(circle at 82% 76%, rgba(96,165,250,0.06), transparent 0 16%);
  z-index:0;
}

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

img{
  display:block;
  max-width:100%;
  height:auto;
}

button,
input,
select,
textarea{
  font:inherit;
}

main{
  position:relative;
  z-index:1;
}

.page-wrap{
  position:relative;
  z-index:1;
  width:min(var(--content), calc(100% - 40px));
  margin:0 auto;
}

.page-section{
  margin-top:18px;
}

.glass-panel{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow-lg);
}

.glass-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right, rgba(103,232,249,0.07), transparent 24%),
    radial-gradient(circle at bottom left, rgba(96,165,250,0.07), transparent 22%);
  pointer-events:none;
}

.glass-panel::after{
  content:"";
  position:absolute;
  top:-120%;
  left:-30%;
  width:40%;
  height:340%;
  transform:rotate(22deg);
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 40%,
    rgba(255,255,255,0.24) 50%,
    rgba(255,255,255,0.08) 60%,
    rgba(255,255,255,0) 100%
  );
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease, left .75s ease;
}

.glass-panel:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(0,0,0,0.28);
}

.glass-panel:hover::after{
  opacity:1;
  left:110%;
}

.panel-body{
  position:relative;
  z-index:1;
  padding:28px;
}

.section-kicker{
  display:inline-flex;
  margin-bottom:14px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.05);
  color:rgba(125,211,252,0.92);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.section-title{
  margin:0 0 14px;
  font-size:clamp(34px, 5vw, 64px);
  line-height:1.02;
  letter-spacing:-0.05em;
  font-weight:900;
  color:#fff;
}

.section-subtitle{
  margin:0 0 10px;
  font-size:clamp(26px, 3.2vw, 40px);
  line-height:1.1;
  letter-spacing:-0.04em;
  font-weight:800;
  color:#fff;
}

.section-lead{
  margin:0;
  max-width:860px;
  font-size:16px;
  line-height:1.95;
  color:var(--muted);
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 24px;
  border-radius:18px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease,
    filter .22s ease;
}

.btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.btn-primary{
  color:#07111f;
  background:linear-gradient(135deg, #7dd3fc 0%, #60a5fa 50%, #67e8f9 100%);
  box-shadow:0 18px 40px rgba(56,189,248,0.24);
}

.btn-primary:hover{
  box-shadow:0 22px 48px rgba(56,189,248,0.30);
}

.btn-secondary{
  color:#fff;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.18);
}

/* HEADER */
.site-header{
  position:sticky;
  top:12px;
  z-index:1000;
  padding:16px 0 0;
  transition:padding .28s ease;
}

.site-header.is-scrolled{
  padding-top:10px;
}

.site-header-inner{
  width:min(var(--header-max), calc(100% - 40px));
  margin:0 auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:18px 26px;
  border:1px solid var(--line);
  border-radius:26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter:blur(18px) saturate(1.2);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow:hidden;
  transition:
    padding .28s ease,
    border-color .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.site-header.is-scrolled .site-header-inner{
  padding:14px 22px;
  border-color:rgba(255,255,255,0.12);
  box-shadow:
    0 18px 52px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.site-header-inner::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(circle at top right, rgba(103,232,249,0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(96,165,250,0.12), transparent 20%);
  pointer-events:none;
}

.site-header-inner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,0.26), transparent 72%);
  opacity:.12;
}

.brand{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.brand-mark{
  width:72px;
  height:72px;
  flex:0 0 72px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.07);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 14px 30px rgba(0,0,0,0.18);
  transition:width .28s ease, height .28s ease;
}

.site-header.is-scrolled .brand-mark{
  width:60px;
  height:60px;
  flex-basis:60px;
}

.brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}

.brand-name{
  margin:0 0 4px;
  font-size:clamp(30px, 2.8vw, 44px);
  line-height:1;
  font-weight:900;
  letter-spacing:-0.03em;
  color:#fff;
  text-shadow:
    0 10px 30px rgba(103,232,249,0.12),
    0 2px 0 rgba(255,255,255,0.05);
  white-space:nowrap;
  transition:font-size .28s ease;
}

.site-header.is-scrolled .brand-name{
  font-size:clamp(24px, 2.2vw, 34px);
}

.brand-sub{
  margin:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:.24em;
  color:rgba(255,255,255,0.60);
  text-transform:uppercase;
  white-space:nowrap;
}

.nav{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:94px;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  color:rgba(255,255,255,0.68);
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 18px rgba(0,0,0,0.10);
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
  overflow:hidden;
}

.nav a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0));
  opacity:.55;
  pointer-events:none;
}

.nav a:hover{
  color:#fff;
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.16);
  transform:translateY(-1px);
}

.nav a.is-active{
  color:#07111f;
  background:linear-gradient(135deg, #7dd3fc 0%, #60a5fa 50%, #67e8f9 100%);
  border-color:rgba(125,211,252,0.34);
  box-shadow:
    0 12px 26px rgba(56,189,248,0.22),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* FOOTER */
.site-footer{
  position:relative;
  z-index:1;
  width:min(var(--content), calc(100% - 40px));
  margin:10px auto 28px;
  padding:22px 24px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow-md);
}

.site-footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
  max-width:420px;
}

.footer-brand-mark{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  background:#fff;
}

.footer-brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.footer-brand-copy h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
  color:#fff;
}

.footer-brand-copy p,
.footer-info p{
  margin:0;
  color:rgba(255,255,255,0.68);
  font-size:14px;
  line-height:1.8;
}

.footer-links{
  display:grid;
  gap:8px;
  min-width:160px;
}

.footer-title{
  margin:0 0 8px;
  color:#a5f3fc;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.footer-links a{
  color:rgba(255,255,255,0.74);
  font-size:14px;
  font-weight:700;
}

.footer-links a:hover{
  color:#fff;
}

.footer-info{
  min-width:240px;
  max-width:320px;
}

.site-footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.56);
  font-size:13px;
}

/* CTA */
.global-cta{
  margin:18px auto 0;
}

.global-cta-inner{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.08fr 0.92fr;
  gap:20px;
  align-items:center;
  padding:30px 32px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at top right, rgba(103,232,249,0.10), transparent 24%),
    radial-gradient(circle at bottom left, rgba(96,165,250,0.10), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow:var(--shadow-lg);
  backdrop-filter:blur(16px);
}

.global-cta-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,0.70), rgba(0,0,0,0.18));
  opacity:.18;
  pointer-events:none;
}

.global-cta-copy,
.global-cta-actions{
  position:relative;
  z-index:1;
}

.global-cta-kicker{
  display:inline-flex;
  margin-bottom:12px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(125,211,252,0.92);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.global-cta-copy h2{
  margin:0 0 12px;
  font-size:clamp(30px, 3.8vw, 50px);
  line-height:1.08;
  letter-spacing:-0.04em;
  color:#fff;
}

.global-cta-copy p{
  margin:0;
  color:rgba(255,255,255,0.74);
  font-size:15px;
  line-height:1.9;
}

.global-cta-actions{
  display:grid;
  gap:12px;
}

.global-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 22px;
  border-radius:18px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.global-cta-btn:hover{
  transform:translateY(-2px);
}

.global-cta-btn.primary{
  color:#07111f;
  background:linear-gradient(135deg, #7dd3fc 0%, #60a5fa 50%, #67e8f9 100%);
  box-shadow:0 18px 40px rgba(56,189,248,0.24);
}

.global-cta-btn.primary:hover{
  box-shadow:0 22px 48px rgba(56,189,248,0.30);
}

.global-cta-btn.secondary{
  color:#fff;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
}

.global-cta-btn.secondary:hover{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.18);
}

/* Forms */
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group label{
  font-size:14px;
  font-weight:700;
  color:rgba(255,255,255,0.88);
}

input,
select,
textarea{
  width:100%;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.045);
  color:#fff;
  border-radius:16px;
  padding:14px 16px;
  outline:none;
  transition:
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

textarea{
  min-height:180px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:rgba(255,255,255,0.38);
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(125,211,252,0.66);
  background:rgba(255,255,255,0.065);
  box-shadow:0 0 0 4px rgba(56,189,248,0.10);
  transform:translateY(-1px);
}

/* Animation */
.fade{
  opacity:1;
  transform:none;
  transition:
    opacity .8s cubic-bezier(.2,.8,.2,1),
    transform .8s cubic-bezier(.2,.8,.2,1),
    filter .8s cubic-bezier(.2,.8,.2,1);
}

.js-enabled .fade{
  opacity:0;
  transform:translateY(28px);
  filter:blur(8px);
}

.js-enabled .fade.show{
  opacity:1;
  transform:translateY(0);
  filter:blur(0);
}

@keyframes drift{
  0%{ transform:translate3d(0,0,0); }
  50%{ transform:translate3d(0,-8px,0); }
  100%{ transform:translate3d(0,0,0); }
}

@keyframes pulseGlow{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.03); opacity:.9; }
}

.drift{
  animation:drift 7s ease-in-out infinite;
}

.glow-pulse{
  animation:pulseGlow 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1100px){
  .grid-3{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .site-header-inner{
    width:min(100% - 24px, var(--header-max));
    padding:14px 18px;
    gap:16px;
  }

  .brand{
    gap:12px;
  }

  .brand-mark{
    width:58px;
    height:58px;
    flex:0 0 58px;
  }

  .brand-name{
    font-size:clamp(24px, 4.8vw, 32px);
  }

  .nav{
    gap:8px;
  }

  .nav a{
    min-width:auto;
    padding:9px 13px;
    font-size:13px;
  }
}

@media (max-width: 820px){
  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }

  .page-wrap,
  .site-footer{
    width:min(100% - 24px, var(--content));
  }

  .global-cta-inner{
    grid-template-columns:1fr;
    padding:22px;
    border-radius:24px;
  }
}

@media (max-width: 640px){
  .panel-body{
    padding:22px;
  }

  .site-footer{
    margin:10px auto 20px;
    padding:18px 18px;
    border-radius:20px;
  }

  .brand-mark{
    width:50px;
    height:50px;
    flex:0 0 50px;
    border-radius:14px;
  }

  .brand-name{
    font-size:22px;
  }

  .brand-sub{
    font-size:10px;
    letter-spacing:.16em;
  }
}

/* =========================
   MOBILE HOTFIX
========================= */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

*{
  min-width: 0;
}

img, svg, video, canvas{
  max-width: 100%;
  height: auto;
}

.page-wrap,
.site-footer,
.site-header-inner,
.global-cta,
.global-cta-inner,
.glass-panel,
.panel-body{
  max-width: 100%;
}

.home-hero-grid{
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 900px){
  .site-header{
    top: 8px;
    padding-top: 10px;
  }

  .site-header-inner{
    width: calc(100% - 20px) !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    border-radius: 18px !important;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand{
    width: 100%;
    gap: 10px !important;
  }

  .brand-mark{
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 12px !important;
  }

  .brand-name{
    font-size: 22px !important;
    white-space: normal !important;
    line-height: 1.05 !important;
  }

  .brand-sub{
    font-size: 9px !important;
    letter-spacing: .12em !important;
    white-space: normal !important;
  }

  .nav{
    width: 100%;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .nav a{
    min-width: auto !important;
    padding: 8px 11px !important;
    font-size: 12px !important;
  }

  .page-wrap{
    width: calc(100% - 20px) !important;
  }

  .grid-2,
  .grid-3{
    grid-template-columns: 1fr !important;
  }

  .global-cta-inner{
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  .panel-body{
    padding: 18px !important;
  }

  .section-title{
    font-size: clamp(28px, 9vw, 42px) !important;
    line-height: 1.02 !important;
  }

  .section-subtitle{
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  .section-lead{
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .btn,
  .global-cta-btn{
    width: 100%;
  }
}

@media (max-width: 640px){
  .site-footer{
    width: calc(100% - 20px) !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .site-footer-inner{
    flex-direction: column;
    gap: 18px !important;
  }

  .footer-brand{
    max-width: 100% !important;
  }

  .footer-info,
  .footer-links{
    min-width: 0 !important;
    max-width: 100% !important;
  }
}