:root {
  --pc-bg: url('./wbc-fukui-back.webp');
  --sp-bg: url('./wbc-fukui-back.webp');
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  /* overflow: hidden; Removed to allow scrolling */
  overflow-x: hidden;
  /* Prevent horizontal scroll only */
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* Ensure vertical stacking if needed */
  background-image: var(--pc-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: sans-serif;
  min-height: 100vh;
  /* Allow body to grow */
  box-sizing: border-box;
  /* Include padding in height calculation */
  padding-bottom: 50px;
  /* Reduced space since button is gone */
  height: auto;
  /* Reset fixed height */
}

iframe {
  border: none;
  width: 100%;
  max-width: 600px;
  height: 80vh;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
}

.title-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  body {
    background-image: var(--sp-bg);
    background-position: center;
    background-size: cover;
    align-items: center;
    /* Center content horizontally */
    padding-top: 0px;
    padding-bottom: 50px;
    /* Reduced extra space */
    background-color: #f0f0f0;
  }

  iframe {
    width: 90%;
    height: 80vh;
  }

  .title-image {
    width: 90%;
  }
}