/* **************************************** */
/* フロート領域：秩父夜祭チラシPDF用
/* **************************************** */
#floatItemContainer {
    opacity: 0.9;
    background-color: white;
    z-index: 2000;
    position: fixed;
    top: 45px;
    right: 1%;
    width: 120px; /* カードの幅 */
    /* height: 139px; */
    border: 1px solid #ccc; /* 枠線 */
    border-radius: 5px; /* 角丸 */
    padding: 13px; /* 内側の余白 */
    /*margin: 10px;*/ /* 外側の余白 */
    text-align: center; /* テキスト中央揃え */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 影 */
    transition: transform 0.2s ease-in-out; /* ホバー時のアニメーション */
}
#floatItemContainer:hover {
  transform: translateY(-5px); /* ホバー時に少し浮き上がる */
}

#floatItemContainer img {
  width: 45px; /* アイコンの幅 */
  /*height: 50px;*/ /* アイコンの高さ */
  margin-bottom: 2px; /* アイコン下の余白 */
}

#floatItemContainer h3 {
  margin-bottom: 5px; /* タイトル下の余白 */
  margin-top: 5px;
  font-size: 0.9em;
}

#floatItemContainer .links a {
  margin: 0 3px; /* リンク左右の余白 */
  text-decoration: none; /* 下線を消す */
  color: #007bff; /* リンクの色 */
}

#floatItemContainer .links a:hover {
  text-decoration: underline; /* ホバー時に下線を表示 */
}


/* **************************************** */
/* フロート領域：広告枠用
/* **************************************** */
  /* フローティングバナーのスタイル */
  #floating-banner {
    z-index: 1500;
    opacity: 0.9;
    position: fixed;
    top: 185px; /* 画面下からの距離 */
    right: 5px;  /* 画面右からの距離 */
    width: 120px; /* 幅を設定、必要に応じて調整 */
    height: 75px; /* 黄金比に基づいた高さ */
    background-color: #fff; /* 背景色 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: 12px;
    /* アニメーションやその他のスタイルも追加可能 */
  }

  /* 広告の表記部分（上部） */
  #ad-header {
    background-color: #efcbaf;
     /* #f2a365; */
    padding: 4px;
    text-align: center;
    font-weight: bold;
  }

  /* 内容部分（画像とテキスト）を横並びに */
  /* #ad-content {
    display: flex;
    flex: 1;
    padding: 4px;
    align-items: center;
  } */

  /* 画像部分 */
  #ad-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #ad-image img {
    max-width: 100%;
    max-height: 80px; /* 高さ制限 */
    width: 88%;
    display: block;
    border-radius: 4px;
  }

  /* テキスト部分 */
  #ad-text {
    flex: 1;
    padding-top: 5px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8em;
  }
  /* リンクやホバーエフェクトも追加可能 */
