@charset "UTF-8";

.NavigationMenu {
  background-color: #c0ffff;
}
body {
  font-family: monospace, serif;
}
main {
  display: flex;
  min-height: 100vh;
  margin: 15px 0 30px 0;
}

.hamburger {
  background: none;
  color: #fff;
  cursor: pointer;
  border-color: #fff;
  border-radius: 20%;
  display: none;
}
.hamburger.active {
  display: block;
}

.LeftContent {
  width: 400px;
  background-color: #dcffdc;
  text-align: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: transform 0s ease;
}

#sidebar.closed {
  position: fixed;
  left: 0;
  transform: translateX(-100%);
  z-index: 999;
}
#sidebar.active {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(0);
  height: 100vh;
  overflow-y: auto;
  z-index: 999;
  transition: transform 0.3s ease;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  background: rgba(0, 0, 0, 0.7);
}
#overlay.active {
  display: block;
}

.RightContent {
  flex: 1;
  background-color: #dcffdc;
  text-align: center;
  margin-right: 15px;
}

.va {
  vertical-align: middle;
}

/* information message */
.info_msg {
  margin-bottom: 0.75em;
  padding: 0.75em 1em;
  width: 50%;
  color: blue;
  background-color: #dfefff;
  border: 1px solid #379bff;
  border-radius: 8px;
}

/* warning message */
.warn_msg {
  margin-bottom: 0.75em;
  padding: 0.75em 1em;
  width: 50%;
  color: #bd3e00;
  background-color: #ffffc6;
  border: 1px solid #ff8040;
  border-radius: 8px;
}

/* error message */
.err_msg {
  margin-bottom: 0.75em;
  padding: 0.75em 1em;
  width: 50%;
  color: red;
  background-color: #ffe6e6;
  border: 1px solid #ff8080;
  border-radius: 8px;
}

table {
  /* border: solid 1px #84b2e0; */
  border-collapse: collapse;
  border: none;
}

th {
  text-align: center;
  color: white;
  border: solid 1px #84b2e0;
  background: linear-gradient(#829ebc, #225588);
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  padding: 4px 10px;
}

td {
  padding: 4px 10px;
  border: solid 1px #84b2e0;
}

.red {
  color: red;
}

#nav {
  list-style: none;
  display: flex;
  padding: 0px;
}

#nav li {
  margin-right: 10px;
}

a {
  text-decoration: none;
}

nav ul li {
  /* display: inline-block; */
  margin: 20px 0;
}

.menu-title {
  display: block;
  padding: 1em;
  text-decoration: none;
  background: linear-gradient(#829ebc, #225588);
  color: #f7f7f7da; /*文字色*/
  font-weight: bold;
  transition: 0.1s;
}

.btn-sticky {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #f7f7f7da;
  border-left: solid 6px #0080ff; /*左線*/
  color: #0080ff; /*文字色*/
  font-weight: bold;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  width: 64%;
  transition: 0.1s;
}
.btn-sticky-current {
  border: solid 6px #0080ff; /*左線*/
}

.btn-sticky:active {
  box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
  transform: translateY(2px);
}
.btn-sticky:hover {
  background: #ffffff;
  /*文字色*/
  /* color: #f7f7f7; */
  transform: translateX(5px);
}
.formTitle {
  text-align: left;
  margin-left: 10px;
}

/*アコーディオン関連*/
.accordion {
  list-style: none;
}
.accordion .menu-toggle {
  display: none;
}
.accordion .menu-label {
  /*タイトル*/
  padding: 1em;
  display: block;
  color: #fff;
  background: linear-gradient(#829ebc, #225588);
  cursor: pointer;
}
.accordion .menu-label::before {
  /*タイトル横の矢印*/
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 3px);
  right: 20px;
  transform: rotate(135deg);
}
.accordion .menu-label,
.accordion .menu-content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.accordion .menu-content {
  /*本文*/
  height: 0;
  overflow: hidden;
}
.accordion .menu-toggle:checked + .menu-label + .menu-content {
  /*開閉時*/
  height: auto;
  transition: all 0.3s;
}
.accordion .menu-toggle:checked + .menu-label::before {
  transform: rotate(-45deg) !important;
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 0.2rem 0.3rem;
  border-radius: 0.1rem;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.badge-blue {
  background-color: #3689e5;
}
.badge-red {
  background-color: #e74c3c;
}
.badge-green {
  background-color: #15a217;
}
.badge-yellow {
  background-color: #f5e909;
  color: black;
}

.row-summaly {
  color: white;
  border: solid 1px #84b2e0;
  background: linear-gradient(#829ebc, #225588);
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  padding: 4px 10px;
}

.price-area {
  color: white;
  border: solid 1px #84b2e0;
  background: linear-gradient(#6ecb9d, #248967);
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  padding: 4px 10px;
}

.edit-link {
  color: lightgoldenrodyellow;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.edit-link:hover {
  color: lightgreen;
}
