/* サイト全体のフォント指定 */
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", "sans-serif";
}

html,
body {
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  height: 100%;
}

html,
body,
#cesiumContainer {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*  font-family: sans-serif;*/
  background: #000;
}

/*左側の操作パネル*/
.backdrop {
  display: inline-block;
  /*  background: rgba(42, 42, 42, 0.75);*/
  background: rgba(42, 42, 42, 0.7);
  border-radius: 15px;
  /*  border: 1.0px solid #444;*/
  padding: 5px 10px;
  color: #ffffffc9;
  line-height: 140%;
  font-size: small;
}

.backdrop a:link,
.backdrop a:visited,
.backdrop a:hover {
  color: #fff;
}

#menu {
  position: absolute;
  left: 10px;
  top: 10px;
}

.nowrap {
  white-space: nowrap;
}

/*画面右側のタイムライン*/
.backdropLegend {
  display: inline-block;
  background: rgba(42, 42, 42, 0.45);
  border-radius: 10px;
  /*  border: 1.5px solid #444;*/
  padding: 5px 10px;
  color: #fff;
  line-height: 130%;
  font-size: small;
}

/*上部の凡例*/
.backdropLegend2 {
  display: inline-block;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 10px;
  padding: 5px 10px;
  color: #fff;
  line-height: 150%;
  font-size: small;
}

.backdropLegend3 {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  padding: 5px 5px;
  color: #fff;
  line-height: 100%;
  font-size: small;
}

/*メインメニュー（ナビゲーションバー）*/
/*
#menuLegend {
  position: absolute;
  right: 10px;
  bottom: 35px;
  line-height: 60%;
  font-size: small;
  color: #fff;
}
*/
#menuLegend {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-block;
  background: rgba(42, 42, 42, 0.7);
  border-radius: 10px;
  padding: 8px 12px;
  color: #ffffffc9;
  line-height: 0.9;
  font-size: 12px; /* ← small より小さく */
  z-index: 1000;
}

/*下部の凡例*/
#bottomLegend {
  position: absolute;
  right: 50%;
  bottom: 35px;
  /*  line-height: 100%;*/
  font-size: small;
  color: #fff;
}

/*画面左下の凡例*/
#leftLegend {
  position: absolute;
  left: 35px;
  bottom: 35px;
  line-height: 60%;
  font-size: small;
  color: #fff;
}

/*右側の最近の地震*/
#timeline {
  z-index: 0;
  position: absolute;
  right: 10px;
  top: 105px;
  line-height: 180%;
  max-height: 50%;
  font-size: small;
  color: #fff;
  padding: 6px 10px 2px 10px;
  border-radius: 10px;
  /*  white-space: nowrap;*/
  overflow-y: scroll;
}

/*震源情報の表示（画面上部）*/
#topLegend {
  position: absolute;
  right: 44.5%;
  top: 10px;
  font-size: small;
  color: #ffffffa6;
}

/*カメラ高度情報の表示*/
#altitudeValue {
  position: absolute;
  right: 3%;
  bottom: 35px;
  font-size: x-small;
  color: #ffffff93;
}

/*スクロールバーのカスタマイズ*/
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background-color: rgba(170, 170, 170, 0.2);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(170, 170, 170, 0.2);
  border-radius: 5px;
  width: 7px;
}

.container {
  overflow: scroll;
  -ms-overflow-style: none; /* これを追加 */
}
.container::-webkit-scrollbar {
  display: none;
}

.backdropLegend a:link,
.backdropLegend a:visited,
.backdropLegend a:hover {
  color: #fff;
}

/*水平区切り線*/
hr {
  border: none;
}

.hr1 {
  border-top: 1.5px solid #c0c0c0;
}

.hr2 {
  border-top: 0.7px solid #838282be;
}

.example {
  font-size: 40%;
}

/*セレクトメニューの背景色*/
.bgc {
  appearance: none;
  background-color: rgba(220, 220, 220, 0.1);
  color: #dfdfdf;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 7px;
  border: 1.5px solid #5f5f5f;
  overflow: hidden; /* スクロールバーを非表示にする */
}

.bgc:focus {
  outline: none;
  border-color: #808080;
  color: #dfdfdf;
}

.bgc option {
  background-color: rgb(44, 44, 44);
  color: #bdbdbd;
  border-color: #000000;
  border-radius: 7px; /* オプションの枠を丸くする */
}

/* セレクトメニューのグループの背景色 */
.bgc optgroup {
  background-color: rgb(44, 44, 44);
  color: #ffffff;
}

.rounded-corner {
  padding: 2px;
  border: none;
  background: #565656;
  text-decoration: none;
  color: #dfdfdf;
  font-size: 12px;
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 0px 10px 0 rgba(166, 166, 166, 0.7);
  display: inline-block;
}

#myImage {
  opacity: 0.7; /* 透明度を50%に設定 */
}

/*  */
.bgc2 {
  -moz-appearance: textfield; /* Firefoxでスピンボタンを非表示にする */
  appearance: none;
  background-color: rgba(220, 220, 220, 0.1);
  color: #dfdfdf;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 7px;
  border: 1.5px solid #5f5f5f;
  overflow: hidden; /* スクロールバーを非表示にする */
}

/* WebKitブラウザ用のスピンボタン非表示スタイル */
.bgc2::-webkit-outer-spin-button,
.bgc2::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bgc2:focus {
  outline: none;
  border-color: #808080;
  color: #dfdfdf;
}

.bgc2 option {
  background-color: rgb(44, 44, 44);
  color: #bdbdbd;
  border-color: #000000;
  border-radius: 7px; /* オプションの枠を丸くする */
}

/* ラジオボタンの親要素のスタイル */
.radio-group {
  border: 1px solid #787878; /* 四角の境界線 */
  padding: 3px; /* ラベルの周囲の余白 */
  margin: 2px; /* ラベル間の余白 */
  border-radius: 0px; /* 四角の角の丸み */
}
