@charset "UTF-8";
/****************************************/
/* index.html内で使用する設定CSS index.css */
/* 対象：index.htmlのみ */
/* 作成：2021-05-04 */
/* 更新：2026-03-06　「重要なお知らせの見直し */
/****************************************/
/* news-area */
.news-area {
  background-color: #ecf5ff;
}
h2::before {
  content: url("/images/midashi2.png");
}
.year-title {
  border-bottom: 1px dashed #999999;
  color: #6699cc;
}
.year-title::before {
  content: "▼";
  padding: 0 0.2rem;
}
.thisyear h2,
.lastyear h2 {
  display: none;
}
/* 夏季休暇の表示切替 */
.u-holiday-on {
  /* 2025-8-20 非表示 */
  display: block;
  /* 2025-8-4 夏季休業 */
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border: thin double #069;
}
.u-holiday-off {
  display: none;
}
/* c-osirase *******************************/
/* [lv1-nashi] お知らせがない場合 */
/* [lv2-ari]   お知らせがある場合 */
/* [lv3-kinkyu]緊急性の高いお知らせがある場合 */
/*****************************************/

.c-osirase {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-osirase .title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #666666;
  white-space: nowrap;
  padding: 0 1rem;
  vertical-align: middle;
}
.c-osirase .title::before {
  font-family: "Font Awesome 5 Free";
  content: "\f071";
  font-weight: 900;
  color: #cc0000;
  padding-right: 0.5rem;
  animation: flash 1s linear infinite;
  text-shadow: 1px 1px 1px black;
}

/*** お知らせの内容説明 ***/

.c-osirase .description {
  margin: 0;
  padding: 0;
  width: 100%;
}
.c-osirase .description p {
  margin: 0;
  padding: 0.5rem;
  color: #cc0000;
  font-size: 0.9rem;
}

.lv1-nashi-on .description p {
  font-size: 1rem;
  font-weight: bold;
  text-indent: 0%;
}

/*** お知らせの背景 ***/

.lv1-nashi-on {
  /* [lv1-nashi] お知らせがない場合 */
  flex-direction: row;
  border: thin solid #f93;
}
.lv2-ari-on {
  /* [lv2-ari]   お知らせがある場合 */
  background-color: #ffc;
  border: thin double #f93;
}
.lv3-kinkyu-on {
  /* [lv3-kinkyu]緊急性の高いお知らせがある場合 */
  background-color: #fcc;
  border: thin solid #c33;
}

/*** お知らせの見出し ***/

/* [lv1-nashi]  */
.lv1-nashi-on .title {
  color: #666666;
  /*padding: 0.5rem 1rem;*/
}
.lv1-nashi-on .title::before {
  content: none;
}
/* [lv2-ari]  */
.lv2-ari-on .title::before {
  color: yellow;
}
.lv2-ari-on .title,
.lv3-kinkyu-on .title {
  padding-top: 0.5rem;
}

/*** スクロール ***/

.lv1-nashi-on .notice,
.lv2-ari-on,
.lv3-kinkyu-on {
  width: 100%;
  text-align: center;
  color: #000000;
  overflow: hidden;
}
.lv1-nashi-on .notice p,
.lv2-ari-on .title,
.lv3-kinkyu-on .title {
  display: inline-block;
  white-space: nowrap;
  animation: u-scrollAnime 10s linear infinite alternate;
  transform: translateX(0);
}

@keyframes u-scrollAnime {
  0% {
    margin-left: 100%;
    transform: translateX(0);
    color: yellow;
  }
  25% {
    margin-left: 75%;
    transform: translateX(-25%);
    color: blue;
  }
  50% {
    margin-left: 50%;
    transform: translateX(-50%);
    color: green;
  }
  75% {
    margin-left: 25%;
    transform: translateX(-75%);
    color: black;
  }
  100% {
    margin-left: 0%;
    transform: translateX(-150%);
    color: red;
  }
}
@keyframes flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.day-count {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: right;
}
@media screen and (min-width: 750px) {
  .c-osirase {
    display: flex;
    align-items: center;
  }
}
/* html{width:750px;}解除時に実行
@media screen and (min-width: 1024px) {
    .wide-layout {
        display: flex;
        justify-content: space-around;
    }
    .wide-layout > div {
        width: 48%;
    }
}
*/
