@charset "UTF-8";

/* =========================
   お知らせ（オーバーレイ共通）
   ========================= */

/* 背景（画面全体） */
.notice-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* お知らせボックス */
.notice-box{
  background: #fff;
  width: 520px;          /* お好みで調整OK */
  max-width: 92%;
  max-height: 75vh;
  overflow-y: auto;
  padding: 28px 22px;
  border-radius: 14px;
  position: relative;
}

/* 閉じるボタン（×） */
.notice-close{
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

/* =========================
   文面（メリハリ）
   ========================= */

.notice-text{
  text-align: left;
  color: #111;
}

/* 見出し */
.notice-title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
  color: #b30000; /* 見出しを赤 */
}

/* 冒頭の要点（使う場合） */
.notice-lead{
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.7;
}

/* 本文（基本は全部同じサイズで統一） */
.notice-body{
  font-size: 15px;       /* ここで統一 */
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.9;
}

/* 締めの挨拶（必要なら使う） */
.notice-foot{
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.9;
}

/* 要点だけ少し太く */
.notice-em{
  font-weight: 600;
}

/* 補足情報（規程等） */
.notice-sub{
  font-size: 13px;
  color: #333;
}

/* リンク */
.notice-text a{
  font-weight: 600;
  color: #0a5bb5;
  text-decoration: underline;
}
.notice-text a:hover{
  text-decoration: none;
}

/* ボタン行 */
.notice-actions{
  margin: 16px 0 0;
  text-align: right;
}

/* 「内容を確認しました」ボタン */
.notice-btn{
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: #333;
  color: #fff;
  cursor: pointer;
}

/* =========================
   左上ミニボタン（閉じた後）
   ========================= */

.notice-mini-btn{
  position: fixed;
  top: 80px;
  left: 50px;
  z-index: 99998;
  display: none;               /* JSで表示切替 */
  padding: 10px 25px;
  border-radius: 999px;
  border: none;
  background: #b30000;         /* 指定色 */
  color: #fff;
  font-size: 15px;
  cursor: pointer;

  /* ゆっくり点滅 */
  animation: noticeBlink 2.8s ease-in-out infinite;
}

@keyframes noticeBlink{
  0%   { opacity: 1; }
  50%  { opacity: 0.45; }
  100% { opacity: 1; }
}

/* =========================
   スマホ調整
   ========================= */

.sp-only{
  display: none;
}

@media screen and (max-width: 600px){
  .notice-title{ font-size: 18px; }
  .sp-only{ display: inline; }
}
