/* =========================
   ■ レイアウト（2カラム）
========================= */
#content {
  background-color: #99cc33;
  width: 600px;
  overflow: hidden;
}

#main {
  background-color: #ffffff;
  width: 660px;
  padding: 10px;
  float: right;
}

nav {
  width: 500px;
  float: left;
  padding: 5px;
  border-right: 5px dotted #0000FF;
  font-size: 1.6em;
  font-weight: bold;
  color:#191970;
}

/* =========================
   ■ ナビ
========================= */
nav ul {
  list-style: none;
}

nav li {
  line-height: 2em;
}


/* =========================
   ■ お知らせ
========================= */
ul.topix {
  background: #f1f8ff;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.5em;
}

ul.topix li {
  list-style: none;
  background-image: url("https://www.shirakami.or.jp/~asasho1/icon/crystal16.gif");
  background-position: 5px center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  padding-left: 25px;	  
}

ul.oshirase {
  width: 700px;
  height: 400px;
  overflow: auto;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.5em;
  background: #fffff9;
}

ul.oshirase li {
  list-style: none;
  position: relative;
  padding-left: 25px;
}

ul.oshirase li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-image: url("https://www.shirakami.or.jp/~asasho1/icon/h-skyblue.gif");
  background-size: contain;
  background-repeat: no-repeat;
}

ul.oshirase a {
  display: inline-block;
  transition: 0.2s;
}

ul.oshirase a:hover {
  transform: translateY(-3px);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* ←軽い影で浮いて見える */
}

li.newinfo img{
    width:20px;
    height:auto;
    vertical-align:middle;
    margin-left:4px;
}

/* =========================
   ■ 画像
========================= */
#pickupp img {
  width: 400px;
  height: 266px;
  padding: 2px;
  border: 5px solid #e8bf85;
  box-shadow: 1px 1px 3px #999;
}

/* =========================
   ■ 行事予定テーブル
========================= */
.schedule {
  width: 550px;
  border-collapse: collapse;
  margin-bottom: 15px;
  background-color: #f0f8ff;
}

.schedule.alt {
  background-color: #fffff0;
}

.schedule th,
.schedule td {
  border: 2px double #999;
  padding: 3px 6px;
}

/* 見出し */
.schedule th {
  text-align: center;
}

/* 列ごとの幅 */
.schedule th:nth-child(1),
.schedule td:nth-child(1) {
  width: 80px;
  text-align: center;
}

.schedule th:nth-child(2),
.schedule td:nth-child(2) {
  width: 40px;
  text-align: center;
}

.schedule th:nth-child(3),
.schedule td:nth-child(3) {
  width: auto;
  text-align: left;
}

/* 祝日 */
.schedule .holiday {
  color: red;
  font-weight: bold;
}

/* 新しい月 */
.schedule .newmonth {
  font-weight: bold;
}

/* 強調行事 */
.schedule .special {
  color: blue;
  font-weight: bold;
}

/* =========================
   ■ 流れる文字
========================= */
.board {
  width: 520px;
  height: 50px;
  margin-left: 70px;   /* ← 左に20pxの余白 */
  background: #f0f8ff;
  border: 1px solid #f0f8ff;
  overflow: hidden;
  position: relative;
}

.text {
  position: absolute;
  top: 50%;                         /* ← 縦中央 */
  transform: translateY(-50%);      /* ← 完全中央補正 */
  white-space: nowrap;
  font-size: 30px;
  font-weight: bold;
  font-family: monospace;
  color: #00008b;
  animation: scroll 10s linear 1;
  animation-fill-mode: forwards;
}

/* 右 → 左へ完全に流れる */
@keyframes scroll {
  0% {
    transform: translate(100%, -50%);  /* 右外から開始 */
    opacity: 1;
  }

  85% {
    transform: translate(-100%, -50%); /* 完全に左外へ */
    opacity: 1;
  }

  100% {
    transform: translate(-100%, -50%);
    opacity: 0;                        /* 完全に消える */
  }
}



}