@charset "UTF-8";
:root {
  --grayscale: saturate(var(--img-gray));
}

html {
  scroll-behavior: smooth;
}

.main {
  background: var(--bg0-color);
  margin-bottom: 10px;
  padding: 10px;
}
.main__db__message {
  padding: 10px;
  margin: 10px;
  max-width: calc(100vw - 20px);
  border: 1px solid black;
}
.main__db__message div {
  max-height: 20vh;
  overflow: scroll;
  background: var(--bg1-color);
  font-size: 14px;
  line-height: 200%;
}
.main__db__message label {
  display: inline-block;
  width: auto;
  background: var(--bg1-color);
  cursor: pointer;
}
.main__db__message label:hover {
  background: transparent;
}
.main__db__message input[type=checkbox] {
  display: none;
}
.main__db__message input[type=checkbox]:checked ~ div {
  max-height: none;
}
.main__db__message input[type=checkbox]:checked ~ label {
  font-size: 0;
}
.main__db__message input[type=checkbox]:checked ~ label::before {
  font-size: 16px;
  content: "縮小する";
}
.main__db__message__success {
  border: 1px solid green;
}
.main__db__message__error {
  color: red;
  border: 1px solid red;
}
.main input[type=number], .main input[type=text] {
  border: none;
  background: transparent;
  color: var(--main-text-color);
}
.main input[type=number]::-webkit-inner-spin-button, .main input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
}
.main__balmenu__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.main__balmenu__btns__bg {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg0-color);
  opacity: 0.5;
  -webkit-animation: main__balmenu__btns__bg__on 0.3s;
          animation: main__balmenu__btns__bg__on 0.3s;
}
@-webkit-keyframes main__balmenu__btns__bg__on {
  0% {
    background: transparent;
  }
  100% {
    background: var(--bg0-color);
  }
}
@keyframes main__balmenu__btns__bg__on {
  0% {
    background: transparent;
  }
  100% {
    background: var(--bg0-color);
  }
}
.main__balmenu__btns input[type=checkbox] {
  display: none;
}
.main__balmenu__btns__item {
  width: calc(50% - 10px);
  background: var(--bg0-color);
  position: relative;
  transition: 0.3s;
  overflow: scroll;
}
.main__balmenu__btns__item__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin: 5px;
  border-bottom: 1px solid var(--bg2-color);
  position: relative;
  overflow: hidden;
  z-index: 10;
  cursor: pointer;
}
.main__balmenu__btns__item__label__left {
  height: 30px;
  line-height: 30px;
  display: flex;
  align-items: center;
}
.main__balmenu__btns__item__label__left > span {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-radius: 50%;
  border: 2px solid var(--main-text-color);
  position: relative;
  transition: 0.3s;
}
.main__balmenu__btns__item__label__left > span::before, .main__balmenu__btns__item__label__left > span::after {
  content: "";
  background: var(--main-text-color);
  position: absolute;
  transition: 0.3s;
  border-radius: 1px;
}
.main__balmenu__btns__item__label__left > span::before {
  width: 80%;
  height: 2px;
  top: calc(50% - 1px);
  left: 10%;
}
.main__balmenu__btns__item__label__left > span::after {
  width: 2px;
  height: 80%;
  top: 10%;
  left: calc(50% - 1px);
}
.main__balmenu__btns__item__label__left > p {
  display: inline-block;
  line-height: 30px;
}
.main__balmenu__btns__item__label__right {
  display: none;
  justify-content: right;
}
.main__balmenu__btns__item__label__right__num {
  width: 80px;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  background: var(--bg1-color) !important;
}
.main__balmenu__btns__item__label__right span {
  line-height: 30px;
}
.main__balmenu__btns__item__label:hover {
  background: var(--bg0-hover);
}
.main__balmenu__btns__item__label:hover .main__balmenu__btns__item__label__left span {
  transform: scale(1.2);
}
.main__balmenu__btns__item__usage {
  display: flex;
  flex-wrap: wrap;
  display: none;
  width: 100%;
  padding: 0 10px;
  transition: 0.3s;
}
@-webkit-keyframes main__balmenu__btns__item__usage__list {
  0% {
    height: 20px;
  }
  100% {
    height: 40px;
  }
}
@keyframes main__balmenu__btns__item__usage__list {
  0% {
    height: 20px;
  }
  100% {
    height: 40px;
  }
}
.main__balmenu__btns__item__usage__list {
  border: 1px solid var(--bg2-color);
  min-width: calc(50% - 10px);
  margin: 5px;
  border-radius: 6px;
  overflow: hidden;
  -webkit-animation: main__balmenu__btns__item__usage__list 0.3s;
          animation: main__balmenu__btns__item__usage__list 0.3s;
}
.main__balmenu__btns__item__usage__list__header {
  display: flex;
  line-height: 40px;
  cursor: pointer;
}
.main__balmenu__btns__item__usage__list__header__label {
  display: inline-block;
  text-align: center;
  width: 30px;
  background: var(--bg2-color);
  margin-right: 4px;
  cursor: pointer;
}
.main__balmenu__btns__item__usage__list__header p {
  line-height: 40px;
  flex: 1;
}
.main__balmenu__btns__item__usage__list__header:hover {
  background: var(--bg2-hover);
}
.main__balmenu__btns__item__usage__list__chk:checked + .main__balmenu__btns__item__usage__list {
  border: 1px solid var(--main-text-color);
}
.main__balmenu__btns__item__usage__list__chk:checked + .main__balmenu__btns__item__usage__list > .main__balmenu__btns__item__usage__list__header > .main__balmenu__btns__item__usage__list__header__label {
  background: var(--main-text-color);
  display: inline-block;
  margin-right: 4px;
  position: relative;
  transition: 0.3s;
}
.main__balmenu__btns__item__usage__list__chk:checked + .main__balmenu__btns__item__usage__list > .main__balmenu__btns__item__usage__list__header > .main__balmenu__btns__item__usage__list__header__label::before {
  content: "";
  background: var(--bg0-color);
  position: absolute;
  transition: 0.3s;
  border-radius: 1px;
  width: 80%;
  height: 2px;
  top: calc(50% - 1px);
  left: 10%;
}
.main__balmenu__btns__item__usage__list__body {
  display: flex;
  height: 0px;
  justify-content: right;
}
.main__balmenu__btns__item__usage__list__body__num {
  width: calc(100% - 26px);
  text-align: right;
  font-size: 20px;
  line-height: 30px;
  background: var(--bg1-color) !important;
}
.main__balmenu__btns__item__usage__list__body__num::-webkit-inner-spin-button, .main__balmenu__btns__item__usage__list__body__num::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
}
.main__balmenu__btns__item__usage__list__body span {
  line-height: 30px;
  width: 26px;
}
.main__balmenu__btns__item__info {
  border-top: 1px solid var(--bg2-color);
  display: none;
  margin: 10px;
}
.main__balmenu__btns__item__info__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.main__balmenu__btns__item__info__title__p {
  font-weight: bold;
}
.main__balmenu__btns__item__info__title__add {
  border: 1px solid var(--bg2-color);
  border-radius: 8px;
  min-width: 183px;
  padding: 4px;
  margin: 4px;
  display: inline-flex;
  min-width: 98px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.main__balmenu__btns__item__info__title__add div {
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.main__balmenu__btns__item__info__title__add div span {
  transition: 0.3s;
}
.main__balmenu__btns__item__info__title__add div span:first-child {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 4px;
  border-radius: 50%;
  border: 2px solid var(--main-text-color);
  position: relative;
  transition: 0.3s;
}
.main__balmenu__btns__item__info__title__add div span:first-child::before, .main__balmenu__btns__item__info__title__add div span:first-child::after {
  content: "";
  background: var(--main-text-color);
  position: absolute;
  transition: 0.3s;
  border-radius: 1px;
}
.main__balmenu__btns__item__info__title__add div span:first-child::before {
  width: 80%;
  height: 2px;
  top: calc(50% - 1px);
  left: 10%;
}
.main__balmenu__btns__item__info__title__add div span:first-child::after {
  width: 2px;
  height: 80%;
  top: 10%;
  left: calc(50% - 1px);
}
.main__balmenu__btns__item__info__title__add:hover {
  background: var(--bg0-hover);
}
.main__balmenu__btns__item__info__title__add:hover span:first-child {
  transform: scale(1.2);
}
.main__balmenu__btns__item__info__methodChosen {
  display: flex;
  width: 100%;
  overflow: scroll;
  justify-content: left;
  padding-top: 14px;
}
.main__balmenu__btns__item__info__methodChosen__item {
  display: none;
  border: 1px solid var(--bg2-color);
  border-radius: 8px;
  min-width: 183px;
  padding: 4px;
  margin: 4px;
  position: relative;
}
.main__balmenu__btns__item__info__methodChosen__item__delete {
  display: none;
  position: absolute;
  top: -19px;
  left: 20%;
  border-radius: 4px;
  width: calc(60% - 8px);
  border: 1px solid red;
  background: var(--bg0-color);
  justify-content: center;
  cursor: pointer;
  -webkit-animation: main__balmenu__btns__item__info__methodChosen__item__delete 0.3s forwards;
          animation: main__balmenu__btns__item__info__methodChosen__item__delete 0.3s forwards;
}
@-webkit-keyframes main__balmenu__btns__item__info__methodChosen__item__delete {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes main__balmenu__btns__item__info__methodChosen__item__delete {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
.main__balmenu__btns__item__info__methodChosen__item__delete::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1px solid red;
  border-bottom: 1px solid red;
  background: var(--bg0-color);
  transform: rotate(45deg);
}
.main__balmenu__btns__item__info__methodChosen__item__delete span {
  font-size: 16px;
  line-height: 100%;
  z-index: 1;
}
.main__balmenu__btns__item__info__methodChosen__item__delete:hover {
  background: var(--bg0-hover);
}
.main__balmenu__btns__item__info__methodChosen__item__delete:hover::after {
  background: var(--bg0-hover);
}
.main__balmenu__btns__item__info__methodChosen__item__top {
  display: flex;
}
.main__balmenu__btns__item__info__methodChosen__item__top__left {
  display: flex;
}
.main__balmenu__btns__item__info__methodChosen__item__top__left img {
  width: 45px;
}
.main__balmenu__btns__item__info__methodChosen__item__top__right {
  flex: 1;
}
.main__balmenu__btns__item__info__methodChosen__item__top__right__top span {
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.main__balmenu__btns__item__info__methodChosen__item__top__right__bottom {
  display: flex;
  justify-content: center;
}
.main__balmenu__btns__item__info__methodChosen__item__top__right__bottom__num {
  font-size: 18px;
  width: 100px;
  text-align: right;
  padding-right: 4px;
  background: var(--bg1-color) !important;
}
.main__balmenu__btns__item__info__methodChosen__item__top__right__bottom__unit {
  padding-left: 4px;
  font-size: 14px;
}
.main__balmenu__btns__item__info__methodChosen__item__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  border-top: 1px solid var(--bg2-color);
}
.main__balmenu__btns__item__info__methodChosen__item__bottom__right {
  display: flex;
}
.main__balmenu__btns__item__info__methodChosen__item__bottom__right__num {
  width: 70px;
  text-align: right;
}
.main__balmenu__btns__item__info__methodChosen__item__bottom__right__unit {
  margin-left: 4px;
  text-align: right;
}
.main__balmenu__btns__item__info__methodChosen__item:hover > .main__balmenu__btns__item__info__methodChosen__item__delete {
  display: flex;
}
.main__balmenu__btns__item__info__methodOptions {
  display: none;
  padding: 4px;
  position: relative;
}
.main__balmenu__btns__item__info__methodOptions__item {
  display: flex;
  border: 1px solid var(--bg2-color);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.15s;
  margin: 5px;
}
.main__balmenu__btns__item__info__methodOptions__item img {
  width: 40px;
  margin-left: 20px;
}
.main__balmenu__btns__item__info__methodOptions__item span {
  line-height: 40px;
  font-size: 16px;
  font-weight: bold;
}
.main__balmenu__btns__item__info__methodOptions__item:hover {
  background: var(--bg2-hover);
}
.main__balmenu__btns__item__info__methodOptions__chk:checked + .main__balmenu__btns__item__info__methodOptions__item {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.main__balmenu__btns__item__info__methodOptions__popup:checked ~ .main__balmenu__btns__item__info__title > .main__balmenu__btns__item__info__title__add > div > span:first-child::before {
  transform: rotate(180deg);
}
.main__balmenu__btns__item__info__methodOptions__popup:checked ~ .main__balmenu__btns__item__info__title > .main__balmenu__btns__item__info__title__add > div > span:first-child::after {
  transform: rotate(90deg);
}
.main__balmenu__btns__item__info__methodOptions__popup:checked ~ .main__balmenu__btns__item__info__methodOptions {
  display: block;
}
.main__balmenu__btns__item__info__memo {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.main__balmenu__btns__item__info__memo textarea {
  display: block;
  width: 70%;
  height: 30px;
  border: none;
  background: var(--bg1-color);
}
.main__balmenu__btns__item__info__submit__btn {
  z-index: 10;
  width: calc(100% - 10px);
  padding: 10px;
  margin: 5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: black;
  color: white;
  filter: var(--filter-dark);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.main__balmenu__btns__item__info__submit__btn span {
  z-index: 1;
  font-size: 16px;
}
.main__balmenu__btns__item__info__submit__btn::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: gray;
  filter: var(--img-opac);
  transform: scale(0, 1);
  transition: 0.3s;
  z-index: -1;
}
.main__balmenu__btns__item__info__submit__btn:hover::before {
  transform: scale(1);
}
.main__balmenu__btns__radio {
  display: none;
}
.main__balmenu__btns__radio:checked + input + form > .main__balmenu__btns__item__label > div > span::before {
  transform: rotate(180deg);
}
.main__balmenu__btns__radio:checked + input + form > .main__balmenu__btns__item__label > div > span::after {
  transform: rotate(90deg);
}
.main__balmenu__btns__radio:checked + input + form > .main__balmenu__btns__item__usage {
  display: flex;
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item {
  -webkit-animation: main__balmenu__btns__item__popup 0.3s ease 0.001s forwards;
          animation: main__balmenu__btns__item__popup 0.3s ease 0.001s forwards;
  box-shadow: 0 0 20px var(--main-text-color);
  border-radius: 4px;
  z-index: 100;
}
@-webkit-keyframes main__balmenu__btns__item__popup {
  0% {
    top: var(--animation-y);
    left: var(--animation-x);
    position: fixed;
    width: 50%;
    max-width: 767px;
    width: var(--animation-width);
    height: var(--animation-height);
  }
  100% {
    top: 10%;
    left: 10%;
    position: fixed;
    transform: translateY(0);
    width: 80%;
    max-width: 767px;
    height: 80%;
  }
}
@keyframes main__balmenu__btns__item__popup {
  0% {
    top: var(--animation-y);
    left: var(--animation-x);
    position: fixed;
    width: 50%;
    max-width: 767px;
    width: var(--animation-width);
    height: var(--animation-height);
  }
  100% {
    top: 10%;
    left: 10%;
    position: fixed;
    transform: translateY(0);
    width: 80%;
    max-width: 767px;
    height: 80%;
  }
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__label:hover {
  background: none;
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__label > .main__balmenu__btns__item__label__left > span {
  border: 1px solid var(--main-text-color);
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__label > .main__balmenu__btns__item__label__left > span::before {
  transform: rotate(225deg);
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__label > .main__balmenu__btns__item__label__left > span::after {
  transform: rotate(225deg);
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__label > .main__balmenu__btns__item__label__left > span:hover {
  transform: scale(1.4);
  background: var(--bg0-hover);
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__usage > .main__balmenu__btns__item__usage__list {
  display: none;
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__usage > .main__balmenu__btns__item__usage__list > .main__balmenu__btns__item__usage__list__body {
  height: auto;
  margin: 10px;
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__usage > .main__balmenu__btns__item__usage__list__chk:checked + .main__balmenu__btns__item__usage__list {
  display: block;
}
.main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item > .main__balmenu__btns__item__info {
  display: block;
}
.main__balmenu__detail__window__title {
  width: 30px;
  text-align: center;
}
.main__balmenu__detail__window__title p {
  font-size: 12px;
  line-height: 150%;
}
.main__balmenu__detail__window__btns div {
  display: inline-flex;
  border: 1px solid var(--bg2-color);
  line-height: 40px;
  width: calc(50% - 10px);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.main__balmenu__detail__window__btns div label {
  display: inline-block;
  text-align: center;
  width: 30px;
  background: var(--bg2-color);
  margin-right: 4px;
  cursor: pointer;
}
.main__balmenu__detail__window__btns input[type=checkbox] {
  display: none;
}
.main__balmenu__detail__window__btns input[type=checkbox]:checked + div {
  border: 1px solid red;
}
.main__balmenu__detail__window__btns input[type=checkbox]:checked + div label {
  background: red;
}
.main__balmenu__detail__btns label {
  display: inline-flex;
  padding: 10px;
  border-radius: 5px;
  background: rgba(66, 126, 66, 0.227);
  text-align: center;
}

.aside__balhistory {
  background: var(--bg0-color);
  display: block;
  margin-bottom: 5px;
  padding: 10px;
}
.aside__balhistory__table {
  margin: 0 auto;
  border-collapse: collapse;
}
.aside__balhistory__table th {
  font-size: 10px;
  border-bottom: 2px solid var(--main-text-color);
}
.aside__balhistory__table td {
  font-size: 10px;
}
.aside__balhistory__table tr:hover {
  background: var(--bg0-hover);
}
.aside__balhistory__table__tr__th__date {
  width: 32px;
  white-space: normal;
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__th__usage {
  width: 80px;
  white-space: nowrap;
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__th__method {
  width: 80px;
  white-space: nowrap;
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__td {
  white-space: nowrap;
  border-bottom: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__td__date {
  white-space: normal;
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__td__usage {
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__td__method {
  border-right: 1px solid var(--bg2-color);
}
.aside__balhistory__table__tr__td__bal {
  text-align: right;
  padding-right: 4px;
}

@media screen and (max-width: 767px) {
  .main__balmenu__btns__item__usage__list {
    width: 100% !important;
  }
}
@media screen and (max-width: 467px) {
  .main__balmenu__btns__item {
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    bottom: 0 !important;
    height: auto !important;
    max-height: 95%;
    overflow: scroll !important;
  }
  .main__balmenu__btns__item__info__methodChosen {
    flex-wrap: nowrap;
  }
  .main__balmenu__btns__chk_popup:checked + .main__balmenu__btns__item {
    -webkit-animation: main__balmenu__btns__item__popup__smartphone 0.3s ease forwards;
            animation: main__balmenu__btns__item__popup__smartphone 0.3s ease forwards;
  }
  @-webkit-keyframes main__balmenu__btns__item__popup__smartphone {
    0% {
      position: fixed;
      transform: translateY(50%);
    }
    100% {
      position: fixed;
      transform: translateY(0);
    }
  }
  @keyframes main__balmenu__btns__item__popup__smartphone {
    0% {
      position: fixed;
      transform: translateY(50%);
    }
    100% {
      position: fixed;
      transform: translateY(0);
    }
  }
  .main__balmenu__detail__window__btns div {
    width: calc(100% - 10px);
  }
}/*# sourceMappingURL=style.css.map */