/* ベースリセット */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 背景色とフォント設定 */
.maintenance-body {
  background-color: #333434;
  color: #ffffff;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* 全体ラッパー：中央揃え＋相対配置（背景ロゴ用） */
.maintenance-wrapper {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px 60px;
  box-sizing: border-box;
}

/* ===== 背景ロゴ（文字の後ろ） ===== */
.maintenance-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* 背面に置く */
  opacity: 0.18; /* 背景として主張しすぎないように薄くする（必要なら調整） */
  pointer-events: none; /* 背景なのでクリック反応無し */
}

.maintenance-logo-bg img {
  width: 30vw;       /* 指定どおり */
  max-width: 360px;
  min-width: 180px;
  height: auto;
}

/* ===== テキストは前面 ===== */
.maintenance-content {
  position: relative;
  z-index: 5; /* 背景ロゴの上に表示 */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maintenance-line1 {
  font-size: clamp(14px, 2.2vw, 24px);
  margin: 0;
  line-height: 1.6;
}

.maintenance-line2 {
  font-size: clamp(12px, 1.6vw, 18px);
  font-weight: 300;
  margin: 0;
  line-height: 1.7;
}

/* ===== コピーライト ===== */
.maintenance-copy {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  font-size: 10px;
  margin: 0;

  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;

  color: #f5f5f5;
  z-index: 10;
}

/* スマホ版（～767px） */
@media (max-width: 767px) {


  html, body {
    height: 100vh;
    overflow: hidden; /* ← これでスクロール禁止 */
  }

  /* wrapper も 100vh に固定 */
  .maintenance-wrapper {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
  }

  /* コピーライトがはみ出すのを防ぐ調整 */
  .maintenance-copy {
    bottom: 8px; /* 少し上に固定して安全マージン確保 */
  }

  .maintenance-line1 {
    font-size: 20px !important;
    line-height: 1.6;
  }

  .maintenance-line2 {
    font-size: 12px !important;
    line-height: 1.7;
  }

.maintenance-logo-bg img {
  width: 50vw;       /* 指定どおり */
  max-width: 360px;
  min-width: 180px;
  height: auto;
}

}
