/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  overflow-x: hidden;
}

/* 背景画像の固定 */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./images/mvbg.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

/* 中央に縦長画像を配置 */
.image-wrapper {
  display: flex;
  flex-direction: column;  /* ← 縦に並べるように指定 */
  align-items: center;     /* 横方向の中央揃え */
  justify-content: center;
  padding: 50px 0;
}

.image-wrapper img {
  width: 750px; /* ← 幅を380pxに固定 */
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  border-radius: 10px;
}

/* スマホサイズ対応 */
@media (max-width: 480px) {
  .image-wrapper img {
    width: 100%; /* スマホでは画面幅にフィット */
    border-radius: 0;
    box-shadow: none;
  }
}
