/*
*= require_tree .
*= require_self
*/

/* ========== 共通設定 ========== */
body {
    background-color: white;
    background-image: linear-gradient(351deg, rgba(191, 214, 255, 1), rgba(255, 198, 206, 1));
    margin: 0;
    font-family: sans-serif;
    text-align: center;
}

/* ========== ヘッダー ========== */
.header {
    background-color: rgba(255, 231, 231, 0.913);
    backdrop-filter: blur(3px);
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 122, 32, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between; /* 修正: ロゴは左、メニューエリアは右 */
    align-items: center;
    max-width: 1000px;
    margin: -19px auto;
    padding: 0 15px;
}

.logo a {
    text-decoration: none;
    color: #ff9d9d;
    /* align-items: center; は親要素のalign-itemsで制御されるので不要 */
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0; /* ロゴが縮まないように */
}

/* ========== メニュー ========== */
.menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* メニューより手前に表示 */
    display: block; /* 修正: 常に表示 */
    padding: 5px; /* クリックしやすいように */
    /* margin-left: auto; はheader-innerのjustify-contentで制御されるので不要 */
}

.nav-menu {
    display: none; /* 修正: デフォルトで非表示 (JavaScriptで開閉) */
    position: absolute; /* ハンバーガーメニューで開閉するため */
    top: 60px; /* ヘッダーの高さに合わせて調整 */
    right: 1rem; /* 右端からの位置 */
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    z-index: 1000;
    min-width: 150px; /* メニューの最小幅を設定 */
    /* スムーズなアニメーションを追加したい場合は以下を有効に */
    /* transition: opacity 0.3s ease, transform 0.3s ease; */
    /* transform: translateY(-10px); */
    /* opacity: 0; */
    /* pointer-events: none; */
}

.nav-menu.active {
    display: block; /* JavaScriptでアクティブになったら表示 */
    /* transform: translateY(0); */
    /* opacity: 1; */
    /* pointer-events: auto; */
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* メニュー項目は縦並びなのでdisplay: flex; は不要 */
}

.nav-menu li {
    margin: 0.5rem 0;
    text-align: left; /* メニュー項目を左寄せ */
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    display: block; /* クリック領域を広げる */
    padding: 0.2rem 0;
}

/* ========== コンテンツ ========== */
.container {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    padding-bottom: 2rem;
    padding-left: 15px; /* 左右に少し余白を追加 */
    padding-right: 15px; /* 左右に少し余白を追加 */
}

.content {
    background-color: #ffffff;
    border: 1px solid rgba(0, 122, 32, 0.3);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    box-sizing: border-box; /* paddingを幅に含める */
}

/* ========== タイマー ========== */
#timer {
    font-size: 3em;
    margin-bottom: 20px;
}

button {
    font-size: 1.2em;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

/* ========== メッセージ表示 ========== */
.hidden {
    display: none;
}

#flower-message img {
    display: block;
    margin: 10px auto 0;
    max-width: 150px;
    height: auto; /* 縦横比を保つ */
}

/* ========== トップページ ========== */
.top-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* 全体に余白 */
    box-sizing: border-box;
}

.top-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 2rem;
    color: #ff9d9d;
    margin-bottom: 1rem;
}

.catchphrase {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.top-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.start-button {
    display: inline-block;
    background-color: #b4e3a0;
    color: #333;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: #a1d38e;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

#seed-image img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#flower-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #a1d8af;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.4s ease, top 0.4s ease;
    max-width: 90%;
    box-sizing: border-box;
}

#flower-message.show {
    opacity: 1;
    top: 40px;
    display: block;
}

.record-description {
    color: #6b4c4c;
    background: #fff5f5;
    padding: 1em;
    border: 1px solid #fcd5ce;
    border-radius: 1em;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.record-description p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.record-description strong {
    color: #ff69b4;
    font-size: 1.1em;
}

.record-time {
    background: #fff8f0;
    border: 2px solid #ffc0cb;
    border-radius: 12px;
    padding: 1.5em 2em;
    max-width: 480px;
    margin: 1em auto;
    box-shadow: 0 6px 12px rgba(255, 192, 203, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #5a3d4a;
    box-sizing: border-box;
}

/* ========== ToDo機能関連 (付箋メモ風に修正) ========== */
.todo-section {
    background-color: #ffffff;
    border: 1px solid rgba(0, 122, 32, 0.3);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    box-sizing: border-box;
}

.todo-form {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
    text-align: left;
}

.form-input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.btn-add-todo {
    background-color: #ff9d9d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-add-todo:hover {
    background-color: #ff7f7f;
}

.todo-list-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 10px;
}

.todo-list-container h3 {
    color: #6b4c4c;
    margin-bottom: 15px;
    font-size: 1.5em;
    width: 100%;
    text-align: center;
}

.todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: contents;
}

.todo-list-item {
    padding: 15px;
    width: 200px;
    min-height: 120px;
    background-color: #ffffff;
    border: 1px solid #b4e3a0;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: rotate(calc(var(--rotation) * 1deg));
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.todo-list-item:nth-child(odd) { --rotation: -2; }
.todo-list-item:nth-child(even) { --rotation: 2; }
.todo-list-item:nth-child(3n) { --rotation: 0; }

.todo-item-content {
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    text-align: left;
    margin-bottom: 10px;
}

.todo-checkbox {
    margin-right: 10px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-name {
    font-size: 1em;
    color: #333;
    word-break: break-word;
    line-height: 1.4;
}

.task-completed {
    text-decoration: line-through;
    color: #888;
    font-style: italic;
}

.todo-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.btn-edit-todo,
.btn-delete-todo {
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    text-decoration: none;
    margin-left: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.btn-edit-todo {
    background-color: #e0f2f7;
    color: #96c1ef;
    border: 1px solid #b3e0ed;
}

.btn-edit-todo:hover {
    background-color: #ccecf4;
}

.btn-delete-todo {
    background-color: #ffe0e6;
    color: #dc3545;
    border: 1px solid #ffb3c1;
}

.btn-delete-todo:hover {
    background-color: #ffc2d1;
}

/* エラーメッセージ全体 */
#error_explanation {
  background-color: #ffe6ea; /* ピンク系の淡い背景 */
  color: #ff4757; 
  border: 2px dashed #ff99aa; /* 破線にして柔らかく */
  border-radius: 12px; /* 丸みを強めに */
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* ふんわり影 */
}

/* 件数の見出し */
#error_explanation h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ff4757; 
}

/* エラーリスト */
#error_explanation ul {
  list-style: none; /* 丸や数字を消す */
  padding: 0;
  margin: 0;
}

/* 各エラーメッセージ */
#error_explanation li {
  margin-bottom: 8px;
  padding-left: 25px; /* アイコンスペース */
  position: relative;
}

/* エラーアイコン */
#error_explanation li::before {
  content: "🌷"; /* 可愛いアイコンに変更 */
  position: absolute;
  left: 0;
  top: 0;
}

/* ストップウォッチのボタンのスタイル調整 */
#timer-section .btn-start,
#timer-section .btn-stop,
#timer-section .btn-record {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
}

#timer-section .btn-start {
    background-color: #b4e3a0;
    color: #333;
}
#timer-section .btn-start:hover {
    background-color: #a1d38e;
}

#timer-section .btn-stop {
    background-color: #f0ad4e;
    color: white;
}
#timer-section .btn-stop:hover {
    background-color: #ec971f;
}

#timer-section .btn-record {
    background-color: #ff9d9d;
    color: white;
}
#timer-section .btn-record:hover {
    background-color: #ff7f7f;
}

/* タイマーボタンをまとめるdivのスタイル */
.timer-controls {
    margin-top: 20px;
}

/* hrタグのスタイルを調整 */
hr {
    border: 0;
    border-top: 1px dashed #ccc;
    margin: 40px auto;
    width: 80%;
}

/* ========== レスポンシブ対応 ========== */

/* 画面幅が768px以下のデバイス（タブレット、スマホ横向きなど） */
@media (max-width: 768px) {
    /* ヘッダーの調整 */
    .header-inner {
        /* ロゴとメニューボタンが横並びになるように、これらの設定は維持 */
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding-top: 10px;
    }

    .logo {
        margin-bottom: 0; /* ロゴの下の余白をなくす */
        font-size: 1.3rem; /* 少し小さく */
    }

    /* ハンバーガーメニューボタンはデフォルトで表示されているため、ここでは特別な設定は不要 */

    /* ナビゲーションメニューの調整 (モバイルで開いた時の見た目) */
    .nav-menu {
        top: 70px; /* ヘッダーの高さに合わせて調整 */
        right: 0; /* 右端にぴったりつける */
        left: auto; /* left: 0; を解除 */
        width: 100%; /* 全幅に広げる */
        border-radius: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 影は残す */
        background-color: rgba(255, 231, 231, 0.95); /* 背景色をモバイル用に */
        border-bottom: 1px solid rgba(0, 122, 32, 0.3);
        padding: 0.5rem 1rem; /* パディングもモバイル用に */
        min-width: auto; /* 最小幅を解除 */
    }

    .nav-menu ul {
        /* メニュー項目は縦並びなのでdisplay: flex; は不要 */
        align-items: flex-start; /* 左寄せ */
        width: auto;
        padding: 10px 0;
    }

    .nav-menu li {
        width: 100%; /* リストアイテムも全幅 */
        text-align: center; /* テキスト中央寄せ */
        margin: 0.3rem 0;
    }

    .content, .todo-section, .top-content, .record-description, .record-time, .error-messages {
        padding: 1rem;
    }

    #timer {
        font-size: 2.5em;
    }

    button,
    #timer-section .btn-start,
    #timer-section .btn-stop,
    #timer-section .btn-record {
        font-size: 1.1em;
        padding: 8px 15px;
    }

    .todo-list-item {
        width: calc(50% - 25px);
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.2rem;
    }

    #timer {
        font-size: 2em;
    }

    button,
    #timer-section .btn-start,
    #timer-section .btn-stop,
    #timer-section .btn-record {
        font-size: 1em;
        padding: 6px 12px;
        margin: 3px;
    }
    .todo-list-item {
        width: calc(100% - 30px);
    }

    /* 入力フォームの調整 */
    .form-input {
        font-size: 0.95em;
        padding: 8px;
    }

    /* エラーメッセージのフォントサイズ調整 */
    .error-messages {
        font-size: 0.9em;
        padding: 8px 12px;
    }

    /* flower-messageの位置調整 */
    #flower-message {
        top: 10px;
        padding: 8px 15px;
        font-size: 1em;
        max-width: 95%;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        max-width: 1200px; 
    }

    .content, .todo-section {
        max-width: 900px; 
    }

    .todo-list-item {
        width: 250px; 
        min-height: 140px;
    }
}
/* イベント全体の背景色とテキスト色 */
.fc-event {
  background-color: #fcffd8; 
  border-color: #A0C0E0;
  color: #444444; 
  font-weight: bold;
}

/* イベントにマウスをホバーした時の色 */
.fc-event:hover {
  opacity: 0.8;
}

/* カレンダーのヘッダーの色 */
.fc .fc-toolbar-title {
  color: #a1d8af; 
}

/* カレンダーの曜日名の文字色 */
.fc .fc-col-header-cell-cushion {
  color: #1f0025; 
}

/* 今日の日付の背景色 */
.fc .fc-day-today {
  background-color: #ffdcf6; 
}
.howtouse {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; 
}
.howtouse2 {
  max-width: 100%; /* 親要素の幅を超えないようにする */
  height: auto;    /* 縦横比を保って自動調整 */
  display: block;  /* 画像の下に余計な隙間ができないようにする */
}
/* detailsタグ全体のスタイル */
.usage-details {
  margin: 20px auto; /* 上下の余白と中央寄せ */
  max-width: 800px;  /* 必要に応じて、最大幅を調整してください */
  /* background-color: #fff5f5; */ /* record-descriptionに背景色があるため不要かもしれません */
  /* border: 1px solid #fcd5ce; */ /* record-descriptionに枠線があるため不要かもしれません */
  border-radius: 1em;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* summaryタグ（開閉ボタンとなる部分）のスタイル */
.usage-details summary {
  padding: 1em; /* 内側の余白 */
  background-color: #ffe0e6; /* 背景色 */
  cursor: pointer; /* マウスカーソルを指マークに */
  list-style: none; /* デフォルトの矢印アイコンを非表示にする */
  /* ↓ デフォルトのフォーカスリングが気になる場合、独自のスタイルを設定するか削除します */
  /* outline: none; */
  display: flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  border-radius: 1em 1em 0 0; /* 上部だけ角丸にする */
  font-size: 1.2em; /* フォントサイズ */
  color: #5e1032; /* 文字色 */
  font-weight: bold;
}

/* summary内のh2のスタイルを調整（もしh2を使っているなら） */
.usage-details summary h2 {
  margin: 0; /* h2のデフォルトマージンをリセット */
  font-size: 1em; /* summaryのフォントサイズに合わせる */
}

/* detailsが開いているときのsummaryのスタイル（オプション） */
.usage-details[open] summary {
  border-bottom: 1px solid #fcd5ce; /* 開いたときに下線を追加 */
  border-radius: 1em 1em 0 0; /* 上部だけ角丸を維持 */
}

/* record-descriptionのスタイル調整 */
/* detailsの中に移動したので、必要に応じてpaddingなどを調整してください */
.usage-details .record-description {
  /* background-color: #fff5f5; */ /* 必要であれば背景色 */
  /* border: 1px solid #fcd5ce; */ /* 必要であれば枠線 */
  border-radius: 0 0 1em 1em; /* 下部だけ角丸にする */
  padding: 1em; /* 内側の余白 */
}
/* トップコンテンツの初期状態（透明） */
.fade-in-on-load {
  opacity: 0; /* 最初は完全に透明にする */
  transform: translateY(20px); /* 少し下にずらしておく（任意：下からフワッと浮き上がる効果） */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* 透明度と位置が1.5秒かけて変化するように設定 */
}

/* ページが読み込まれた後に、ふわっと表示させる */
/* このスタイルは、JavaScriptなしで動作するために、
   DOM Content Loadedイベントを待つようなブラウザの挙動を利用します。
   （または、bodyにloadedクラスなどをJSで追加する方法もありますが、CSSのみを優先） */
body:not(.initial-load-prevented) .fade-in-on-load {
  opacity: 1; /* 透明度を1（完全に表示）にする */
  transform: translateY(0); /* 元の位置に戻す */
}
/* トップコンテンツの初期状態（完全に透明で、少し下にずらす） */
.initial-hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* JavaScriptで追加されることでアニメーションがトリガーされるクラス */
.fade-in-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* アニメーションの時間とイージング */
}
  .modal-container {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .modal-container.is-visible {
    visibility: visible;
  }
  .modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
  }
  .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ef4444; /* Tailwind red-500 */
  }
  .modal-message {
    font-size: 1rem;
    color: #4b5563; /* Tailwind gray-600 */
    margin-bottom: 1.5rem;
  }
  .modal-close-button {
    background-color: #fca5a5; /* Tailwind red-300 */
    color: #7f1d1d; /* Tailwind red-900 */
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px; /* Rounded-full */
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }
  .modal-close-button:hover {
    background-color: #ef4444; /* Tailwind red-500 */
  }
  .task-completed {
    text-decoration: line-through;
    color: #9ca3af; /* Tailwind gray-400 */
  }
/* ログインページ全体の中央配置 */
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #e0eaff, #ffe3f0); /* 淡いけどはっきり見える色 */
  padding: 20px;
    gap: 20px;
}

/* タイトル */
.login-title {
  font-size: 26px; /* 少し大きめのサイズにして存在感を出す */
  font-weight: bold;
  margin-bottom: 20px;
  color: #333; 
}

/* カード風フォーム */
.login-form {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* フィールド */
.login-form .field {
  margin-bottom: 15px;
}

.login-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus,
login-form input[type="text"]:focus {
  border-color: #c5a8ff;
  outline: none;
}

/* ボタン */
.login-btn {
  width: 100%;
  padding: 12px;
  background: #ffbad6;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #fa9ac1;
}

/* リンク部分 */
.login-links {
  /*margin-top: 15px;*/
  text-align: center;
}

.login-links a {
  color: #a17ce7;
  text-decoration: none;
  margin: 0 5px;
  font-size: 14px;
}

.login-links a:hover {
  text-decoration: underline;
}
/* 新規登録ページ用のCSS */
.signup-page {
  /* 背景色の変更 */
  background: linear-gradient(135deg, #e0eaff, #ffe3f0); ; /* 青系の淡いグラデーション */
}

/* 新規登録ボタンの色の変更 */
.signup-page .login-btn {
  background: #a1d38e; 
}

.signup-page .login-btn:hover {
  background: #85ca6a; /* ホバー時の色 */
}
/* アカウント削除ボタンのスタイル */
.delete-btn {
  width: auto; /* ボタンの幅をコンテンツに合わせる */
  padding: 8px 12px;
  background: #ff6b6b; /* 赤系の色 */
  color: white;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block; /* ボタンが1行に収まるように */
}

.delete-btn:hover {
  background: #ff4757; /* ホバー時の色 */
}
/* マイページ専用のメニュー項目 */
.mypage-menu {
  list-style: none; /* デフォルトのリストスタイルをなくす */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; /* メニュー項目の間に隙間を作る */
}

.menu-item a {
  display: block; /* リンクのクリック範囲を広げる */
  padding: 12px 15px;
  background-color: #fce4ec; /* 淡いピンクの背景 */
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
}

.menu-item a:hover {
  background-color: rgb(255, 202, 233); 
}

/* Xでシェアとログアウトボタンのスタイル */
.login-links .login-btn {
  margin-top: 15px; /* 上部に少し余白を作る */
  width: 100%;
}
/* ログアウトボタンのスタイル */
.logout-btn {
  background-color: #fce4ec; /* menu-item a と同じ淡いピンク */
  font-size: 20px;
  color: #333 !important; /* 文字色を濃い灰色に */
}

.logout-btn:hover {
  background-color: #baeca6; 
}