/* ベース */
.om-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: none;
}

.om-mask.is-open { display: block; }

.om-dialog{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);  /* ← 中央寄せに必要 */

  /* サイズ調整 */
  width: 90vw;
  max-width: min(90vw, 480px);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
  font-size: 15px;

  /* グラスモーフィズム */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.25);
  background-image:
    linear-gradient(to bottom right,
      rgba(255,255,255,.18),
      rgba(255,255,255,.06)
    );
  background-clip: padding-box;
}

.om-dialog:after{
  content: "";
  position: absolute;
  width: 94px;
  height: 82px;
  background: url(../img/common/houby_kun.png) no-repeat center top;
  background-size: 94px 94px;
  bottom: 0px;
  /* top: 0; */
  display: block;
  right: 10px;
  z-index: -1;
  opacity: 0.7;
}

.om-content{
  font-family: 'noto Sans JP';
}

/* 閉じるボタン（オプション） */
.om-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #888888;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* body スクロール固定用 */
.om-no-scroll { overflow: hidden; }