/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="text"]::-webkit-search-decoration,
input[type="password"]::-webkit-search-decoration,
input[type="email"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="text"]::focus,
input[type="password"]::focus,
input[type="email"]::focus,
textarea::focus,
input[type="password"]::focus {
  outline-offset: -2px;
}
textarea{
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  box-sizing: border-box;
  cursor: pointer;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
}

button,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
}

input[type="radio"] {
    display: none;
}
input[type="radio"]:checked + label {
    background: #ff0000;
}



* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(to right bottom, rgb(0, 10, 71) 0%, rgb(22, 26, 76) 8.1%, rgb(44, 48, 87) 15.5%, rgb(64, 69, 103) 22.5%, rgb(83, 89, 119) 29%, rgb(101, 108, 137) 35.3%, rgb(118, 126, 153) 41.2%, rgb(133, 142, 169) 47.1%, rgb(148, 157, 184) 52.9%, rgb(160, 171, 198) 58.8%, rgb(171, 183, 210) 64.7%, rgb(181, 193, 220) 71%, rgb(188, 201, 228) 77.5%, rgb(194, 207, 235) 84.5%, rgb(198, 211, 239) 91.9%, rgb(199, 212, 240) 100%);
  margin: 0;
  height: 100%;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
}

@media screen and (max-width: 420px) {
	body {
  		padding-top: 50px;
  		padding-bottom: 50px;
	}
}

body.loggedin{
	background: white;
	padding: 0;
	height: auto;
	min-height:auto;
}

.login-logo{
	text-align: center;
}
.login-logo img{
	width:130px;
	height:auto;
}
@media screen and (max-width: 420px) {
	.login-logo img{
		width:150px;
		height:auto;
	}
}

.login, .register {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: auto;
}

.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  margin-top: 20px;
  width: 100%;
  padding-bottom: 20px;
  display: inline-block;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #adb2ba;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #000946;
  color: #000946;
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #000946;
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #000946;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s ,color 0.2s;
}
@media screen and (max-width: 420px) {
	.login form input[type="submit"], .register form input[type="submit"] {
    	top: 5px;
    	position: relative;
	}
}


.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #c3d4f5;
  color:#000946;
  transition: background-color 0.2s ,color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.navtop {
  background-color: #000946;
  height: 60px;
  width: 100%;
  border: 0;
}

.navtop div {
  display: flex;
  margin: 0 auto;
  width: 1000px;
  height: 100%;
}

.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 24px;
  padding: 0;
  margin: 0;
  color: #eaebed;
  font-weight: normal;
}

.navtop div a {
  padding: 0 20px;
  text-decoration: none;
  color: #c1c4c8;
  font-weight: bold;
}

.navtop div a i {
  padding: 2px 8px 0 0;
}

.navtop div a:hover {
  color: #eaebed;
}

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}
@media screen and (max-width: 420px) {

  .content h2 {
      padding: 0 0 10px 0;
  }
  .first-content h2{
      padding: 25px 0 10px 0;
  }
}

.content > p, .content > div {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

@media screen and (max-width: 420px) {
  .content > p, .content > div {
    padding: 10px;
  }
}

table tr th{
	text-align: left;
}

.content > p table, .content > div table {
  width: 100%;
}

.content > p table td, .content > div table td {
  overflow: hidden;
  padding: 5px;
}

.content > p table td:first-child, .content > div table td:first-child {
/*  font-weight: bold;
  color: #4a536e;*/
  padding-right: 15px;
}

.content > p table td:last-child, .content > div table td:last-child {
  word-break: break-all;
}

.content > div p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content > div a, .content > div input[type="submit"] {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #000946;
  margin: 15px 5px 0 0;
  padding: 10px 15px;
  transition: background-color 0.2s ,color 0.2s;
}


.content > div a:hover, .content > div input[type="submit"]:hover {
  background-color: #c3d4f5;
  color:#000946;
  transition: background-color 0.2s ,color 0.2s;
}

.content form label {
  display: block;
  padding: 10px 0 5px 0;
}

.content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
  padding: 5px;
  width: 250px;
}

.edit-profile form input[type="password"], .edit-profile form input[type="text"], .edit-profile form input[type="email"]{
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

@media screen and (max-width: 420px) {
  .login, .register {
    width: 90%;
  }
}

@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
  }
}

.member-nav{
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap:wrap;
}

.member-nav li{
  display: inline-block;
  text-decoration: none;
  border: 1px solid #000946;
  background-color: white;
  transition: background-color 0.2s ,color 0.2s;
  width: 23%;
  text-align: center;
}

@media screen and (max-width: 420px) {
  .member-nav li{
    width: 48%;
    margin-bottom: 15px;
  }

  .member-nav{
    margin-bottom: 0;
  }

}

.member-nav a{
  display: inline-block;
  color: #000946;
  text-decoration: none;
  padding: 10px 15px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ,color 0.2s;
}

.member-nav li:hover{
  background-color: #000946;
}
.member-nav li:hover a{
  color: white;
}

a i {
  margin-right: 5px;
}

.card-register-text{
  margin: 0 auto 25px auto;
  max-width: 500px;
}

.button.disabled{
  opacity:  0.4;
}

#supported-cardbrand img{
  width: 15%;
}





table .active{
  color:  #26d526;
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

  tr{
  	margin-bottom: 20px;
  }

  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr { 
    display: block; 
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  tr:first-child { 
    display: none;
  }
  
  tr { border: 1px solid #ccc; }
  
  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 35% !important; 
  }
  
  td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 25%; 
    padding-right: 10px; 
    white-space: nowrap;
    font-weight: bold;
    color: black;
  }

  td a{
  	margin: 0 15px 5px 0 !important;
  }
  
}