body{
    color: #828282;
    background-color: #F5F5F5;
    text-align: center;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}

a{
    text-decoration: none;
    color: #000000;
}

.menu{
    margin: 0!important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
.menu img{
    width: 10vw;
}
.menu-bar img{
    /*左寄せ*/
    margin-right: auto;
}
.menu-logo img{
    /*中央寄せ*/
    margin: 0 auto;
    width: 60%;

}

.menu-icom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icom img{
    /*右寄せ*/
    border-radius: 5px;
    background-color: #333;
    margin-left: auto;
}

  /* 新しいスタイル */
  .menu-items {
    position: fixed;
    top: 0;
    left: -250px; /* 初期位置は画面外 */
    width: 250px;
    height: 100%;
    background-color: #fff; /* メニューの背景色 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* メニューの影 */
    transition: left 0.3s ease; /* スライドのトランジション */
    z-index: 100;
}
.menu-items h3{
    margin: 20px 10px 10px 10px;
}
.menu-items.open {
    left: 0; /* メニューを画面内にスライド */
   
}


.menu-items ul {
    text-align: left;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;


}

.menu-items ul li {
    /*上下中央　左揃え*/
    display: flex;
    align-items: center;
    padding: 10px 15px;
    height: 25px;
    border-bottom: 1px solid #ccc;
}

.menu-items ul li p {
    margin-left: 10px;
    text-decoration: none;
    color: #333;
}
.menu-items ul li img {
    height: 30px;
}

.menu-items ul li:hover {
    background-color: #f5f5f5;
}
.logout{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logout img{
    /*左寄せ*/
    margin-right: auto;
    width: 5vw;
    position: absolute;
    left: 60px;
    top: 19px;
}

.version{
    /*右寄せ*/
    margin: 20px 20px;
    text-align: right;
}

/*メニューを開いた時に背景を暗くする*/
#background1{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    animation: fadeIn 0.5s;
}
/*fadein*/
@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.back-to-main-button {
    z-index: 1000; /* ボタンを最前面に表示 */
    position: fixed; /* 固定位置 */
    bottom: 20px; /* 下からの距離 */
    right: 20px; /* 右からの距離 */
    width: 120px; /* ボタンの幅 */
    height: 50px; /* ボタンの高さ */
    background-color: #007bff; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border-radius: 25px; /* ボタンを丸くする */
    display: flex; /* フレックスボックスで配置 */
    align-items: center; /* 垂直方向に中央に配置 */
    justify-content: center; /* 水平方向に中央に配置 */
    text-decoration: none; /* 下線を削除 */
    font-size: 16px; /* テキストのサイズ */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ボタンに影を追加 */
    transition: background-color 0.3s, box-shadow 0.3s; /* ホバー時のトランジション */
}

.button-icon {
    font-size: 20px; /* アイコンのサイズ */
    margin-right: 8px; /* アイコンとテキストの間隔 */
}

.button-text {
    display: inline-block; /* テキストをインラインブロックにする */
}

.back-to-main-button:hover {
    background-color: #0056b3; /* ホバー時の背景色 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* ホバー時の影 */
}
