/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    background-color: #0b0058; /* 濃い紺色の背景 */
    color: #000000; /* テキストの基本色（青） */
    font-family: "MS Pゴシック", "MS PGothic", sans-serif;
}

/* レイアウト：Flexboxでサイドバーとメインを横並びに */
.container {
    display: flex;
    min-height: 85vh;
}

/* サイドバー 
.sidebar {
    width: 150px;
    background-color: #0b0058;
    padding: 20px;
    display: flex;
    justify-content: center;
}*/

.logo {
    color: #ffcccc;
    font-size: 2rem;
    font-style: italic;
    text-shadow: 2px 2px 4px #ff0000; /* ロゴの立体感 */
}

/* メインコンテンツエリア */
.main-content {
    flex: 1;
    background-color: #ffffff; /* 白色のコンテンツエリア */
    margin: 10px;
    padding: 20px;
    position: relative;
    border: 1px solid #000;
}

/* 右上の写真とボタン */
.content-header {
    display: flex;
    flex-direction: row-reverse; /* 右寄せ */
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.user-photo img {
    width: 180px;
    height: auto;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); 
}

.user-name {
    color: #0000ff;         /* 鮮やかな青色 */
    font-size: 1.25rem;     /* 標準より少し大きく（font size=4相当） */
    font-weight: bold;      /* 太字にして強調 */
    margin-bottom: 5px;     /* 下の改行（br）の代わりの余白 */
    display: inline-block;  /* レイアウトを崩れにくくします */
}

.history-button button {
    background: #eee;
    border: 1px solid #666;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* 文章エリア */
.intro-text {
    line-height: 1.8;
    /* font-weight: bold; */
    display: flex;
    justify-content: space-between;
}

.side-note {
    writing-mode: vertical-rl; /* 縦書き（画像の雰囲気を再現） */
    text-align: right;
}

/* フッターナビゲーション */
.footer-nav {
    text-align: center;
    padding-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    display: inline-block;
    margin: 0 10px;
}

.footer-nav a {
    color: #ff00ff; /* リンクのピンク/マゼンタ色 */
    text-decoration: none;
    font-size: 1.1rem;
}

/* レスポンシブ対応（スマホ用） */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 10px 0;
    }
    .main-content {
        margin: 5px;
    }
    .logo {
        font-size: 1.5rem;
    }
}