.floating-banner {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #021e6e;
  color: #ffffff;
  padding: 20px 20px; /* 中身基準で背景サイズ決定 */
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 中身（クリック領域） */
.floating-banner a {
  display: flex;
  flex-direction: row;        
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;                   
  height: 100%;                  
  padding: 20px 0;
  color: #ffffff;
  text-decoration: none;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 18px;
}

/* アイコン */
.floating-banner img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}

/* ホバー */
.floating-banner:hover {
  background-color: #c33925;
}

.floating-banner:hover a {
  color: #ffffff;
}

@media screen and (max-width: 980px) {
  .floating-banner {
    display: none;
  }
}

/* PCは通常表示（必要に応じて） */
.img-scroll {
  text-align: center;
}

.img-scroll img {
  max-width: 1000px;
  width: 90%;
  height: auto;
}


/* SPのみ適用 */
@media screen and (max-width: 768px) {

  .img-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    text-align: center;
  }

  .img-scroll img {
    width: 700px;
    max-width: none;
    height: auto;
    display: block;
    margin: 20px auto;
  }

}

