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 {
    flex: 1; /* フッターを最下部に固定するために、メインコンテンツ部分を伸縮可能に */
    padding: 20px;
    margin-left: 0px; /* メインの左余白を設定 */
    margin-top: 0px; /* メインの左余白を設定 */

}

main img {
    display: block;  /* 画像をブロック要素として扱い、独立した行に配置 */
    margin-top: 20px; /* 画像上部の余白を調整 */
    width: 100%;/* 必要に応じてサイズ調整 */
    height: auto;/* autoはアスペクト比を固定 */
    margin-bottom: 20px;

    cursor: zoom-in;              /* クリックできることを示す */
    transition: transform 0.3s ease; /* なめらかに拡大 */
}

/* ? クリック中だけ拡大 */
main img:active {
    transform: scale(1.6);
}

/* Mainでのフォントなどの調整*/

main p {
    font-size: 16px;
    margin-top: 5px;
    margin-left: 0px;
    margin-bottom: 20px;
    line-height: 1.5;

    word-break: break-word; /* 幅に合わせて単語を折り返す */
}



/* About us、最近のトピックスのスタイル */
h4 {
    /*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; /* 下線の色と太さ */
}

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;

}
