@charset "UTF-8";

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

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

/* お知らせボックス */
.notice-box{
  background: #fff;

  width: 100vw;          /* 画面幅基準で可変 */
  max-width: 700px;     /* PCではこれ以上大きくしない */
  min-width: 350px;     /* スマホでも小さくなりすぎない */

  max-height: 80vh;
  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: #008000; /* 見出しを赤 */
}

/* 冒頭の要点（使う場合） */
.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: #008000;
  color: #fff;
  cursor: pointer;
}

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

.notice-mini-btn{
  position: fixed;
  top: 80px;
  left: 50px;
  z-index: 99998;
  display: none;

  width: 200px;          /* ← 正円サイズ（お好みで） */
  height: 200px;         /* ← 幅と同じにする */
  padding: 0;

  border-radius: 50%;   /* ← 正円 */
  border: none;
  background: #b30000;
  color: #fff;

  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;

  display: flex;        /* 中央寄せ */
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.25),
    0 10px 25px rgba(0,0,0,0.15);
  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; }
}
