/* =========================================================
   Gazolab Top Page Styles
   Scope: body.gz-top
   * Safe to use this CSS as a "complete replacement"
========================================================= */

/* hidden always wins (JS-driven UI) */
.gz-top [hidden] { display: none !important; }

.pc-only{ display:none; }
.sp-only{ display:inline; }

@media (min-width: 769px){
  .pc-only{ display:inline; } /* show <br> */
  .sp-only{ display:none; }
}

/* =========================================================
   Top – Simple Compress
========================================================= */

.gz-top .gz-top-compress{
  padding: 10rem 1.5rem 3rem;
}

@media (max-width: 768px){
  .gz-top .gz-top-compress{
    padding: 4rem 0 0;
  }
}

/* wrapper: same roomy feel as hero */
.gz-top .gz-top-dropwrap{
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================================
   Big Dropzone
========================================================= */

.gz-top .gz-top-dropzone{
  min-height: 30vh;
  border: 2px dashed #a9bcff;
  border-radius: 20px;
  background: #f3f6ff;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  cursor: pointer;

  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.gz-top .gz-top-dropzone:hover{
  border-color: #5b7cff;
  background: #edf2ff;
}

.gz-top .gz-top-dropzone.is-dragover{
  border-color: #2f6bff;
  background: #e9f0ff;
}

.gz-top .gz-top-dropzone:active{
  transform: scale(0.995);
}

.gz-top .gz-top-drop-inner{
  padding: 3rem 2rem;
}

.gz-top .gz-top-drop-icon{
  font-size: 2.2rem;
  color: #9aa0a6;
  margin-bottom: 1.4rem;
}

.gz-top .gz-top-drop-main{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2a4bc4;
  margin: 0 0 2rem;
}

.gz-top .gz-top-drop-sub{
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 1.2rem;
}

.gz-top .gz-top-drop-note{
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* when dragover on result card (JS adds is-dragover) */
.gz-top #gzTopResult.is-dragover .gz-top-result-card{
  outline: 2px dashed #2f6bff;
  outline-offset: 6px;
}

/* ===============================
   Result Area (ONE CARD)
================================ */

.gz-top .gz-top-result{
  max-width: 1100px;
  margin: 1.5rem auto 0;
}

.gz-top .gz-top-result-card{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 24px 50px rgba(0,0,0,0.06);
}

.gz-top .gz-top-result-grid{
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.gz-top .gz-top-result-imageframe{
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gz-top .gz-top-result-img{
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 14px;
}

.gz-top .gz-top-result-title{
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1c1e;
  margin: 0 0 .75rem;
}

.gz-top .gz-top-result-size{
  font-size: .95rem;
  color: #555;
  margin: 0 0 1.1rem;
}

.gz-top .gz-top-result-rate{
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #2f6bff;
  margin: 0;
}

.gz-top .gz-top-result-rate-label{
  font-size: 1.4rem;
  font-weight: 800;
  color: #2f6bff;
  letter-spacing: -0.01em;
}

.gz-top .gz-top-result-note{
  font-size: .85rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.gz-top-result-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.gz-top .gz-top-result-actions-bottom{
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.gz-top .gz-top-result-privacy{
  width: 100%;
  margin: .9rem 0 0;
  font-size: .82rem;
  color: #777;
  line-height: 1.6;
  text-align: center;
}

.gz-top-result-right{
  padding-left: 20px;
}

@media (max-width: 860px){
  .gz-top .gz-top-result-grid{
    grid-template-columns: 1fr;
  }
  .gz-top .gz-top-result-imageframe{
    min-height: 220px;
  }
  .gz-top .gz-top-result-actions-bottom{
    justify-content: center;
  }
  .gz-top-result-right{
    padding-left: 0;
  }
}

.gz-top .gz-top-result-kicker{
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1e;
  margin: 0 0 .5rem;
}

.gz-top .gz-top-result-impact{
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  line-height: 1;
}

/* =========================================================
   Top Compare – knob drag only (mobile-safe)
========================================================= */

.gz-top-compare{
  max-width: 1100px;
  margin: 1.6rem auto 0;
}

.gz-top-compare-frame{
  position: relative;
  overflow: hidden;
  width: 100%;

  --pos: 50%;
  --pad: 18px;

  padding: var(--pad);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eee;

  /* Height fits via JS (existing logic acceptable) */
  max-height: min(78vh, 720px);
}

.gz-top-compare-stage{
  position: absolute;
  inset: var(--pad);
  overflow: hidden;
  border-radius: 12px;
}

/* Stack 2 images exactly */
.gz-top-compare-stage .gz-top-compare-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;

  max-width: none;
  max-height: none;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Clip using clip-path */
.gz-top-compare-stage .gz-top-compare-clip{
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  pointer-events: none;
}

/* handle */
.gz-top-compare-handle{
  position: absolute;
  top: var(--pad);
  bottom: var(--pad);
  left: var(--pos);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.gz-top-compare-handle-line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(59,130,246,.9);
}

/* grabbable hit area */
.gz-top-compare-knob-hit{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  pointer-events: auto;
  cursor: ew-resize;

  touch-action: pan-y;
  background: transparent;
}

.gz-top-compare-handle-knob{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 2px 10px rgba(0,0,0,.20);
}

/* a11y range (keyboard only, no tap) */
.gz-top-compare-range-a11y{
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* labels */
.gz-top-compare-label{
  position: absolute;
  top: 10px;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  background: rgba(255,255,255,.88);
  color: #111;
  z-index: 7;
  pointer-events: none;
}
.gz-top-compare-label--left{ left: 10px; }
.gz-top-compare-label--right{ right: 10px; }

@media (max-width: 520px){
  .gz-top-compare-label{ display:none; }
  .gz-top-compare-frame{ --pad: 12px; }
  .gz-top-compare-knob-hit{ width: 72px; height: 72px; }
}

/* =========================================================
   Buttons (TOP only)
========================================================= */

.gz-top .gz-top-primary-btn{
  background: #2f6bff;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.gz-top .gz-top-primary-btn:hover{
  background: #1f56e6;
}

.gz-top .gz-top-ghost-btn{
  background: transparent;
  color: #2f6bff;
  border: 1px solid #d0d8ff;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.gz-top .gz-top-ghost-btn:hover{
  background: #f3f6ff;
}

.gz-slider-cta {
  display: flex;
  justify-content: center;
  margin-top: 70px;
padding-bottom: 0;
}


/* ===============================
   Compare Section (title only)
================================ */

.gz-top .gz-top-compare{
  max-width: 1100px;
  margin: 3.5rem auto 0;
}

.gz-top .gz-top-compare-title{
  font-size: 3.1rem;
  font-weight: 800;
  margin: 0 0 1.4rem;
  color: #1c1c1e;
  text-align:center;
}

/* =========================================================
   Demo Compare (single sample) *Stable version
========================================================= */

.gz-demo{ padding: 2.6rem 1.5rem 0; }
.gz-demo-inner{ max-width: 1100px; margin: 0 auto; }
.gz-demo-title{
  font-size: 3.1rem;
  font-weight: 900;
  margin: 2.4rem 0 0;
  color: #1c1c1e;
  text-align:center;
}
.gz-demo-lead{
  margin: 0 0 1.2rem;
  color: #666;
  font-size: .95rem;
  line-height: 1.7;
}

.gz-demo-card{
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(0,0,0,.08);
  padding: 16px;
}

.gz-demo-compare{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f6fb;

  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;

  --pos: 50%;
}

.gz-demo-stage{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gz-demo-stage .gz-demo-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;

  max-width: none;
  max-height: none;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gz-demo-stage .gz-demo-clip{
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  pointer-events: none;
}

/* pills */
.gz-demo-pill{
  position: absolute;
  bottom: 12px;
  padding: .32rem .58rem;
  border-radius: 999px;
  font-size: .78rem;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 5;
  pointer-events: none;
}
.gz-demo-pill--left{ left: 12px; }
.gz-demo-pill--right{ right: 12px; }

/* badge */
.gz-demo-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 6;
  pointer-events: none;
}
.gz-demo-badge-num{
  font-size: 1.15rem;
  font-weight: 900;
  color: #2f6bff;
  line-height: 1.05;
}
.gz-demo-badge-text{
  font-size: .82rem;
  font-weight: 800;
  color: #2f6bff;
  margin-top: .08rem;
}

/* handle */
.gz-demo-handle{
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  transform: translateX(-50%);
  z-index: 7;
  pointer-events: none;
}
.gz-demo-line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(47,107,255,.9);
}
.gz-demo-knob{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

/* range (invisible but draggable) */
.gz-demo-range{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  z-index: 8 !important;
  cursor: ew-resize !important;

  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: none;
}

.gz-demo-range::-webkit-slider-runnable-track{ background: transparent !important; }
.gz-demo-range::-webkit-slider-thumb{ opacity: 0 !important; }
.gz-demo-range::-moz-range-track{ background: transparent !important; }
.gz-demo-range::-moz-range-thumb{ opacity: 0 !important; }

/* =========================================================
   Privacy
========================================================= */

.gz-privacy-card{
  padding: 0 24px;
}

.gz-privacy-inner{
  max-width: 1100px;
  width: 100%;
  margin: 100px auto 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  padding: 30px 34px;
  display: flex;
  gap: 33px;
  align-items: center;
}

.gz-privacy-icon{
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #f5f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gz-privacy-title{
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05rem;
}

.gz-privacy-body{
  margin: 0;
  color: #555;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  font-size: .90rem;
}

/* responsive */
@media (max-width: 768px){
  .gz-privacy-card{
    margin-top: 28px;
    padding: 0 1.25rem;
  }

  .gz-top .gz-top-compare{
    padding: 0 1.25rem;
  }

  .gz-privacy-inner{
    padding: 30px 25px 30px 30px;
    margin-top: 50px;

    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "icon title"
      "body body";
    column-gap: 14px;
    row-gap: 10px;
    align-items: center;
  }

  .gz-privacy-icon{
    grid-area: icon;
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .gz-privacy-title{
    grid-area: title;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .gz-privacy-text{
    display: contents;
  }

  .gz-privacy-body{
    grid-area: body;
    margin: 0;
    font-size: .9rem;
    line-height: 1.45;
  }
}

/* =========================================================
   Gazolab Top (SP tuning)
========================================================= */

@media (max-width: 768px){

  .gz-top .gz-top-result{
    padding: 0 1.25rem;
  }

  .gz-top-result-actions{
    justify-content: center;
  }

  .gz-top .gz-top-dropwrap{
    padding: 0 1.25rem;
  }

  .gz-top .gz-top-dropzone{
    min-height: 20vh;
    border-radius: 18px;
  }

  .gz-top .gz-top-drop-inner{
    padding: 2.1rem 1.2rem;
  }

  .gz-top .gz-top-drop-main{
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1.2rem;
  }

  .gz-top .gz-top-drop-note{
    font-size: .82rem;
  }

  .gz-demo-title{
    font-size: 1.55rem;
    margin: 1.4rem 0 0;
    line-height: 1.15;
  }

  .gz-demo-card{
    padding: 0;
  }

  .gz-top .gz-top-compare-title{
    font-size: 1.55rem;
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .gz-tools-title{
    font-size: 1.55rem;
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .gz-tools-head{
    margin-bottom: 2.2rem;
    flex-direction: column;
    margin-left: 5px;
  }

  /* Disable previous "making .gz-demo-img relative on Mobile" override */
  .gz-demo-img{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .gz-demo-clip{
    position: absolute !important;
    inset: 0 !important;
  }
}

/* =========================================================
   Top Compare FIX (scoped / stable)
========================================================= */

#gzTopCompareFrame.gz-top-compare-frame{
  position: relative;
  overflow: hidden;

  --pos: 50%;
  --pad: 0;
  padding: var(--pad);
}

#gzTopCompareStage.gz-top-compare-stage{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#gzTopCompareFrame .gz-top-compare-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

#gzTopCompareClip.gz-top-compare-clip{
  position: absolute;
  inset: 0;
  width: 100% !important;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

#gzTopCompareHandle.gz-top-compare-handle{
  left: var(--pos) !important;
}

/* Keep range for keyboard but do not react to click/tap */
#gzTopCompare #gzTopCompareRange{
  pointer-events: none;
}

/* Receive drag operation on this layer */
#gzTopCompare .gz-top-compare-drag{
  position: absolute;
  inset: 0;
  z-index: 6;
  cursor: ew-resize;
  touch-action: pan-y;
  background: transparent;
}

/* =========================================================
   HERO (Unified / No duplicates)
   PC: background stage + left overlay
   SP: text under image
========================================================= */

.gz-top .gz-hero{
  padding: 2rem 1.5rem 2.5rem;
}

.gz-top .gz-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}

/* SP default */
.gz-top .gz-hero-media{
  display: block;
  overflow: hidden;
  border-radius: 22px;
}

.gz-top .gz-hero-img{
  display: block;
  width: 100%;
  height: auto;
}

.gz-top .gz-hero-title{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

.gz-top .gz-hero-lead{
  margin: 0;
  color: #777;
  line-height: 1.6;
  text-align: center;
}

/* CTA: make it a real button (SP first) */
.gz-top .hero-link{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #1b66ff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}

.gz-top .hero-link:hover{ opacity: .92; }
.gz-top .hero-link .arrow{ transition: transform .18s ease; }
.gz-top .hero-link:hover .arrow{ transform: translateX(4px); }

@media (prefers-reduced-motion: reduce){
  .gz-top .hero-link .arrow{ transition: none; }
  .gz-top .hero-link:hover .arrow{ transform: none; }
}

/* Copy block under image on SP */
.gz-top .gz-hero-title,
.gz-top .gz-hero-lead,
.gz-top .hero-link{
  display: block;
}

.gz-top .gz-hero-title{ padding-top: 18px; }
.gz-top .hero-link{ justify-content: center; }

/* PC overlay */
@media (min-width: 900px){
  .gz-top .gz-hero-inner{
    padding: 0;
  }

  .gz-top .gz-hero-media{
    position: relative;
    border-radius: 28px;
  }

  .gz-top .gz-hero-img{
    height: clamp(520px, 56vh, 680px);
    object-fit: cover;
    object-position: 62% 20%;
  }

  /* gradient for readability */
  .gz-top .gz-hero-media::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,0) 62%);
    pointer-events:none;
  }

  .gz-top .gz-hero-title,
  .gz-top .gz-hero-lead,
  .gz-top .hero-link{
    position: absolute;
    left: 56px;
    z-index: 2;
    text-align: left;
    max-width: 530px;
  }

  .gz-top .gz-hero-title{
    top: 50%;
    transform: translateY(-140%);
    color: #fff;
    padding-top: 0;
  }

  .gz-top .gz-hero-lead{
    top: 50%;
    transform: translateY(-20%);
    color: rgba(255,255,255,.80);
  }

  .gz-top .hero-link{
    top: 50%;
    transform: translateY(95%);
    justify-content: flex-start;
    padding: 12px 18px;
  }
}

@media (max-width: 640px){
  .gz-top .gz-hero{
    padding: 20px 0 0;
  }
  .gz-top .gz-hero-media{
    border-radius: 18px;
  }
}

/* =========================================================
   Showcase (Unified / No duplicates)
   - PC: remove snap to kill "frame feeling"
   - SP: snap for easy flick
   - Head text: PC only lead, SP title only + spacing
========================================================= */

.gz-top .gz-showcase{
  max-width: 1100px;
  margin: 34px auto 0;
  padding: 0 18px;
}

/* If you add header later, keep spacing comfortable */
.gz-top .gz-showcase-head{
  margin: 34px 0 14px;
  text-align: center;
}

.gz-top .gz-showcase-title{
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.gz-top .gz-showcase-lead{
  display: none;
  margin: 6px 0 0;
  color: #666;
  font-size: .95rem;
}

@media (min-width: 900px){
  .gz-top .gz-showcase-head{
    margin: 18px 0 18px;
  }
  .gz-top .gz-showcase-title{
    font-size: 3.55rem;
  }
  .gz-top .gz-showcase-lead{
    display: block;
    margin-bottom:30px;
  }
}

.gz-top .gz-showcase-track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  cursor: grab;
  user-select: none;

  padding: 0 6px 12px;
}

.gz-top .gz-showcase-track:active{ cursor: grabbing; }

.gz-top .gz-showcase-track img{
  flex: 0 0 74vw;
  width: 74vw;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background-color: #f0f0f0;

  scroll-snap-align: start;

  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 900px){
  .gz-top .gz-showcase-track{
    scroll-snap-type: none; /* kill "frame feeling" on PC */
    padding: 0 6px 0;
  }
  .gz-top .gz-showcase-track img{
    flex: 0 0 320px;
    width: 320px;
    scroll-snap-align: none;
    max-width: none;
  }
}

/* hide scrollbar */
.gz-top .gz-showcase-track::-webkit-scrollbar{ display: none; }

/* CTA under track: blue on SP too */
.gz-top .gz-showcase-link{
  margin-top: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #1b66ff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}

.gz-top .gz-showcase-link:hover,
.gz-top .gz-showcase-link:focus-visible{
  opacity: .92;
  outline: none;
}

@media (min-width: 900px){
  .gz-top .gz-showcase-link{
    margin-top: 18px;
  }
}

/* keep within viewport on small widths */
@media (max-width: 1150px){
  .gz-top .gz-showcase{ padding: 0 18px; }
}

/* ===============================
   HERO (PC: overlay left / SP: below)
================================ */

.gz-hero{
  padding: 0 1.5rem 2.5rem;
}

.gz-hero-inner{
  max-width: 1200px;      /* ← 好みで 1200〜1320 */
  margin: 0 auto;
  padding: 0 18px;
}

/* “枠”としてのカード */
.gz-hero-card{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}

/* 画像 */
.gz-hero-media{
  display:block;
  margin: 0;
}

.gz-hero-img{
  display:block;
  width: 100%;
  height: clamp(460px, 52vh, 560px); /* PCの見た目を安定 */
  object-fit: cover;
  object-position: 58% 20%;          /* 顔・スマホ寄せ（好みで微調整） */
}

/* 文字ブロック（PCは重ねる） */
.gz-hero-copy{
  position: absolute;
  inset: 0;
  z-index: 2;
padding-top: 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 55px;   /* 余白で“品”を作る */
  max-width: 620px;     /* 左側の文章幅 */
}

/* 左側を読みやすくする影（超重要） */
.gz-hero-card::before{
  content:"";
  position:absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.18) 70%,
    rgba(0,0,0,0) 100%
  );
}

/* タイトル・説明 */
.gz-hero-title{
  margin: 0 0 14px;
  color:#fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.gz-hero-lead{
  margin: 0 0 22px; 
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 52ch;
}

/* CTA ボタン（Apple寄せの“塊”） */
.gz-hero-cta{
margin-bottom: 55px; 
  display: inline-flex;
  align-items: center;
align-self: flex-start;
  gap: 10px;

  width: fit-content;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;

  background: #2f6bff;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;

  box-shadow: 0 12px 30px rgba(0,0,0,.30);
  transition: transform .18s ease, opacity .18s ease;
}

.gz-hero-cta:hover{ opacity: .92; transform: translateY(-1px); }
.gz-hero-cta .arrow{ transition: transform .18s ease; }
.gz-hero-cta:hover .arrow{ transform: translateX(4px); }

.gz-hero-cta:focus-visible{
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 4px;
}

/* ===============================
   SP: 画像→下にテキスト（重ねない）
================================ */
@media (max-width: 640px){
  .gz-hero-inner{ padding: 0 12px; }

  .gz-hero-card{
    border-radius: 22px;
  }

  .gz-hero-img{
    height: auto;
    aspect-ratio: 1 / 1;     /* SP用ヒーローが正方形なら */
    object-position: 55% 15%;
  }

  .gz-hero-card::before{
    display:none; /* SPは重ねないので不要 */
  }

  .gz-hero-copy{
    position: static;
      max-width: 720px;      /* 620→720 まずここ */
  padding:30px 76px 20px; 
    max-width: none;
    background: #fff;  /* 画像下に“白地”で整える */
  }

  .gz-hero-title{
    color:#111;
    font-size: 1.9rem;
    margin-bottom: 10px;
  }

  .gz-hero-lead{
    color:#666;
    margin-bottom: 16px;
  }

  .gz-hero-cta{
    width: 100%;
    justify-content: center;
margin-top: 30px;
margin-bottom: 30px;
  }
.gz-slider-cta {
margin: 0 auto;
        width: 60%;
}
}

