:root {
  --bg: #05070b;
  --ink: #e6eef6;
  --muted: #9aa8bb;
  --line: #232d3c;
  --glow: #08b0ff;
  --glow-outer: rgba(8, 176, 255, .35)
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif
}

/* ===== Top Navigation ===== */
.topnav {
  position: sticky;
  position: relative;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(6, 10, 16, .55);
  border-bottom: 1px solid var(--line)
}

.topnav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px
}

.brand {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: .9
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: .88;
  transition: opacity .2s ease
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--line);
  opacity: .6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease, box-shadow .25s ease
}

.nav-links a:hover {
  opacity: 1
}

.nav-links a:hover::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px var(--glow-outer)
}

.nav-links .is-active a,
.nav-links a[aria-current="page"] {
  opacity: 1
}

.nav-links .is-active a::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--glow)
}

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

.nav-actions .icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  opacity: .8;
  text-decoration: none;
  transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease
}

.nav-actions .icon:hover {
  opacity: 1;
  border-color: var(--glow);
  box-shadow: 0 0 14px var(--glow-outer), inset 0 0 8px rgba(8, 176, 255, .16)
}

.hamburger {
  width: 36px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative
}

.hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .22s ease, opacity .22s ease
}

.hamburger span:nth-child(1) {
  transform: translate(-50%, -6px)
}

.hamburger span:nth-child(2) {
  transform: translate(-50%, 0)
}

.hamburger span:nth-child(3) {
  transform: translate(-50%, 6px)
}

/* Expanded → X */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg)
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg)
}

/* Ensure button retains hit-area without shifting content */
.hamburger:focus {
  outline: none
}

.hamburger:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px
}

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(6, 10, 16, .96);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.mobile-menu a:last-child {
  border-bottom: none
}

body.nav-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none
  }

  .hamburger {
    display: inline-flex
  }

  body.nav-open {
    overflow: hidden
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  isolation: isolate
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35) contrast(1.05) saturate(.9)
}

/* subtle vignette + top gradient to keep nav readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 70% at 50% 100%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .01) 55%, rgba(0, 0, 0, .01) 100%), linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 30%)
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px)
}

.hero-logo {
  width: min(640px, 72vw);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .65))
}

/* CTA link styled like a button with neon border */

.cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 14px;
  border: 2px solid var(--glow);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .12em;
  font-weight: 600;
  background: rgba(8, 12, 18, .35);
  box-shadow: inset 0 0 0 1px rgba(8, 176, 255, .12), 0 6px 24px rgba(0, 0, 0, .45);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease
}

.cta:hover {
  box-shadow: inset 0 0 14px rgba(8, 176, 255, .22), 0 0 18px rgba(8, 176, 255, .28);
  background: rgba(8, 12, 18, .5);
  transform: translateY(-1px)
}

.cta:active {
  transform: translateY(0)
}

@media (max-width: 720px) {
  .hero {
    
    min-height: 68vh
  }

  .hero-logo {
    width: 100%;
  }

  .cta {
    padding: 12px 26px;
    border-radius: 12px
  }
}

/* ===== About ===== */
#about {
  position: relative;
  padding: 48px 0;
}

#about::before,
#about::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .18) 10%, rgba(255, 255, 255, .18) 90%, transparent 100%);
  opacity: .35
}

#about::before {
  top: 0
}

#about::after {
  bottom: 0
}

#about {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px
}

#about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center
}

#about>img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(142, 174, 210, .12), 0 0 22px rgba(8, 176, 255, .2) inset
}

#about .detailArea {
  background: rgba(8, 12, 18, .55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 30px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45)
}

#about .detailArea .h2 {
  font-size: 28px;
  letter-spacing: .18em;
  text-transform: capitalize;
  color: var(--ink);
  margin: 0 0 16px
}

#about .detailArea p {
  margin: 0;
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2)
}

@media (max-width: 980px) {
  #about {
    grid-template-columns: 1fr;
    gap: 22px
  }
}

/* ===== Gallery ===== */
#gallery {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
  justify-items: center
}

#gallery .title {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  text-align: center
}

#gallery .mainImage {
  justify-self: center
}

#gallery .gallery {
  justify-self: center
}

#gallery .mainImage {
  position: relative;
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(8, 176, 255, .18), rgba(8, 176, 255, .08));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  border: 2px solid var(--glow)
}

#gallery .mainImage img {
  display: block;
  width: 100%;
  height: clamp(260px, 48vh, 520px);
  object-fit: cover;
  border-radius: 12px;
  filter: contrast(1.02) saturate(.98)
}

#gallery .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

#gallery .gallery img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--glow);
  background: rgba(8, 12, 18, .35);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .12s ease
}

#gallery .gallery img:hover {
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .35), inset 0 0 8px rgba(255, 255, 255, .16)
}

#gallery .gallery img.is-active {
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .4)
}

@media (max-width: 980px) {
  #gallery {
    grid-template-columns: 1fr;
    gap: 18px
  }

  #gallery .gallery {
    grid-template-columns: repeat(3, 1fr)
  }

  #gallery .gallery img {
    height: 100px
  }
}



/* Staff */
#staff {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 18px;
}

#staff .title {
  text-align: center;
  margin-bottom: 14px;
}

#staffGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  justify-items: center;
}

.staffCard {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--glow);
  border-radius: 12px;
  padding: 8px;
  transition: border-color .2s, box-shadow .2s, transform .12s;
}

.staffCard:hover {
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .35);
  transform: translateY(-1px);
}

.staffCard img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.staffCard span {
  font-size: 14px;
  letter-spacing: .05em;
  text-align: center;
}

@media (max-width: 980px) {
  #staffGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .staffCard img {
    width: 100%;
    height: 160px;
  }
}

/* ===== Staff Carousel (horizontal) ===== */
.staff-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 18px
}

.staff-section .title {
  text-align: center;
  margin-bottom: 14px
}

.staff-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px
}

.staff-scroller {
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  border-radius: 14px;
  padding: 10px
}

.staff-scroller::-webkit-scrollbar {
  height: 8px
}

.staff-scroller::-webkit-scrollbar-thumb {
  background: #1a2432;
  border-radius: 8px
}

.staff-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 18px;
  margin: 0;
  padding: 6px;
  list-style: none
}

.staff-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  scroll-snap-align: center
}

.staff-portrait {
  width: 180px;
  height: 220px;
  border-radius: 100px/120px;
  object-fit: cover;
  border: 3px solid var(--glow);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  transition: border-color .2s, box-shadow .2s, transform .12s
}

.staff-card:hover .staff-portrait {
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .35);
  transform: translateY(-2px)
}

.staff-name {
  font-size: 14px;
  letter-spacing: .04em;
  text-align: center;
  opacity: .95
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--glow);
  border-radius: 10px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s, opacity .2s
}

.nav-arrow[disabled] {
  opacity: .35;
  cursor: not-allowed
}

.nav-arrow:hover:not([disabled]) {
  box-shadow: 0 0 14px var(--glow-outer)
}

.nav-arrow span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transform-origin: center;
  opacity: .9
}

.nav-arrow.prev span:nth-child(1) {
  transform: translateX(2px) rotate(45deg)
}

.nav-arrow.prev span:nth-child(2) {
  width: 10px;
  margin: 3px 0
}

.nav-arrow.prev span:nth-child(3) {
  transform: translateX(2px) rotate(-45deg)
}

.nav-arrow.next span:nth-child(1) {
  transform: translateX(-2px) rotate(-45deg)
}

.nav-arrow.next span:nth-child(2) {
  width: 10px;
  margin: 3px 0
}

.nav-arrow.next span:nth-child(3) {
  transform: translateX(-2px) rotate(45deg)
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px
}

.pager button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #2a374b;
  cursor: pointer
}

.pager button[aria-current="true"] {
  background: var(--glow)
}

@media (max-width:980px) {
  .staff-track {
    grid-auto-columns: 150px;
    gap: 14px
  }

  .staff-portrait {
    width: 150px;
    height: 190px;
    border-radius: 90px/110px
  }
}

/* ===== System ===== */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
    /* equal columns */
  gap: 26px;
  align-items: center;
}



.sys-card {
  background: rgba(6, 10, 16, .58);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.sys-card-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .38);
  border-radius: 18px 18px 0 0
}

.map-embed {
  height: 420px;
  border-radius: 16px;
  margin: 16px;
  background: #0b1018;
  border: 3px solid var(--glow);
  box-shadow: 0 0 18px var(--glow-outer), inset 0 0 0 1px rgba(8, 176, 255, .12)
}

.sys-info {
  position: relative;
  border: 3px solid var(--glow);
  border-radius: 22px;
  box-shadow: 0 0 18px var(--glow-outer);
}

.sys-info-inner {
  display: grid;
  grid-template-columns: 1fr minmax(1px, 1px) 1fr;
  align-items: start;
  column-gap: 28px;
  row-gap: 0;
  padding: 28px;
  border-radius: 20px;
}

.sys-divider {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
  height: 100%;
  align-self: stretch;
  justify-self: center;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .5), transparent)
}

.sys-rows .row,
.sys-price .row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.sys-rows dt,
.sys-price dt {
  width: 80px;
  opacity: .85;
}

.sys-price dd {
  font-weight: 600;
}

.sys-price dd {
  font-weight: 600;
  text-align: right
}

.cta-wide {
  display: inline-block;
  width: min(160px, 90%);
  text-align: center;
  padding: 18px 26px;
  margin-bottom: 50px;
  border-radius: 28px;
  border: 3px solid var(--glow);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .12em;
  font-weight: 700;
  background: rgba(8, 12, 18, .28);
  box-shadow: 0 0 22px var(--glow-outer), inset 0 0 0 1px rgba(8, 176, 255, .12), 0 6px 24px rgba(0, 0, 0, .45);
  transition: box-shadow .2s, transform .2s, background .2s;
}

.sys-info::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(8, 176, 255, .12) inset
}

/* --- System: polish & static map support --- */
/* Clip corners and deepen header typography */
.sys-card {
  overflow: hidden
}

.sys-card-hd h3 {
  letter-spacing: .12em;
  text-transform: uppercase
}

/* Ensure the static <img> inside .map-embed fills and respects rounding */
.map-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block
}

/* Cyan title color in System block */
.system-section .title h2,
.system-section .title h3 {
  color: var(--glow)
}

.system-section .title h2 {
  color: var(--glow);
}

/* Add glowing divider line above the "アクセス" subtitle like the mock */
.system-section .title.sub {
  position: relative;
  margin-top: 28px
}

.system-section .title.sub::before {
  content: "";
  display: block;
  height: 2px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, rgba(8, 176, 255, 0), rgba(8, 176, 255, .6), rgba(8, 176, 255, 0));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--glow-outer)
}

@media (max-width: 980px) {
  .system-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .map-embed {
    height: 360px;
  }

  /* Force sys-rows and sys-price to stack vertically on mobile */
  .sys-info-inner {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .sys-info-inner dl {
    width: 100%;
    margin-bottom: 24px;
  }

  .sys-info-inner dl:last-child {
    margin-bottom: 0;
  }

  .sys-divider {
    display: none !important;
  }

  .sys-rows .row,
  .sys-price .row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
  }

  .sys-rows dt,
  .sys-price dt {
    width: auto;
  }

  .sys-rows dd,
  .sys-price dd {
    text-align: left;
  }
}

/* System wrapper */
.system-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 18px
}

.system-section .title {
  text-align: center;
  margin-bottom: 14px
}

.system-section .title h2 {
  letter-spacing: .18em
}

.system-section .title.sub {
  margin-top: 18px
}

/* Map card footer button */
.sys-card-ft {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 16px
}

.btn-openmap {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0b1018;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px
}

.btn-openmap:hover {
  border-color: var(--glow);
  box-shadow: 0 0 12px var(--glow-outer)
}

/* Ensure dd aligns right in tables */
.sys-rows dd,
.sys-price dd {
  margin: 0;
  justify-self: end
}


/* System wrapper */
.system-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 18px
}

.system-section .title {
  text-align: center;
  margin-bottom: 14px
}

.system-section .title h2 {
  letter-spacing: .18em
}

.system-section .title.sub {
  margin-top: 18px
}

/* Map card footer button */
.sys-card-ft {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 16px
}

.btn-openmap {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0b1018;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px
}

.btn-openmap:hover {
  border-color: var(--glow);
  box-shadow: 0 0 12px var(--glow-outer)
}

/* Ensure dd aligns right in tables */
.sys-rows dd,
.sys-price dd {
  display: block;
  width: 100%;
  margin: 0;
  justify-self: end;
}


.sys-info-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: 20px;
}

.sys-divider {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
  height: 100%;
  align-self: stretch;
  justify-self: center;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .45), transparent);
}


.reserve-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 0;
}

.map-embed {
  height: 450px;
}

/* was 420px */

main {
  border: 2px solid white;
  margin: 30px;
  padding: 30px;
  border-radius: 40px;
  overflow: hidden;
  /* hides anything that would spill over the rounded edge */
}


footer {
  padding: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


footer p {
  font-size: small;
}


@media (max-width: 980px) { 
  footer {
     flex-direction: column;
    }
}

.footer-content {
  height: 200px;
}

.footer-content .hero-logo {
  height: 200px;
  width: 200px;
  
}

footer .nav-links {
  margin: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

footer .nav-links li a {
  margin: 0;
  padding: 0;
}




.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  background-color: #000000;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.modal-content {
  padding: 20px;
  position: relative;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-scroll {
  overflow-y: auto;
  max-height: 70vh;
}

.close {
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#openCompanyInfo {
  cursor: pointer;
  text-decoration: underline;
}

.h-divider {
  background: linear-gradient(to right,
      black 0%,
      white 40%,
      white 60%,
      black 100%);
  width: 100%;
  height: 2px;
}



#sparkleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* clicks pass through */
  z-index: 0;
  /* keep it behind everything */
}

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


/* Mobile: reduce border spacing */
@media (max-width: 768px) {
  main {
    margin: 10px;
    /* less space from screen edge */
    padding: 12px;
    /* less space inside the border */
    border-radius: 20px;
    /* smaller corner rounding looks better on phones */
  }
}