
/* 右側NEWS */
.side-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 27%;/* 幅28% */
  height: 55%;
  background-color: rgba(0, 0, 0, 0.7); /* 黒70%透過 */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(0);  /* 初期状態：表示 */
  transition: transform 0.4s ease; /* アニメーション */
}

/* CLOSEボタン */
.close-btn {
/*  background: none;*/
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: 0.8rem;
/*  text-align: right;*/
  text-align: center;
  cursor: pointer;
  background-color: #000;
}

.close-btn:hover {
  opacity: 0.8;
}

/* 非表示状態 */
.side-panel.hidden {
  transform: translateX(100%); /* 右にスライドして消える */
}

/* パネル内テキスト */
.panel-content {
  padding: 0rem 1.3rem 1rem 1.3rem;
  color: #fff;
  overflow-y: auto;
}

/* OPENボタン：右端中央に縦長 */
.open-btn {
  position: fixed;
  top: 75%;
  right: 0;
  transform: translateY(-75%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  padding: 1rem 0.5rem 1rem 0.7rem;
/*  writing-mode: vertical-rl;  /* 縦書きにする */
/*text-orientation: mixed;*/
  cursor: pointer;
  font-size: 1rem;
  z-index: 9998;
  display: none; /* 初期状態は非表示 */
  border-radius: 4px 0 0 4px;
}

.open-btn:hover {
  opacity: 0.8;
}

/* パネルが閉じているときにOPENボタン表示 */
.side-panel.hidden ~ .open-btn {
  display: block;
}

/*----------------------------------------------*/
/*NEWS記事*/
#sidePanel h2 {
font-size: 1.5rem;
letter-spacing: 0.15em;
text-align: center;
padding: 0.8em 0 0.5em 0;
border-bottom: #9e9e9e solid 1px;
margin: 0 0 0.8em 0;
}

#sidePanel .news_name {
color: #1d2087;
font-size: 260%;
border-bottom: #9e9e9e solid 1px;
padding: 1.5em 0 0.5em 0;
text-align: center;
margin-bottom: 0.5em;
}

/*#sidePanel .news_name span {
letter-spacing: 0.15em;
}*/

#sidePanel .news {
padding-bottom: 5em;
width: 75%;
margin: 0 auto;
}

#sidePanel .news_top {
border-left: 8px solid #009fe8;
padding: 0.5em 0 0.5em 0.8em;
}

#sidePanel .data {
font-weight: bolder;
color: #009fe8;
font-size: 90%;
display: inline-block;
width: 8em;
}

#sidePanel .news_title {
font-weight: bolder;
font-size: 110%;
}

#sidePanel .news_txt {
font-size: 100%;
padding: 1em 0 1.5em 0;
line-height: 1.6em;
border-bottom: 1px solid #9e9e9e;
margin-bottom: 1.5em;
margin-top: -1em;
}



