@import 'variables.css';

.org-tabbar {
    position: fixed;
    top: 80px;
    width: 100%;
    background-color: #fff; /* タブバーの背景色 */
    font-size: 13px;
    font-weight: bold;
    height: 40px;
}

.org-tabbar ul {
    list-style: none; /* デフォルトのリストスタイルを無効化 */
    padding: 0;
    margin: 0;
    display: flex; /* 横並びにする */
    justify-content: space-around; /* 均等にスペースを配分 */
}

.org-tabbar li {
    flex-grow: 1; /* 各タブを均等に広げる */
}

.org-tabbar a {
    display: block; /* ブロック要素にしてクリック可能エリアを広げる */
    padding: 10px 0; /* タブの内側の余白 */
    text-align: center; /* 中央寄せ */
    text-decoration: none; /* 下線を消す */
    color: #333; /* タブのテキストカラー */
}

.org-tabbar a:hover {
    background-color: #e0e0e0; /* ホバー時の背景色 */
}

.org-tabbar ul li {
    position: relative;
}

.org-tabbar ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.org-tabbar ul li.active a {
    color: var(--spot-color); /* アクティブなリンクの色 */
}

.org-tabbar ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--spot-color);
    transition: width 0.3s ease-in-out;
}

.org-tabbar ul li.active::after {
    width: 100%;
}
