body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%; /* ページ全体の高さを確保 */  
    align-items: center;
    justify-content: center;  
}

/* コンテナのスタイル(サイドバーとヘッダー、メイン) */
.container {
    width: 1000px;
        background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
}

/* スマートフォン向けのスタイル */
@media (max-width: 600px) {
    body {
        background-color: white;
    }
    .container {
        width: 100%;
        padding: 10px;
    }
}

/* タブレット向けのスタイル */
@media (min-width: 601px) and (max-width: 1024px) {
    body {
        background-color: white;
    }
    .container {
        width: 80%;
        padding: 20px;
    }
}

/* デスクトップ向けのスタイル */
@media (min-width: 1025px) {
    body {
        background-color: white;
    }
    .container {
        width: 60%;
        padding: 30px;
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

header {
   /* background: linear-gradient(135deg, #1e5799 0%, #207cca 50%, #2989d8 100%);*/
    color: rgb(36, 20, 99);
    padding: 15px;
    margin-left: 0px; /* メインの左余白を設定 */
}

.header-container {
  text-align: left;
margin-left: 30px;
}

.small-text {
    font-size: 12px;
    margin: 5;
}

/* 日本語のチーム名 */
h1 {
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 5px;

}

/* 英語のチーム名 */
h2 {
    font-size: 26px;
    font-style: italic;
    margin-top: 0px;
    margin-bottom: 1px;

}


.sidebar {
    width: 200px;               /* ナビゲーションの幅を設定 */
    /*background-color: #f4f4f4; */ /* 背景色を設定 薄い灰色になる*/
       padding: 0px;
       left: 0;
       top: 0;
       overflow-y: auto;
       background-color: #ffffff;      /* 背景色を白に */
       border-right: 1px solid rgba(0, 0, 0, 0.2); /* 右側に薄い黒の線 */ 
       box-shadow: 3px 0 5px rgba(0, 0, 0, 0.1); /* 右側に薄い影 */
}

.menu-1 {
    text-align: center;
    margin-top: 80px; /* メインの上端からの余白を設定 */
    margin-left: 0px; /* メインの左余白を設定 */
    line-height: 2.3;
    font-size: 16px;
}



.menu-2 {
    display: block; /* 横並びにする */
        text-align: center;

}

.menu-2 a {
    text-decoration: none; /* 下線を削除 */
    color: black; /* 文字色を黒に設定 */
    font-size: 16px;
}

.menu-3  {
    text-align: center;
    margin-top: 50px; /* メインの上端からの余白を設定 */
    margin-left: 0px; /* メインの左余白を設定 */
    line-height: 2;
    padding: 20px;              /* 内側に余白を追加 */
    font-size: 14px;

}

.menu-4  {
    text-align: left;
    margin-top: 0px; /* メインの上端からの余白を設定 */
    margin-left: 0px; /* メインの左余白を設定 */
    line-height: 0.5;
    padding: 10px;              /* 内側に余白を追加 */
    font-size: 11.5px;


}

/* メニューの外部リンクのスタイル */
h3 {
    font-size: 16px;
    font-style: bold;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;

}

/* ナビゲーションメニューのリストのスタイルを初期化 */
nav ul {
   list-style-type: none;  /* リストのドットを消す */
    padding: 0;		     /* パディングを初期化 */

}

/* ナビゲーションメニューのリストアイテムを縦に並べる */
nav ul li {
    /*margin-bottom: 10px; */       /* リンク間にスペースを追加 */
}

/*ナビゲーションメニューのリンクのスタイル */
nav ul li a {
    color: black;		/* テキストカラーを設定 */
    text-decoration: none;　/* リンクの下線を消す */
    padding: 10px;
    display: block;
    /*background-color: #8989d8;*/
}

/* ナビゲーションメニューのホバー時のスタイル */
nav ul li a:hover {
    color: #007BFF;             /* ホバー時にテキストカラーを青に変更 */
}


        /* メインコンテンツエリア */
        .main-content {
            flex: 1; /* フッターを最下部に固定するために、メインコンテンツ部分を伸縮可能に */
            margin-top: 0px; /* メインの左余白を設定 */

            margin-left: 5px;
            padding: 20px;
            flex-grow: 1;
        }
    /* タブ（査読付き論文、総説、特許）のスタイル */
    .tabs {
        display: flex;
        margin-bottom: 20px;
        font-size: 16px;            /* フォントサイズを調整 */

    }

    .tab {
        padding: 10px 20px;
        cursor: pointer;
        background-color: #f8f6f6;
        border: 1px solid #ccc;
        margin-right: 10px;
        transition: background-color 0.3s, font-weight 0.3s;
    }

    .tab:hover {
        background-color: #ddd;
    }

    .tab.active {
        background-color: #4CAF50; /* クリックされたタブの背景色 */
        color: white; /* 文字色を白に */
        font-weight: bold; /* 文字を太字に */
    }

    /* リストのスタイル */
    .list {
        display: none;
    }

    .list.active {
        display: block;
    }



/* メインのスタイル */
h {
    /*background-color: #2989d8;*/
    margin-top: 0px;
    color: black;
    padding: 10px;
    font-size: 16px;            /* フォントサイズを調整 */

    width: 97%; /* メインの幅 */
    margin-left: 0px;
    padding-bottom: 10px; /* 下線との間隔 */
    border-bottom: 3px solid #47acff; /* 下線の色と太さ */
}





/* 論文タイトルのスタイル（ブロック体） */
.title {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* 著者情報のスタイル */
.authors {
    font-size: 14px;
    margin-top: 1px;
    color: #333;
    line-height: 1.0;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* 雑誌名のスタイル（イタリック） */
.journal {
    font-style: italic;
    font-size: 14px;
    line-height: 1.0;
    margin-top: 5px;
    margin-bottom: 5px;
}


/* DOIとリンクのスタイル */
.doi  {
    font-size: 14px;
    line-height: 1.0;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #333;             /* DOIの色を設定 */
}

.doi a {
    font-size: 14px;
    font-style: italic;
    line-height: 1.0;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #007BFF;             /* リンクの色を設定 */
}

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

}



footer {
    background-color: #333;
    font-size: 12px;
    padding: 10px 0; /* 上下のパディングを10pxに設定 */
    color: white;
    text-align: center;
    padding: 1px;
    position: relative;
    margin-top: auto; /* メインコンテンツが短い場合でも、フッターを画面の下に配置 */
    width: 1000px;

}