.top {
  background-image: url('../images/background-large@2x.png');
  background-size: contain;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-around;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  -webkit-box-pack: space-around;
  -webkit-justify-content: space-around;
  -ms-flex-pack: space-around;
}

header {
  background-color: #dedede;
  width: auto;
  height: 80px;
}

.topnav {
  position: relative;
  overflow: hidden;
  width: 1000px;
  margin: 0 auto;
  height: 80px;
}

.topnav-left {
  float: left;
  padding-top: 29px;
}

.topnav-left a {
  color: white;
}

.topnav a:hover {
  background-color: #ddd;
  color: white;
}

.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav-centered {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.topnav-centered h2 {
  color: white;
}

@media all and (max-width: 1024px) {
  .topnav {
    width: 300px;
  }
}

.logo-container {
  text-align: center;
}

.logo-top {
  max-width: 100%;
}

.button-container {
  text-align: center;
}

.button-container a {
  display: block;
  font-size: 14px;
  margin: 0.5em auto;
}

.btn {
  background-color: white;
  border-radius: 30px;
  border: none;
  color: #000000;
  display: inline-block;
  margin-bottom: 10px;
  max-width: 240px;
  min-width: 132px;
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.btn.btn-orange {
  background-color: #c55350;
  color: white;
}

.btn-red {
  background-color: #c55350;
  color: white;
}

.btn-gray {
  background-color: #7d7d7d;
  color: white;
}

.container {
  margin: 3em auto;
  padding: 0 2em;
  max-width: 800px;
}

.container.input-wrapper {
  margin: 3em auto;
  text-align: center;
}

.container input {
  margin: 0.5em 0;
}

.container-lg {
  margin: 1em auto 4em auto;
  max-width: 800px;
}

.input-row {
  margin-bottom: 20px;
}

.input-row label {
  float: left;
  font-size: .9rem;
}

.input-row .checkbox-2 label {
  margin-right: 12px;
}

input.std-input {
  font-size: 18px;
  border: none;
  outline: none;
  width: 100%;
}

.underline {
  position: relative;
  border-top: 1px solid #ced7da;
}

.card-wrapper {
  padding: 5%;
}

.section-title {
  float: left;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: .1rem;
}

/* .section-block {
  clear: both;
} */

.section-edit {
  float: right;
}

.section-edit a,
.section-edit a:visited {
  color: grey;
  font-size: .9rem;
  text-decoration: none;
}

dl {
  padding: 0 2%;
}

dt {
  font-weight: bold;
  margin-bottom: 1.1vh;
}

dd {
  margin: 0 0 2vh 0;
}

dd:not(:last-child) {
  border-bottom: 1px solid #b3b3b3;
  padding-bottom: 15px;

}

/* dd::after {
  content: '';
  position: absolute;
  display: block;
  margin: 10px auto;
  border-bottom: 1px solid #b3b3b3;
  width: 300px;
} */

.error {
  color: red;
  font-size: 12px;
  float: left;
  margin-bottom: 10px;
  text-align: left;
}

.link {
  color: #c55350;
}

.mypage {
  min-height: 100vh;
  display: flex;
  flex-flow: column;
}

.mypage-wrapper {
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column;
  -ms-flex-flow: column;
  flex-flow: column;
}

/* header {
  background-image: url('/images/background-large@2x.png');
  width: 100vw;
  height: 100vw;
  border-radius: 0 0 10% 10%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-130%) translateX(-50%);
  z-index: -1;
} */

.title {
  color: white;
  text-align: center;
  font-size: 24px;
  font-weight: bolder;
}

.card {
  display: inline-block;
  border: none;
  border-radius: 15px;
  box-shadow: 5px 5px 10px 7px rgb(0 0 0 / 8%);
  padding: 0.5em;
  background-color: #fff;
  width: 85%;
}

.card.heading-card {
  box-shadow: 5px 5px 10px 7px rgba(0, 0, 0, 0.08);
  border: 0px;
  position: relative;
  padding-top: 12px;
}

.modal {
  position: fixed;
  width: 100%;
  z-index: 1;
  text-align: center;
  top: 5%;
  bottom: 5%;
  left: 3%;
  right: 3%;
}

.modal .card {
  display: flex;
  flex-direction: column;
  width: 88%;
}

.modal input {
  text-align: right;
}

.modal input::placeholder {
  text-align: left;
}

.modal button {
  margin: 6px 0;
}

.modal .amount {
  font-size: 24px;
}

.modal-bg {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
} */

.history {
  color: #ccc;
  position: absolute;
  right: 2%;
  background-color: white;
  border: 0;
}

.map-marker {}

.button-body {
  display: inline;
}

.balance {
  margin: 0;
  font-size: 20px;
}

.balance-amount {
  margin: 0;
  font-size: 48px;
  font-weight: bolder;
}

.balance-amount-unit {
  padding-left: 5px;
  font-size: 25px;
  font-weight: bolder;
}

.buttons {
  display: flex;
  justify-content: space-around;
  margin: 2em 0 0 0;
  flex-wrap: wrap;
}

.buttons svg {
  margin: 0 0.5em 0 0;
}

.buttons button {
  margin: 0.2em 0.1em;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  border: none;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #fff;
  background-color: #ccc;
  min-width: 132px;
}



.reward-info {
  position: relative;
  display: flex;
  justify-content: space-around;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 14px;
  padding: 0 1em;
  width: 70%;
  margin: 25px 0;
  background-image: linear-gradient(to left, transparent 80%, rgb(204, 204, 204) 80%);
}

.reward-info .background {
  background: rgb(204, 204, 204) 80%;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reward-info .background p {
  margin: 0;
  color: white;
  height: 100%;
}

.reward-info>div {
  padding-top: 4px;
  padding-bottom: 2px;
}

.reward-info p {
  display: inline;
}

.job-info {
  width: 100%;
}

.job-info p {
  font-size: 14px;
}

.job-info h3 {
  display: inline;
}

.job-info p {
  display: inline;
}

.job-info button {
  margin: 0 0 0 10px;
}

.recent {
  width: 100%;
}

.info-body {
  background: #eee;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 10px;
}

.job-board {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
}

.location-head {
  margin-left: 10px;
}

.info-body .project-name {
  padding-left: 2px;
  font-weight: bolder;
}

.error {
  color: red;
}

.agree p {
  display: inline;
}

.agree .disable {
  color: #ccc;
}

.invite-message {
  margin-top: 50px;
}

.location {
  color: black;
  text-decoration: none;
}

.balance {
  margin: 0;
  font-size: 20px;
}

.balance-amount {
  margin: 0;
  font-size: 48px;
}

.bakance-mount-in-deail-modal {
  font-size: 40px;
}

.border {
  border: 0.5px solid gray;
  margin-right: 3em;
  margin-left: 3em;
}

.breakedown {
  margin-top: 0;
  margin-bottom: 3px;
  font-size: 15px;
}

.month {
  margin: 1px 0;
  font-size: 18px;
}

.month-amount {
  margin: 2px 25px;
  padding: 2px 0;
  background: #f7f7f7;
  border-radius: 5px;
  font-size: 20px;
}

.button-body {
  display: inline;
}

svg {
  margin: 0 0.5em 0 0;
}

/* 
* ログイン中のメニュー
*/

.menu-item-icon {
  margin-right: 5px;
  vertical-align: middle;
  width: 30px;
  height: 30px;
}


/* Header */
header {
  background-color: #dedede;
  width: auto;
  height: 80px;
  display: flex;
  justify-content: center;
  /* justify-content: space-between; */
  flex-direction: row;
  align-items: center;
}

.header-bkg {
  background-image: url(../images/background-large@2x.png);
  width: 101vw;
  height: 100vw;
  border-radius: 0 0 10% 10%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-130%) translateX(-50%);
  -ms-transform: translateY(-130%) translateX(-50%);
  transform: translateY(-130%) translateX(-50%);
}

.previous {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #00000000;
  color: white;
  margin-left: 10px;
  flex-basis: auto;
  /* flex-basis: 5px;  */
}

.mypage-title {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: bolder;
  z-index: 1;
}

.select-wrap {
  display: inline-block;
}

.select-wrap::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-bottom: solid 2px #dedede;
  border-right: solid 2px #dedede;
  transform: rotate(45deg);
  position: absolute;
  top: 40px;
  right: 20px;
  margin-top: -4px;
}

select {
  margin: 0 10px 0 0;
  padding: 1px 20px;
  appearance: none;
  border-radius: 15px;
  color: #000000;
  background-color: white;
}

.mypage-container {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
}

#overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0000004d;
  opacity: 1;
  transition: opacity 0.3s ease 0s;
  z-index: 1;
}

/* new menu */
#sidebarMenu {
  height: 408px;
  position: fixed;
  right: 0;
  width: 250px;
  margin-top: 60px;
  transform: translateX(250px);
  transition: transform 250ms ease-in-out;
  background: white;
  top: -60px;
  padding-top: 40px;
  z-index: 10;
}

.sidebarMenuInner {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebarMenuInner li {
  list-style: none;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebarMenuInner li a {
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

input[type="checkbox"]:checked~#sidebarMenu {
  transform: translateX(0);
}

input[type=checkbox] {
  transition: all 0.3s;
  box-sizing: border-box;
}

.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  height: 100%;
  width: 100%;
  top: 22px;
  right: 12px;
  height: 22px;
  width: 22px;
}

.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #111;
}

.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}

.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

input[type=checkbox]:checked~.sidebarIconToggle>.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  opacity: 0;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-1 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(135deg);
  margin-top: 8px;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -9px;
}

footer {
  width: 100%;
  height: 4rem;
  text-align: center;
  background: #ffffff;
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  box-shadow: 5px 5px 10px 7px rgba(0, 0, 0, 0.08) !important;
}

.footer-navbar {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  margin: 0;
}

.footer-navbar p {
  margin: 0;
  font-size: 12px;
}

.footer-navbar li p {
  color: #ddd;
}

.footer-navbar li:nth-child p {
  color: black;
}

.footer-navbar-img {
  width: 20px;
}

.footer-navbar li.active p {
  color: black;
  font-weight: bold;
}

.profile-cards {
  margin: 2vh 4vw;
  padding: 10px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 10%);
  box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 10%);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}