/* CADツールのタイトルバーのスタイルを設定 */
.cad-tools-dialog .ui-dialog-titlebar {
	height: 30px;
	/* タイトルバーの高さを設定 */
	font-size: 0.8em;
	/* フォントサイズを設定 */
	background: hsla(54, 100%, 50%, 0.7);
	/* 背景色を設定 */
	color: white;
	/* テキストの色を設定 */
	padding: 5px;
	/* パディングを設定 */
}

/* ナビゲーションのタイトルバーのスタイルを設定 */
.navigation-dialog .ui-dialog-titlebar {
	height: 30px;
	/* タイトルバーの高さを設定 */
	font-size: 0.8em;
	/* フォントサイズを設定 */
	background: hsla(294, 100%, 50%, 0.7);
	/* 背景色を設定 */
	color: white;
	/* テキストの色を設定 */
	padding: 5px;
	/* パディングを設定 */
}






/* ツールバーのスタイル */
.toolbar {
	position: absolute;
	width: 890px;
	right: 0%;
	top: 0%;
	margin: 0px;
	z-index: 10000;
	display: flex;
	/* 子要素を横に並べるためにフレックスボックスを使用 */
	justify-content: space-between;
	/* 子要素を左右に均等に配置 */
	align-items: center;
	/* 子要素を垂直方向に中央揃え */
	background-color: #e4e4e4;
	/* ツールバーの背景色 */
	color: #fff;
	/* 文字の色 */
	padding: 5px;
	padding-left: 15px;
	/* ツールバーのパディング */
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
	/* 影の設定 */
}

/* ツールバー内のアイテムのスタイル */
.toolbar__item {
	margin-right: 10px;
}

/* ツールバーのスタイル */
.sub-toolbar {
	position: absolute;
	width: 330px;
	right: 0%;
	top: 145px;
	margin: 0px;
	z-index: 10000;
	display: flex;
	/* 子要素を横に並べるためにフレックスボックスを使用 */
	justify-content: space-between;
	/* 子要素を左右に均等に配置 */
	align-items: center;
	/* 子要素を垂直方向に中央揃え */
	background-color: #e4e4e4;
	/* ツールバーの背景色 */
	color: #fff;
	/* 文字の色 */
	padding: 5px;
	padding-left: 15px;
	/* ツールバーのパディング */
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
	/* 影の設定 */
}

/* ボタンのスタイル */
.cad-menu-button {
	background-color: #3e3e3e;
	color: #fff;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

/* ボタンのスタイル */
.cad-img-button {
	background-color: #ffffff;
	color: #fff;
	border: none;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	margin: 3px;
	transition: background-color 0.3s ease;
}

.cad-menu-button:hover {
	background-color: #ddd;
}

label.label {
	background-color: #ffffff;
	color: #000000;
	border: none;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	margin: 3px;
	transition: background-color 0.3s ease;
}

label.label:hover {
	background: rgba(75, 159, 255, 0.2);
	outline: 1px solid #55aaff;
}

label.label:focus {
	background: rgba(75, 159, 255, 0.2);
	outline: 1px solid #55aaff;
}

label.label:active {
	background: rgba(45, 96, 153, 0.4);
	outline: 1px solid #55aaff;
}

input[type="file"] {
	display: none;
}

.material-symbols-outlined {
	font-variation-settings:
		'FILL' 0,
		'wght' 400,
		'GRAD' 0,
		'opsz' 48
}

.cad-img-button:hover {
	background: rgba(75, 159, 255, 0.2);
	outline: 1px solid #55aaff;
}

.cad-img-button:disabled img {
	filter: gray;
	-webkit-filter: grayscale(1);
	background: darkslategrey;
}

.cad-img-button:active {
	background: rgba(45, 96, 153, 0.4);
	outline: 1px solid #55aaff;
}

ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.menu-select {
	position: relative;
}

.file-cad-io-panel {
	color: #000;
	background-color: #4b9b9e;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	text-align: left;
	font-size: 12px;
}

.file-dxf-io-panel {
	color: #000;
	background-color: #865144;
	text-align: left;
	font-size: 12px;
}

.col-md-auto {
	color: #000;
	background-color: #fff;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	margin-left: 2px;
	text-align: center;
	font-size: 12px;
}

.cad-menu-pulldown {
	width: 130px;
	height: 20px;
	padding: 0px;
	margin: 0px;
	font-size: 80%;
}

#contextmenu {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 90px;
	border: 1px solid #000;
	background-color: darkolivegreen;
}

#contextmenu li {
	cursor: pointer;
}

li.menu-select ul.menu-second-level {
	position: absolute;
	top: 40px;
	right: 0;
	box-sizing: border-box;
	width: 210%;
	padding: 2px 2%;
	background: darkolivegreen;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
	display: none;
	border: 1px solid #000;
}

li.menu-select ul.menu-second-level>li {
	float: left;
	width: 8%;
	border: none;
}

li.menu-select ul.menu-second-level>li:nth-child(2n+1) {
	margin: 0 2% 0 0;
}

body {
	cursor: block;
	/* もともとあるカーソルは見えなくなるようにする */
}


#cursor {
	display: none;
	position: fixed;
	background: #0000ff;
	/* 丸の大きさと色の指定 */
	border-radius: 3px;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 -3px;
	/* 真ん中にくるようにマイナスマージンで調整 */
	z-index: 2;
	/* 一番手前に来るように*/
	pointer-events: none;
	/* クリックできなくなるのを防ぐため。noneで対応 */
	opacity: 1;
}

.selectBox {
	border: 1px solid #55aaff;
	background-color: rgba(75, 160, 255, 0.3);
	position: fixed;
}

/*　デフォルトのチェックボックスを非表示*/
input.mode {
	display: none;
}

input:disabled+label img {
	filter: gray;
	-webkit-filter: grayscale(1);
	background: darkslategrey;
}

/*チェック中のラベルにCSSを適用*/
input:checked+label img {
	background: rgba(75, 159, 255, 0.3);
	outline: 1px solid #55aaff;
}

.tooltip3 {
	position: relative;
	cursor: pointer;
	display: inline-block;
	width: auto;
	padding: 0;
}

.tooltip3 p {
	margin: 0;
	padding: 0;
}

.description2 {
	display: none;
	position: absolute;
	padding: 5px;
	font-size: 12px;
	line-height: 1.6em;
	color: #fff;
	border-radius: 5px;
	background: #000;
	width: 100px;
	z-index: 2;
}

.description2:before {
	content: "";
	position: absolute;
	top: -24px;
	right: 60%;
	border: none;
	margin-left: -15px;
	transform: rotateZ(180deg);
}

.tooltip3:hover .description2 {
	display: inline-block;
	top: 40px;
	left: 0px;
}

.description1 {
	display: none;
	position: absolute;
	padding: 5px;
	font-size: 12px;
	line-height: 1.6em;
	color: #fff;
	border-radius: 5px;
	background: #000;
	width: 100px;
	z-index: 2;
}

.description1:before {
	content: "";
	position: absolute;
	top: -30px;
	right: 60%;
	border: none;
	margin-left: -15px;
	transform: rotateZ(180deg);
}

.tooltip3:hover .description1 {
	display: inline-block;
	top: -30px;
	left: 0px;
	user-select: none;
}

input:disabled+label img {
	filter: gray;
	-webkit-filter: grayscale(1);
	background: darkslategrey;
}

/*チェック中のラベルにCSSを適用*/
input:checked+label img {
	background: rgba(75, 159, 255, 0.3);
	outline: 1px solid #55aaff;
}

#crossCursor {
	/* 十字 */
	position: fixed;
	width: 100px;
	height: 100px;
	z-index: 2;
	/* 優先表示 */
	pointer-events: none;
	/* クリックできなくなるのを防ぐため。noneで対応 */
	display: none;
	/* none:非表示, block:表示 */
}

#x {
	/* 十字の横線 */
	position: relative;
	left: -50%;
	top: 0;
	width: 100%;
	/* 長さ */
	height: 1%;
	/* 太さ */
	background-color: blue;
	/* 線の色 */
}

#y {
	/* 十字の縦線 */
	position: relative;
	left: 0;
	top: -50%;
	width: 1%;
	/* 太さ */
	height: 100%;
	/* 長さ */
	background-color: blue;
	/* 線の色 */
}

#crossCursorWord {
	/* 十字の文言 */
	display: none;
	/* none: 非表示, block: 表示 */
	position: relative;
	left: 10%;
	bottom: 110%;
	font-size: small;
	font-weight: bold;
	color: black;
	/* 文字の色 */
}

#crossCursorFigure {
	display: none;
	/* none: 非表示, block: 表示 */
	position: relative;
	left: 10%;
	top: -130%;
	width: 20%;
	height: 20%;
	z-index: 2;
	/* 優先表示 */
	background: black;
}

.free {
	display: none;
	/* none:非表示, block: 表示 */
}

#freeFigure {
	position: relative;
	left: 40%;
	top: 40%;
	width: 25%;
	height: 25%;
	border-radius: 50%;
	background-color: yellow;
}

.endPoint {
	display: none;
	/* none: 非表示, block: 表示 */
}

#endPointFigureRound {
	position: relative;
	left: 5%;
	top: 40%;
	width: 25%;
	height: 25%;
	border-radius: 50%;
	background-color: yellow;
}

#endPointFigureLine {
	position: relative;
	left: 10%;
	top: 27%;
	width: 80%;
	height: 1px;
	background-color: yellow;
}

.intersection {
	display: none;
	/* none: 非表示, block:表示 */
}

#intersectionFigureLineX {
	position: relative;
	left: 10%;
	top: 50%;
	width: 80%;
	height: 1px;
	background-color: yellow;
}

#intersectionFigureLineY {
	position: relative;
	left: 50%;
	top: 10%;
	width: 1px;
	height: 80%;
	background-color: yellow;
}

.onLine {
	display: none;
	/* none: 非表示, block: 表示 */
}

#onLineFigure {
	position: relative;
	left: 10%;
	top: 50%;
	width: 80%;
	height: 1px;
	background-color: yellow;
}

.company-logo {
	margin-top: 5px;
	margin-bottom: 9px;
}

.about-title {
	font-size: larger;
}

.about-sub-title {
	font-size: medium;
	margin: 3px;
}

.about-text {
	font-size: small;
}