:root {
	--box-size: 30px;
	--fret-bar: 5px;
	--fret-bar-small: 2px;
/* 	--fret-box: 30px; */
	--fret-box: 0px;
	--tone-diameter-w: 40px;
	--tone-diameter-h: 25px;
	--footer-font-color: #bbb;
	--sidemenuWidth: 100px;
	--theme_color: #98bea5;
}

* {
	margin: 0;
	padding: 0;
	vertical-align: top;
	box-sizing: border-box;
	font-family: sans-serif;
}
/*============================================================================================================================*/
html {
	width: 100%;
/* 	visibility: hidden; */
	font-size: 10px;
}
/*
html.wf-active {
	visibility: visible;
}
*/
body {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
@media all and (max-width: 768px) {
body {
	width: 100%;
	margin: 0 auto;
}
}
a {
/* 	text-decoration: none; */
	color: #000;
}
main a:hover {
/* 	text-decoration: none; */
	color: gray;
}
header a {
	text-decoration: none;
	color: #000;
}
table {
	width: 100%;
	background-color: #ccc;
	border-collapse: collapse;
}
table th {
	border: 1px solid #fff;
	vertical-align: middle;
	padding: 10px;
	background-color: #777;
	color: #fff;
}
th:first-child {
	width: 200px;
}
table tr {
	width: 100%;
}
table td {
	border: 1px solid #fff;
	text-align: center;
	vertical-align: middle;
	font-size: 1.4rem;
	padding: 10px;
}
table th {
	font-size: 1.4rem;
}
button {
	width: 200px;
	font-weight: bold;
	font-size: 1.4rem;
	margin-bottom: 0px;
	padding: 10px;
	color: #000;
}
img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
p {
	font-size: 1.6rem;
}
@media all and (max-width: 768px) {
p {
	width: 100%;
}
}
li {
	font-size: 1.2rem;
}
span {
	font-size: 1.0rem;
}
a {
	text-decoration: none;
}
nav {
	width: 400px;
/* 	border: 1px solid #555; */
/* 	background-color: #fff; */
	margin-bottom: 50px;
}
@media all and (max-width: 768px) {
nav {
	width: 100%;
/* 	border: 2px solid #555; */
}
}
nav p {
	margin-bottom: 20px;
}
ul {
	width: 100%;
	list-style: none;
/* 	margin-left: 15px; */
}
ul:first-child {
	margin-bottom: 20px;
}
ul:only-child {
	margin-bottom: 0px;
}
li {
	font-weight: bold;
	padding-left: 20px;
	border-left: 1px solid #000;
}
@media all and (max-width: 768px) {
li {
	height: auto;
	padding: 5px 0;
	padding-left: 10px;
}
}
li:not(:last-child) {
}
li > a {
	height: 100%;
	display: block;
	padding: 10px 15px 5px 0px;
	font-size: 1.6rem;
}
li:first-child > a {
	padding-top: 15px;
}
li:last-child > a {
	padding-bottom: 15px;
}
h1 {
	font-size: 2.5rem;
	margin-bottom: 50px;
/* 	line-height: 100px; */
}
h2 {
	font-size: 1.8rem;
	margin-bottom: 50px;
}
h3 {
	font-size: 1.4rem;
	margin-bottom: 20px;
}
h4 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
h5 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}
h6 {
	margin-bottom: 10px;
}
div.diagram_container {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
@media all and (max-width: 768px) {
div.diagram_container {
	flex-direction: column;
}
}
div.diagram_container > div > div {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
/*============================================================================================================================*/
#sidemenu {
	width: var(--sidemenuWidth);
	height: 100%;
	position: fixed;
	background-color: #799783;
	
}
@media all and (max-width: 768px) {
#sidemenu {
	width: 0%;
/* 	display: none;	 */
}
}
#sidemenu > div {
	position: relative;
}
#menu_icon {
	width: 30px;
	height: 27px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
}
@media all and (max-width: 768px) {
#menu_icon {
	display: none;
}
}
#menu_icon > div {
	width: 100%;
	height: calc(100% / 7);
	background-color: #000;
}
#menu_icon_res {
	display: none;
}
@media all and (max-width: 768px) {
#menu_icon_res {
	width: 30px;
	height: 27px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-left: auto;
}
}
#menu_icon_res > div {
	width: 100%;
	height: calc(100% / 7);
	background-color: #000;
}
/*============================================================================================================================*/
#menu {
	width: calc(100% - var(--sidemenuWidth));
	height: 100%;
	position: fixed;
	right: 0;
	background-color: rgba(230, 230, 230, 0.95);
	padding: 50px;
	z-index: 9999;
	overflow-y: scroll;
	display: none;
}
@media all and (max-width: 768px) {
#menu {
	width: calc(100%);
	padding: 0px 15px 50px 15px;
}
}
#menu > div:first-child {
	width: 100%;
	height: 100px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
#menu h2 {
	font-size: 1.8rem;
	line-height: 100px;
	margin-bottom: 0px;
}
#menu > div:first-child > div#menu_close_icon {
	width: 30px;
	height: 27px;
	margin-left: auto;
	position: relative;
}
#menu_close_icon > div {
	width: 100%;
	height: calc(100% / 7);
	background-color: #000;
}
#menu_close_icon > div:first-child {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
#menu_close_icon > div:last-child {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}
/*============================================================================================================================*/
header {
	width: calc(100% - var(--sidemenuWidth));
/* 	width: calc(100%); */
	height: 100px;
	display: flex;
	flex-direction: row;
	background-color: var(--theme_color);
	margin-left: var(--sidemenuWidth);
	padding-left: 30px;
	padding-right: 30px;
}
@media all and (max-width: 768px) {
header {
	width: calc(100%);
	padding-left: 15px;
	padding-right: 15px;
	margin-left: 0px;
}
}
header div.containar {
	width: 100%;
	display: flex;
	flex-direction: row;
	padding-left: 20px;
	padding-right: 20px;
}
@media all and (max-width: 768px) {
header div.containar {
	margin-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	align-items: center;
}
}
header div.containar > div#logo_container {
	width: 100%;
	display: flex;
	flex-direction: row;
}
@media all and (max-width: 768px) {
header div.containar > div#logo_container {
	margin-bottom: 0px;
	padding-left: 0px;
	padding-right: 30px;
}
}
header > div.containar > div#logo_container > .logo {
	margin-left: auto;
}
@media all and (max-width: 768px) {
header > div.containar > div#logo_container > .logo {
	width: 150px;
}
}
header > div.containar > div#logo_container > .logo img {
	width: 150px;
	object-fit: contain;
}
@media all and (max-width: 768px) {
header > div.containar > div#logo_container > .logo img {
	width: 100%;
}
}
header > div.containar > div#logo_container > .imglogo {
	width: 50px;
}
@media all and (max-width: 768px) {
header > div.containar > div#logo_container > .imglogo {
	width: 50px;
}
}
header > div.containar > div#logo_container > .imglogo img {
	width: 100%;
	object-fit: contain;
}
@media all and (max-width: 768px) {
header > div.containar > div#logo_container > .imglogo img {
	width: 100%;
}
}
header > div > p.title {
	font-size: 2.5rem;
	margin-bottom: 0px;
	line-height: 100px;
/* 	text-align: right; */
	text-align: left;
	font-weight: bold;
/* 	margin-left: auto; */
}
@media all and (max-width: 768px) {
header > div > p.title {
	width: 100%;
	text-align: left;
	margin-bottom: 0px;
	margin-left: 0px;
}
}
header > div > p.title > a {
	color: #333;
}
header > div > p.title > a:hover {
	color: #ddd;
}
/*============================================================================================================================*/
/*============================================================================================================================*/
footer {
	width: calc(100% - var(--sidemenuWidth));
/* 	width: calc(100%); */
	padding-top: 50px;
	padding-bottom: 20px;
	display: flex;
	flex-direction: column;
	background-color: #303c34;
	margin-left: var(--sidemenuWidth);
	padding-left: 30px;
	padding-right: 30px;
}
@media all and (max-width: 768px) {
footer {
	width: calc(100%);
	padding-left: 15px;
	padding-right: 15px;
	flex-direction: column;
	margin-left: 0px;
	padding-top: 20px;
	padding-bottom: 0px;
}
}
footer div.containar {
	display: flex;
	flex-direction: column;
	padding-left: 20px;
	padding-right: 20px;
}
@media all and (max-width: 768px) {
footer div.containar {
	margin-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
}
}
footer div.containar > div#logo_container {
	width: 100%;
	display: flex;
	flex-direction: row;
	margin-bottom: 30px;
}
@media all and (max-width: 768px) {
footer div.containar > div#logo_container {
	padding-left: 0px;
	padding-right: 0px;
}
}
footer > div.containar > div#logo_container > .logo {
	margin-left: auto;
}
@media all and (max-width: 768px) {
footer > div.containar > div#logo_container > .logo {
	width: 150px;
}
}
footer > div.containar > div#logo_container > .logo img {
	width: 150px;
	object-fit: contain;
}
@media all and (max-width: 768px) {
footer > div.containar > div#logo_container > .logo img {
	width: 100%;
}
}
footer > div.containar > div#logo_container > .imglogo {
	width: 50px;
}
@media all and (max-width: 768px) {
footer > div.containar > div#logo_container > .imglogo {
	width: 50px;
}
}
footer > div.containar > div#logo_container > .imglogo img {
	width: 100%;
	object-fit: contain;
}
@media all and (max-width: 768px) {
footer > div.containar > div#logo_container > .imglogo img {
	width: 100%;
}
}
footer > div > p.title {
	width: 100%;
	font-size: 2.5rem;
	text-align: right;
	font-weight: bold;
	margin-bottom: 50px;
}
footer > div > p.title > a {
	font-size: 2.4rem;
	color: var(--footer-font-color);
}
footer > div > p > a {
	color: var(--footer-font-color);
}
footer > div > p {
	width: 100%;
	font-size: 1.2rem;
	color: var(--footer-font-color);
	text-align: right;
	margin-bottom: 0px;
}
footer > div > div {
	width: 100%;
	font-size: 2.5rem;
	text-align: right;
	font-weight: bold;
	margin-bottom: 50px;
}
footer > div > div > p > a {
	font-size: 1.2rem;
	color: var(--footer-font-color);
}
div.sns_containar {
/* 	margin-bottom: 50px; */
}
div#sns_containar img {
	width: 20px;
	
}
footer div.containar > p {
	margin-bottom: 50px;
}
footer div.containar > p:last-child {
	margin-bottom: 0px;
}
/*============================================================================================================================*/
main {
	width: calc(100% - var(--sidemenuWidth));
	padding-top: 50px;
	padding-bottom: 100px;
	padding-left: 100px;
	padding-right: 150px;
	display: flex;
	flex-direction: column;
	margin-left: var(--sidemenuWidth);
	background-color: #eee;
}
@media all and (max-width: 768px) {
main {
	width: calc(100%);
	flex-direction: column;
	padding-top: 15px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: 0px;;
}
}
main > div {
	width: 100%;
	flex-wrap: wrap;
}
main > div > div {
	margin-bottom: 50px;
}
main > div#sound > div > div:first-child {
	margin-bottom: 50px;
}
div.wave_container {
	width: calc(100% / 4);
	margin-bottom: 50px;
	padding: 20px;
}
@media all and (max-width: 768px) {
div.wave_container {
	width: calc(100%);
}
}
div.wave_container > h3 {
	margin-bottom: 20px;
}
div.wave_container > p {
	margin-bottom: 10px;
}
div.wave_container > div {
	margin-bottom: 20px;
}

#sound main > div {
	width: 100%;
	display: flex;
	flex-direction: column;
}
#sound main > div > div:nth-child(2) {
	margin-bottom: 30px;
}
#sound main > div > h2 {
	margin-bottom: 20px;
}
#guitar {
}
#guitar main > h2 {
	margin-bottom: 20px;
}
div#navigation {
	margin-bottom: 0px;
}
#guitar main > div {
/* 	display: flex; */
/* 	flex-direction: row; */
	margin-bottom: 100px;
}
#guitar main > div#todo {
	display: flex;
	flex-direction: column;
}
#guitar table tbody tr td {
	height: 40px;
	position: relative;
}

#guitar table#number tbody tr td {
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#guitar table#number tbody tr:last-child td,
#guitar table#tune tbody tr:last-child td {
	height: 70px;
}

#guitar table#number tbody tr td div {
	font-size: 2.0rem;
	font-weight: bold;
}

#guitar table#tune tbody tr td {
	width: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#guitar table#tune tbody tr td div {
	font-size: 2.0rem;
	font-weight: bold;
}

#guitar table.board tbody tr td {
	width: 150px;
}

#guitar table.board tbody tr:not(:nth-child(7)) td {
	background-color: #ddd; 
}
#guitar table.board tbody tr:first-child td {
	border-top: 1px solid #ccc;
}
#guitar table.board tbody tr:nth-child(6) td {
	border-bottom: 1px solid #ccc;
}
#guitar table.board tbody tr:not(:nth-child(7)) td {
	border-left: 3px solid #888;
}
#guitar table.board tbody tr:not(:nth-child(7)) td:last-child {
	border-right: 3px solid #888;
}
#guitar table.board tbody tr:not(:nth-child(7)) td div {
	width: calc(100% + 3px);
	height: 3px;
	background-color: #000;
	position: absolute;
	top: 50%;
	left: -3px;
}

#guitar table.board tbody tr.fret {
}
#guitar table.board tbody tr.fret td {
	height: 70px;
	position: relative;
}
#guitar table.board tbody tr.fret td div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.0rem;
	font-weight: bold;
}

div#vguitar {
	width: calc(200px + var(--fret-box));
	display: flex;
	flex-direction: column;
}
div#vguitar div.vguitar-strnum,
div#vguitar div.vguitar-strnote {
	width: calc(100% - var(--fret-box));
	display: flex;
	flex-direction: row-reverse;
}
div#vguitar div.vguitar-strnum > div,
div#vguitar div.vguitar-strnote > div {
	width: calc(100% / 6);
	text-align: center;
	font-size: 1.4rem;
}
div#vguitar div.vguitar-board-fret {
	width: 100%;
	display: flex;
	flex-direction: row-reverse;
}
div#vguitar div.fnum {
	width: var(--fret-box);
}
div#vguitar div.fnum > div {
	width: 100%;
	height: 100px;
	border-bottom: var(--fret-bar) solid #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-style: oblique;
	font-size: 1.4rem;
}
div#vguitar div.vguitar-board {
	width: calc(100% - var(--fret-box));
	background-color: #ccc;
	display: flex;
	flex-direction: column;
}
div#vguitar div.vguitar-board > div.fret {
	width: 100%;
	display: flex;
	flex-direction: row;
}
div#vguitar div.vguitar-board > div.fret > div {
	width: calc(100% / 6);
	height: 100px;
	border-bottom: var(--fret-bar) solid #fff;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
div#vguitar div.vguitar-board > div.fret > div > span {
	width: 1px;
	height: calc(100% + var(--fret-bar));
	background-color: #000;
	display: inline;
	margin-top: -1px;
}
div#vguitar div.vguitar-board > div.fret:first-child > div > span {
	height: calc(100% + (var(--fret-bar) - 1px));
	margin-top: 0px;
}
div#vguitar div.vguitar-board > div.fret:last-child > div > span {
	height: calc(100% + (var(--fret-bar) - (var(--fret-bar) - 1px)));
}

div.hguitar_s {
	height: calc(200px + var(--fret-box));
	display: flex;
	flex-direction: row;
	margin-right: 40px;
	margin-bottom: 50px;
}
@media all and (max-width: 768px) {
div.hguitar_s {
	width: 100%;
	margin-right: 0px;
}
}
div.hguitar_s div.hguitar_strnum,
div.hguitar_s div.hguitar_strnote {
	width: var(--box-size);
	height: calc(100% - var(--fret-box));
	display: flex;
	flex-direction: column;
	margin-top: auto;
}
div.hguitar_s div.hguitar_strnum > div,
div.hguitar_s div.hguitar_strnote > div {
	width: var(--box-size);
	height: calc(100% / 6);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.4rem;
}
div.hguitar_s div.vguitar-board-fret {
	height: 100%;
	display: flex;
	flex-direction: column;
}
div.hguitar_s div.fnum {
	height: var(--fret-box);
	display: flex;
	flex-direction: row;
}
div.hguitar_s div.fnum > div {
	width: 100px;
	height: 100%;
	border-bottom: var(--fret-bar-small) solid #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-style: oblique;
	font-size: 1.4rem;
}
div.hguitar_s div.hguitar-board {
	height: calc(100% - var(--fret-box));
	display: flex;
	flex-direction: row;
}
div.hguitar_s div.hguitar-board > div.fret {
	width: calc(70px);
	height: 100%;
	display: flex;
	flex-direction: column;
}
div.hguitar_s div.fret_position > div {
	display: flex;
	flex-direction: row;
}
div.hguitar_s div.fret_position > div > div {
	width: calc(70px);
	height: 30px;
	text-align: center;
	line-height: 30px;
}
div.hguitar_s div.fret_position > div > div > span {
	font-size: 1.2rem;
	font-weight: bold;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:first-child {
	width: calc(70px);
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: #eee;
}
div.with_fret div.hguitar_s div.hguitar-board > div.fret:first-child {
	width: calc(70px);
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: #eee;
}
div.with_fret div.hguitar_s div.hguitar-board > div.fret:first-child > div {
	width: 100%;
	height: calc(100% / 6);
	border-right: var(--fret-bar-small) solid #fff;
	border-left: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.hguitar_s div.hguitar-board > div.fret > div {
	width: 100%;
	height: calc(100% / 6);
	border-right: var(--fret-bar-small) solid #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:not(:first-child) > div {
	width: 100%;
	height: calc(100% / 6);
	border-right: var(--fret-bar-small) solid #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	background-color: #ccc;
}
div.hguitar_s div.hguitar-board > div.fret:first-child > div {
	width: 100%;
	height: calc(100% / 6);
	border-left: var(--fret-bar-small) solid #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:first-child > div {
	width: 100%;
	height: calc(100% / 6);
	border-right: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.open_chord div.five_strings div.hguitar-board > div.fret:first-child > div {
	width: 100%;
	height: calc(100% / 5);
	border-right: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:first-child > div {
	width: 100%;
	height: calc(100% / 6);
	border-left: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:nth-child(2) > div {
	width: 100%;
	height: calc(100% / 6);
	border-left: var(--fret-bar) solid #000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	background-color: #ccc;
}
div.hguitar_s div.hguitar-board > div.fret > div > span:first-child {
	height: 1px;
	width: calc(100% + var(--fret-bar-small));
	background-color: #555;
	display: inline;
	margin-left: -1px;
}
div.open_chord div.hguitar_s div.hguitar-board > div.fret:first-child > div > span:first-child,
div.with_fret div.hguitar_s div.hguitar-board > div.fret:first-child > div > span:first-child {
	height: 0px;
}
div.hguitar_s div.hguitar-board > div.fret:first-child > div > span:first-child {
	width: calc(100% + (var(--fret-bar-small) - 1px));
	margin-left: 0px;
}
div.hguitar_s div.hguitar-board > div.fret:last-child > div > span:first-child {
	width: calc(100% + (var(--fret-bar-small) - (var(--fret-bar-small) - 1px)));
}
div.hguitar_s div.hguitar-board > div.fret > div > span.f_checked {
	width: var(--tone-diameter-w);
	height: var(--tone-diameter-h);
	background-color: #777;
	font-size: 1.0rem;
	color: #fff;
	font-weight: bold;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	line-height: var(--tone-diameter-h);
}
div.hguitar_s div.hguitar-board > div.fret > div > span.muted {
	width: var(--tone-diameter-w);
	height: var(--tone-diameter-h);
	background-color: tomato;
	font-size: 1.0rem;
	color: #fff;
	font-weight: bold;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	line-height: var(--tone-diameter-h);
}
div.hguitar_s div.hguitar-board > div.fret > div > span.basic_chord_tones {
	background-color: skyblue;
}
div.hguitar_s div.hguitar-board > div.fret > div > span.basic_chord_tonic {
	background-color: #6299ae;
}
div.hguitar-board > div.fret > div > span.tonic {
	background-color: #454545;
}
div.hguitar_s div.hguitar-board > div.fret > div > span.tonic {
	width: var(--tone-diameter-w);
	height: var(--tone-diameter-h);
	background-color: #454545;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media all and (max-width: 768px) {
div.five-frets div.hguitar-board-fret,
div.six-frets div.hguitar-board-fret,
div.seven-frets div.hguitar-board-fret,
div.eight-frets div.hguitar-board-fret,
div.nine-frets div.hguitar-board-fret,
div.sixteen-frets div.hguitar-board-fret {
	width: 100%;
}
}
@media all and (max-width: 768px) {
div.five-frets div.hguitar-board,
div.six-frets div.hguitar-board,
div.seven-frets div.hguitar-board,
div.eight-frets div.hguitar-board,
div.nine-frets div.hguitar-board,
div.sixteen-frets div.hguitar-board {
	width: 100%;
}
}
@media all and (max-width: 768px) {
div.five-frets div.hguitar-board > div.fret {
	width: calc(100% / 5);
}
}
@media all and (max-width: 768px) {
div.six-frets div.hguitar-board > div.fret {
	width: calc(100% / 6);
}
}
@media all and (max-width: 768px) {
div.seven-frets div.hguitar-board > div.fret {
	width: calc(100% / 7);
}
}
@media all and (max-width: 768px) {
div.eight-frets div.hguitar-board > div.fret {
	width: calc(100% / 8);
}
}
@media all and (max-width: 768px) {
div.nine-frets div.hguitar-board > div.fret {
	width: calc(100% / 9);
}
}
@media all and (max-width: 768px) {
div.sixteen-frets div.hguitar-board > div.fret {
	width: calc(100% / 16);
}
}

div.diatonic {
	
}
div.diatonic table {
	width: 100%;
	background-color: #ccc;
}
div.diatonic table th {
	border: 1px solid #fff;
	vertical-align: middle;
	padding: 10px;
	background-color: #777;
	color: #fff;
}
div.diatonic table tr {
	width: 100%;
}
div.diatonic table td {
	border: 1px solid #fff;
	text-align: center;
	vertical-align: middle;
	font-size: 1.4rem;
	padding: 10px;
}
div.diatonic table td:not(:last-child) {
	width: 100px;
}
div.diatonic table td:last-child {
	text-align: left;
}
div.diatonic table th:nth-child(8),
div.diatonic table td:nth-child(8) {
	border-right: 3px solid #fff;
}
div.diatonic table th:nth-child(9),
div.diatonic table td:nth-child(9) {
	background-color: #aaa;
}
div.diatonic table td.sharp {
	background-color: #ffe96b;
}
div.diatonic table td.flat {
	background-color: #6ba6ff;
}

div#circle_of_fifth {
}
div#circle_of_fifth > div {
	width: calc(30vw);
	height: 30vw;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-color: #ccc;
}
@media all and (max-width: 768px) {
div#circle_of_fifth > div {
	width: calc(100vw - 30px);
	height: calc(100vw - 30px);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-color: #ccc;
}
}
div#circle_of_fifth > div > div:first-child {
	width: 70%;
	height: 70%;
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
div#circle_of_fifth > div > div:last-child {
	width: 100%;
	height: 100%;
	position: relative;
}
div#circle_of_fifth > div > div > p {
	width: auto;
	position: absolute;
	font-size: 2.5rem;
	color: #333;
	font-weight: bold;
	margin-bottom: 0px;
}
div#circle_of_fifth > div > div > p:nth-child(1) {
	top: 6%;
	left: 50%;
	transform: translateX(-50%);
}
div#circle_of_fifth > div > div > p:nth-child(2) {
	top: 12%;
	right: 27%;
}
div#circle_of_fifth > div > div > p:nth-child(3) {
	top: 26%;
	right: 13%;
}
div#circle_of_fifth > div > div > p:nth-child(4) {
	top: 50%;
	right: 8%;
	transform: translateY(-50%);
}
div#circle_of_fifth > div > div > p:nth-child(5) {
	bottom: 26%;
	right: 13%;
}
div#circle_of_fifth > div > div > p:nth-child(6) {
	bottom: 12%;
	right: 27%;
}
div#circle_of_fifth > div > div > p:nth-child(7) {
	bottom: 6%;
	left: calc(50% + 10px);
	transform: translateX(-50%);
}
div#circle_of_fifth > div > div > p:nth-child(8) {
	bottom: 12%;
	left: 25%;
}
div#circle_of_fifth > div > div > p:nth-child(9) {
	bottom: 26%;
	left: 10%;
}
div#circle_of_fifth > div > div > p:nth-child(10) {
	top: 50%;
	left: 5%;
	transform: translateY(-50%);
}
div#circle_of_fifth > div > div > p:nth-child(11) {
	top: 26%;
	left: 10%;
}
div#circle_of_fifth > div > div > p:nth-child(12) {
	top: 12%;
	left: 27%;
}

div#threechord {
}
div#threechord p {
	width: 100%;
	margin-bottom: 0px;
}
div#threechord div#treechord_graph table {
	background-color: #ccc;
	margin-bottom: 50px;
}
div#threechord div#treechord_graph table th,
div#threechord div#treechord_graph table td {
	border: 1px solid #fff;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
}
div#threechord div#treechord_graph table th {
	color: #fff;
	background-color: #777;
}
div#threechord div#treechord_graph table thead  th:first-child {
	width: 120px;
}
div#threechord div#treechord_graph table thead th:not(:first-child) {
	width: 200px;
}
div#threechord div#treechord_summary table {
	background-color: #ccc;
	margin-bottom: 50px;
}
div#threechord div#treechord_summary table th,
div#threechord div#treechord_summary table td {
	border: 1px solid #fff;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
}
div#threechord div#treechord_summary table {
/* 	width: 100%; */
}
div#threechord div#treechord_summary table th {
	color: #fff;
	background-color: #777;
}
div#threechord div#treechord_summary table thead  th:first-child {
	width: 70px;
}
div#threechord div#treechord_summary table thead th:nth-child(2) {
	width: 200px;
}
div#threechord div#treechord_summary table thead th:nth-child(3) {
	width: 500px;
}

div#chord_progression {
}
div#chord_progression > div {
	margin-bottom: 30px;
}
div#chord_progression > div > div {
	margin-bottom: 20px;
}
div.chord_progression > div,
div.caged_system > div,
div.mode_scale > div {
	padding-top: 20px;
}
div.chord_progression > div > div > div {
	width: 100%;
	display: flex;
	flex-direction: row;
}
@media all and (max-width: 768px) {
div.chord_progression > div > div > div {
	flex-direction: column;
}
}

div.supplement {
	width: 50%;
	padding: 10px;
	border: 3px solid #555;
	margin-bottom: 20px;
}
@media all and (max-width: 768px) {
div.supplement {
	width: 100%;
}
}
div.root_str > div > div > div {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
@media all and (max-width: 768px) {
div.root_str > div > div > div {
	flex-direction: column;
}
}
div.diagram > div {
	margin-bottom: 20px;
}

div.sentences {
	margin-bottom: 30px;
}
div.sentences > p {
	width: 70%;
}
@media all and (max-width: 768px) {
div.sentences > p {
	width: 100%;
}
}

.bordered {
	border: 2px solid #000;
}

div.hguitar_s div.hguitar-board > div.fret > div > span.octave_1 {
	background-color: #bcab28;
}
div.hguitar_s div.hguitar-board > div.fret > div > span.octave_2 {
	background-color: #65c42d;
}
div.hguitar_s div.hguitar-board > div.fret > div > span.octave_3 {
	background-color: #42b98d;
}
div.hguitar_s div.hguitar-board > div.fret > div > span.octave_4 {
	background-color: #39aeb6;
}
