.rotate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9999;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.rotate-overlay .rotate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rotate-overlay .rotate-img {
  width: 180px;
  max-width: 60vw;
  margin-bottom: 20px;
  filter: brightness(1.05) contrast(1.02);
}

.rotate-overlay .rotate-text-main {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 10px;
}

.rotate-overlay .rotate-text-sub {
  font-size: 1.2rem;
  opacity: 0.85;
  margin: 0;
}

/* スマホ縦向きのときだけ表示（完全ロック） */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .rotate-overlay {
    display: flex;
  }

  html, body {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
    touch-action: none !important;
  }
}
