@charset "utf-8"; 

* {
    font-family: sans-serif;
}

h1 {
    font-size: 24px;
    color: #500050;
}

h2 {
    font-size: 20px;
    color: #500050;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    color: #500050;
    margin-left: 40px;
}


/* ====== ヘッダーのスタイル修正 ====== */
header {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* タイトルを左寄せ */
    padding-left: 20px;
    width: 100%;
    background-color: #500050; /* ヘッダーを帯状にする */
    color: #fffcf7; /* ヘッダー内のテキスト色を白に */
}

/* ナビゲーションバーを右揃え */
nav {
    width: 100%;
    text-align: right; /* 右寄せ */
    padding-right: 20px;
}

/* ナビゲーションリスト(PC) */
nav ul {
    display: flex;
    justify-content: flex-end; /* 右揃え */
    padding-left: 0;
    gap: 10px;
}

/* ====== ナビゲーションボタンのデザイン修正 ====== */
nav ul li a {
    text-decoration: none;
    color: #fffcf7; /* ボタンの文字色を白に */
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #fffcf7; /* 白枠をつけて統一感 */
    background-color: transparent; /* ボタン背景を透明にして一体感を出す */
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

/* ホバー時とアクティブなタブのデザイン */
nav ul li a:hover,
nav ul li a.active {
    background-color: #fffcf7;
    color: #500050;
}

/* ====== ハンバーガーメニュー（スマホ用） ====== */
.hamburger {
    display: none; /* PCでは非表示 */
    cursor: pointer;
    font-size: 28px;
    color: #fffcf7;
    background: none;
    border: none;
    padding: 6px;
    position: absolute;
    right: 20px;
}

/* スマホサイズ時の調整 */
@media screen and (max-width: 768px) {
    nav ul {
        display: none; /* スマホではメニューを非表示 */
        flex-direction: column;
        background-color: #500050;
        position: absolute;
        top: 30px;
        right: -40px;
        width: 220px;
        border-radius: 8px;
        padding: 10px;
    }

    nav ul.open {
        display: flex; /* ハンバーガークリック時に表示 */
    }

    .hamburger {
        display: block; /* スマホでハンバーガーを表示 */
    }
}

/* ====== タイトルのスタイル修正 ====== */
.en-title {
    text-align: left;
    margin-left: 0;
    font-size: 36px;
    background-color: #500050;
    color: #fffcf7; /* ヘッダーと一体化するため白に */
}

body{
    color: #500050;
    background-color: #fffcf7;
}

.profile-content{
    font-size: 18px;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;

}

.list-content{
    color: #500050;
    background-color: #fffcf7;
}

ul {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 50px;
}

li {
    list-style:none;
    margin: 10px;
}    