/* A-Frameコンテナ */
#scene-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* background: #000; */
    display: block;
}

/* A-Frame sceneタグ */
a-scene {
    width: 100vw !important;
    height: 100vh !important;
    display: block;
    position: relative;
}

/* 全体の位置を設定 */
#streetview-marker-disp-toggle {
    position: fixed;
    /* 固定表示 */
    bottom: 45px;
    /* 右に表示 */
    right: 70px;
    /* 画面右端からの距離 */
    z-index: 1000;
    /* 前面に表示するための設定 */
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 垂直方向の中央揃え */
    font-family: 'Arial', sans-serif;
    /* フォント設定 */
    font-size: 12px;
    /* テキストサイズ */
    color: #ffffff;
    /* テキスト色 */
    background: rgb(0, 0, 0);
    /* 背景を黒にする */
    padding: 8px 12px;
    /* 内側の余白を設定 */
    border-radius: 8px;
    /* 角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* 影で立体感を追加 */
    cursor: pointer;
    /* クリック可能に見せる */
}

/* ラベル内を横並びにする */
.streetview-marker-disp-label {
    display: flex;
    align-items: center;
}

/* チェックボックスを非表示にしてカスタムスタイルで置き換える */
.streetview-marker-disp-label input[type="checkbox"] {
    display: none;
    /* 標準のチェックボックスを非表示にする */
}

/* トグルスイッチの見た目を設定 */
.streetview-marker-toggle-slider {
    position: relative;
    width: 30px;
    /* トグルスイッチの幅 */
    height: 15px;
    /* トグルスイッチの高さ */
    border-radius: 12px;
    /* 丸みを付ける */
    background: #707070;
    /* オフ時の背景色 */
    margin-left: 10px;
    /* テキストとスイッチ間の余白 */
    transition: background 0.3s ease;
    /* 背景色の変更を滑らかに */
}

/* トグルスイッチの丸いスライダー部分 */
.streetview-marker-toggle-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    /* スライダーの幅 */
    height: 10px;
    /* スライダーの高さ */
    background: white;
    /* スライダーの背景色 */
    border-radius: 50%;
    /* セミ円を作成 */
    transition: transform 0.3s ease;
    /* スライダーの動きを滑らかにする */
}

/* チェックオン時のトグルスイッチスタイル */
.streetview-marker-disp-label input[type="checkbox"]:checked+.streetview-marker-toggle-slider {
    background: #339cff;
    /* チェック時の背景色 */
}

.streetview-marker-disp-label input[type="checkbox"]:checked+.streetview-marker-toggle-slider::before {
    transform: translateX(15px);
    /* 丸部分を右に移動 */
}

/* 全体の位置を設定 */
#streetview-polygon-disp-toggle {
    position: fixed;
    /* 固定表示 */
    bottom: 85px;
    /* 右に表示 */
    right: 70px;
    /* 画面右端からの距離 */
    z-index: 1000;
    /* 前面に表示するための設定 */
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 垂直方向の中央揃え */
    font-family: 'Arial', sans-serif;
    /* フォント設定 */
    font-size: 12px;
    /* テキストサイズ */
    color: #ffffff;
    /* テキスト色 */
    background: rgb(0, 0, 0);
    /* 背景を黒にする */
    padding: 8px 12px;
    /* 内側の余白を設定 */
    border-radius: 8px;
    /* 角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* 影で立体感を追加 */
    cursor: pointer;
    /* クリック可能に見せる */
}

/* ラベル内を横並びにする */
.streetview-polygon-disp-label {
    display: flex;
    align-items: center;
}

/* チェックボックスを非表示にしてカスタムスタイルで置き換える */
.streetview-polygon-disp-label input[type="checkbox"] {
    display: none;
    /* 標準のチェックボックスを非表示にする */
}

/* トグルスイッチの見た目を設定 */
.streetview-polygon-toggle-slider {
    position: relative;
    width: 30px;
    /* トグルスイッチの幅 */
    height: 15px;
    /* トグルスイッチの高さ */
    border-radius: 12px;
    /* 丸みを付ける */
    background: #707070;
    /* オフ時の背景色 */
    margin-left: 10px;
    /* テキストとスイッチ間の余白 */
    transition: background 0.3s ease;
    /* 背景色の変更を滑らかに */
}

/* トグルスイッチの丸いスライダー部分 */
.streetview-polygon-toggle-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    /* スライダーの幅 */
    height: 10px;
    /* スライダーの高さ */
    background: white;
    /* スライダーの背景色 */
    border-radius: 50%;
    /* セミ円を作成 */
    transition: transform 0.3s ease;
    /* スライダーの動きを滑らかにする */
}

/* チェックオン時のトグルスイッチスタイル */
.streetview-polygon-disp-label input[type="checkbox"]:checked+.streetview-polygon-toggle-slider {
    background: #339cff;
    /* チェック時の背景色 */
}

.streetview-polygon-disp-label input[type="checkbox"]:checked+.streetview-polygon-toggle-slider::before {
    transform: translateX(15px);
    /* 丸部分を右に移動 */
}

/* 全体の位置を設定 */
#streetview-marker-mini-map-resize-button {
    position: fixed;/* 固定表示 */
    bottom: 25px;/* 固定表示 */
    left: 25px;/* 画面上部のレイヤーボタンの上部に表示 */
    z-index: 3000;/* 画面中央に配置 */
    display: flex;/* 横並びにする */
    align-items: center;/* 垂直方向の中央揃え */
    font-family: 'Arial', sans-serif;/* フォント設定 */
    font-size: 12px;/* テキストサイズ */
    color: #333;/* テキスト色 */
    background: white;/* 背景を白にする */
    padding: 8px 12px;/* 内側の余白を設定 */
    border-radius: 8px;/* 角を丸くする */
    border: 1px solid #000000;/* 薄いグレーの枠線 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);/* 影で立体感を追加 */
    cursor: pointer;/* クリック可能に見せる */
}

#streetview-marker-mini-map-resize-button:hover {
    background-color: #76d8ff;/*カーソルを合わせたときにわかりやすく色を変える*/
}

/* ミニマップコンテナのデザイン */
#streetview-marker-mini-map-container {
    position: absolute;
    /* A-Frameシーン上に重ねる */
    bottom: 20px;
    /* 下部に配置 */
    left: 20px;
    /* 右端に配置 */
    width: 218px;
    /* コンテナの幅 */
    height: 100px;
    /* 高さの設定 */
    background: white;
    /* ミニマップの背景色 */
    border: 2px solid #000000;
    /* 薄いグレーの枠線 */
    border-radius: 10px;
    /* 角を丸くする */
    z-index: 1000;
    /* A-Skyや他の要素より前面に表示 */
    display: block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* マップを浮かせた見た目にする */
    transition: width 0.7s ease, height 0.7s ease;
    ;
}

/* ホバー時のデザイン */
#streetview-marker-mini-map-container:hover {
    width: 600px;
    /* コンテナの幅 */
    height: 360px;
    /* 拡大サイズ */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.4);
    /* 強調された影 */
}

/* 全体の位置を設定 */
#streetview-bind-directional-buttons-disp-toggle {
    position: fixed;/* 固定表示 */
    bottom: 5px;/* 左下のレイヤーボタンの上部に表示 */
    right: 70px;/* 画面右端からの距離 */
    z-index: 1000;/* 前面に表示するための設定 */
    display: flex;/* 横並びにする */
    align-items: center;/* 垂直方向の中央揃え */
    font-family: 'Arial', sans-serif;/* フォント設定 */
    font-size: 12px;/* テキストサイズ */
    color: #ffffff;/* テキスト色 */
    background: rgb(0, 0, 0);/* 背景を黒にする */
    padding: 8px 12px;/* 内側の余白を設定 */
    border-radius: 8px;/* 角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);/* 影で立体感を追加 */
    cursor: pointer;/* クリック可能に見せる */
}

/* ラベル内を横並びにする */
.streetview-directional-buttons-disp-label {
    display: flex;
    align-items: center;
}

/* チェックボックスを非表示にしてカスタムスタイルで置き換える */
.streetview-directional-buttons-disp-label input[type="checkbox"] {
    display: none;/* 標準のチェックボックスを非表示にする */
}

/* トグルスイッチの見た目を設定 */
.streetview-toggle-slider {
    position: relative;
    width: 30px;/* トグルスイッチの幅 */
    height: 15px;/* トグルスイッチの高さ */
    border-radius: 12px;/* 丸みを付ける */
    background: #707070;/* オフ時の背景色 */
    margin-left: 10px;/* テキストとスイッチ間の余白 */
    transition: background 0.3s ease;/* 背景色の変更を滑らかに */
}

/* トグルスイッチの丸いスライダー部分 */
.streetview-toggle-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;/* スライダーの幅 */
    height: 10px;/* スライダーの高さ */
    background: white;/* スライダーの背景色 */
    border-radius: 50%;/* セミ円を作成 */
    transition: transform 0.3s ease;/* スライダーの動きを滑らかにする */
}

/* チェックオン時のトグルスイッチスタイル */
.streetview-directional-buttons-disp-label input[type="checkbox"]:checked+.streetview-toggle-slider {
    background: #339cff;/* チェック時の背景色 */
}

.streetview-directional-buttons-disp-label input[type="checkbox"]:checked+.streetview-toggle-slider::before {
    transform: translateX(15px);/* 丸部分を右に移動 */
}

/* コンパス */
#streetview-compass {
    position: absolute;
    bottom: 130px;
    /* 下部に配置 */
    right: 10px;
    /* 右端に配置 */
    width: 50px;
    /* コンテナの幅 */
    height: auto;
    /* 高さを自動調整 */
    object-fit: contain;
    /* プレビューで画像を収める */
}

/* ズームボタンコンテナ */
#streetview-marker-zoom-container {
    position: absolute;
    /* 必要に応じて位置を調整 */
    bottom: 50px;
    right: 17.5px;
    display: flex;
    flex-direction: column;
    /* ボタンを縦に並べる */
    background-color: rgb(0, 0, 0);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
}

/* ズームイン・ズームアウトボタン */
#streetview-marker-zoom-in,
#streetview-marker-zoom-out {
    padding: 7px 10px;
    font-weight: bold;
    font-size: 14px;
    color: #c4c4c4;
    border: none;
    cursor: pointer;
    border-radius: 0px;
    background-color: rgb(0, 0, 0);
    outline: none;
}

/* ズームイン・ズームアウトボタンの境界線 */
#streetview-marker-zoom-in:first-child {
    border-bottom: 1.5px solid #a5a5a5;
}