html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

.HOME_BODY {
  min-height: 100vh;
  background-image: url("../img/HOME_HAIKEI.jpg");
  background-size: 100% auto;   /* ← 横を基準にする */
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: bgFadeIn 2s ease forwards;  /* 背景フェードイン */

}

/* ロゴ */
.logo-image img{
  opacity: 0;
  animation: imgSlideIn 1.6s ease forwards;
  animation-delay: 1s;		/* logoスライドイン */
}

.logo-image img {
  width: 420px;          /* 好きに調整 */
  max-width: 90%;
}

/* お知らせ */
.news_box {
  position: fixed;
  top: 60%;
  right: -380px;

  width: 420px;
  height: 260px;   /* ★ これを基準にする */

  background: rgba(255,255,255,0.9);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);

  transition: 0.4s;
  z-index: 1000;
}

/* ホバーでスライド */
.news_box:hover {
  right: 0;
}

/* タブ部分 */
.news_tab {
  position: absolute;
  left: -50px;
  top: 0;

  width: 50px;
  height: 100%;

  background: rgba(221, 0, 175, 1);
  color: #fff;

  writing-mode: vertical-rl;

  display: flex;               /* ★ */
  align-items: center;         /* 縦中央 */
  justify-content: center;     /* 横中央 */

  letter-spacing: 2px;
  font-weight: bold;

  border-radius: 10px 0 0 10px;
  cursor: pointer;
}
/* 中身 */
.news_content {
  padding: 25px;
  font-size: 14px;
  line-height: 1.7;
}

/* アニメーション */
@keyframes bgFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 左から出る */
@keyframes imgSlideIn {
  from {
    opacity: 0;
    transform: translateX(-120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}