body {
    font-family:  'Dancing Script', cursive; /* 柔らかい印象のフォントに変更 */
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #fff; /* 背景色 */
    color: #3a3a3a; /* テキストカラー */
}

header {
    background-color: #000; /* メインカラー */
    color: #fff;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.message a {
    color: inherit; /* リンクの色を親要素の色に継承 */
　　text-decoration: underline; /* アンダーラインを追加 */
    background-color: #f0f0f0; /* 薄いグレーの背景色を追加 */
    padding: 2px 4px; /* 少しのパディングを追加して背景色を目立たせる */
}

.message a:hover, a:focus, a:active {
    color: inherit; /* ホバー時、フォーカス時、アクティブ時のリンク色を変えない */
    text-decoration: underline; 
　　　background-color: #f0f0f0; /* ホバー時の背景色を少し濃いグレーにする */
　　　display: inline-block; /* 背景色を適用するためにインラインブロックに変更 */
}

section {
	font-family: 'Merriweather', serif; /* 活字が見やすい書体に変更 */
	font-size: 15px;
}

.profile-photo-container {
    float: left; /* 画像を左に配置 */
    margin-left: 15px; /* 左に余白を追加 */
    margin-right: 20px; 
    margin-bottom: 20px; /* 下に余白を追加 */
}

.profile-photo {
    margin-top: 50px;
    width: 150px; /* 写真の幅を設定 */
    height: 200px; /* 写真の高さを設定 */
    border-radius: 47%; /* 画像を円形にする */
    object-fit: cover; /* 画像をコンテナに収める */
    border: 2px solid #fff; /* 枠線を追加 */
}

.message{
  margin-left: 20px;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: #fff;
}

@keyframes drawText {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
　　font-family:  'Dancing Script', cursive; /* 柔らかい印象のフォントに変更 */
    animation: drawText 2s ease-in-out; /* アニメーションを追加 */
    text-align: left; /* 左揃えにする */
}

#profile h2:first-of-type {
    margin-top: 40px; /* 経歴のh2の上に40pxの余白を追加 */
}

section h2 {
    margin-left: 20px; /* 左に20pxのマージンを追加 */
    margin-bottom: 20px;
    border-bottom: 2px solid #a2d5c6; /* 区切り線の色を設定 */
    padding-bottom: 10px;
    font-size: 1.2em; /* フォントサイズをさらに小さく調整 */
    font-weight: normal;
    font-family: 'Merriweather', serif; /* 活字が見やすい書体に変更 */
    letter-spacing: 1px; /* 文字間隔を調整 */
    color: #2a9d8f; /* テキストカラーを変更 */
}


 .content {
     font-family: 'Merriweather', serif; /* 活字が見やすいフォントに変更 */
     margin-left: 30px;
    margin-right: 30px;
}

.fancy {
    font-size: 1.2em;
    color: #f7cac9; /* 強調色 */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* 項目を中央に配置 */
    max-width: 700px; /* メニューの最大幅を設定 */
}

nav ul li {
    text-align: center; /* テキストを中央揃え */
    position: relative; /* 区切り線を追加するために相対位置に設定 */
}

nav ul li a {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* メニュー全体を筆記体ではないフォントに変更 */
    font-size: 0.9em; /* フォントサイズを小さく調整 */
    color: #fff;
    text-decoration: none;
    display: block; /* リンク全体をクリック可能にする */
    padding: 10px 15px; /* 上下と左右のパディングを追加 */
}

nav ul li a:hover {
    background-color: #a2d5c6; /* ホバー時の背景色 */
    color: #fff; /* ホバー時のテキストカラー */
    border-radius: 3px; /* 角を丸くする */
    transition: background-color 0.3s, color 0.3s; /* トランジション効果 */
}

nav ul li:not(:last-child)::after {
    content: ''; /* 区切り線を追加 */
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50%;
    background-color: #a2d5c6; /* 区切り線の色 */
    transform: translateY(-50%);
}

.menu-icon {
    display: none;
    cursor: pointer;
}


.site-title a {
    color: inherit; /* リンクの色を親要素の色に継承 */
    text-decoration: none; /* デフォルトの下線を削除 */
}

.site-title a:hover {
    text-decoration: none; /* ホバー時に下線を表示しない */
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #a2d5c6;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #a2d5c6; /* ボタンの背景色 */
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: #7bb49f; /* ホバー時の背景色 */
    transform: scale(1.1);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

　　 nav ul li:not(:last-child)::after {
        content: none; /* 右側の区切り線を表示しない */
    }

.profile-content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
.text{
    margin-left: 15px;
}

    .profile-photo {
        max-width: 150px; /* スマートフォンでの写真の幅を調整 */
        margin-bottom: 20px;
        height: auto; /* 高さを自動調整 */
    }

h2 {
        font-size: 1.1em; /* スマートフォンでのフォントサイズをさらに調整 */
        margin: 20px 0;
        padding-bottom: 5px;
　　　　 margin-left: 20px;
    }

