:root {
    --primary-color: #3498db;
    --border-radius: 10px;
    --skill-node-size: 52px;
    --skill-margin-size: 20px;
    --skill-margin-bottom-size:0px;
    --button-size: 20px;
    --button-font-size:9px;
}
    
/* コンテナのスタイル */
.container {
  display: flex;
}

/* サイドバーのスタイル */
.sidebar {
  width: 200px;
  background-color: #f0f0f0;
  padding: 20px;
  z-index: 8;
}

/* メインコンテンツのスタイル */
.main-content {
  flex: 1;
  padding: 20px;
}

h1 {
  padding: 0px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
#skill-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    //margin-top: 30px;
}
.Hide-Tree{
	display: none;
}
.skill-row {
	display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
	z-index: 1; /* ノードの表示順を指定 */
}

.skill-node {
    width: var(--skill-node-size);
    height: var(--skill-node-size);
    background-color: #3498db;
    margin-left: var(--skill-margin-size);
    margin-bottom: var(--skill-margin-bottom-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* ノードの角を丸める */
    border-radius: 10px; /* 任意の角丸半径を指定 */
    position: relative;
    color: white;
	z-index: 1; /* ノードの表示順を指定 */
}
.skill-node-none {
    width: var(--skill-node-size);
    height: var(--skill-node-size);
	background-color: rgba(0,0,0,0); /* 完全に透明な背景色 */
    margin-left: var(--skill-margin-size);
    margin-bottom: var(--skill-margin-bottom-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* ノードの角を丸める */
    border-radius: 10px; /* 任意の角丸半径を指定 */
    position: relative;
    color: white;
	z-index: 1; /* ノードの表示順を指定 */
}

.icon
{
    position: absolute;
    width: var(--skill-node-size);
    height: var(--skill-node-size);
    display: flex;
	z-index: 1; /* ノードの表示順を指定 */
}
.point_button
{
    position: absolute;
    top: 1px;
    bottom: 50px;
    background-color: #27ae20;
    color: white;
    border: true;
    border-radius: 40%;
    width: var(--button-size);
    height: var(--button-size); 
    cursor: pointer;
    font-size: var(--button-font-size);
	z-index:2; /* ノードの表示順を指定 */
}
.plus-button {
    right: calc(var(--button-size) * 0);
}
.minus-button {
    right: calc(var(--button-size) * 1);
}
.max-button {
    left: calc(var(--button-size) * 1);
}
.zero-button {
    left: calc(var(--button-size) * 0);
}
.skill-points {
    margin-top: calc(var(--skill-node-size) / 2);
    margin-left: calc(var(--skill-node-size) / 2);        

    font-size: 25px;

    color: lightgreen;
    font-weight: bold;
    z-index: 1;

    /* 追加のスタイルプロパティ */
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 10);
}
.skill-gray
{
	filter: grayscale(100%);
}
.skill-lock {
    filter: grayscale(100%) grayscale(0%) brightness(0.5);
}
.skill-levelLock {
    filter: grayscale(100%) grayscale(0%) brightness(0.2);
}
svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.line {
    position: absolute;
    background-color: #95a5a6;
    width: 4px;
    height: 120px;
    transform-origin: top;
}
.pointred {
    background-color: red!important;
}
// ツールチップ
.tooltip {
  position: relative;
}