
.mar {
  margin: 30px auto;
  max-width: 600px;
  min-height: auto;
}

.mem {
  position: relative;
  margin: 5px auto;
  max-width: 600px;
  border: 1px solid #d1d1d1;
  padding: 30px 30px 30px 30px;

}
.mem2 {
  display: flex;
}
.m1 {
  margin-right: 15px;
}
.m2 {
  margin-left: 15px;
}
.bir1 {
  margin-left: 30px;
  margin-right: 30px;
}
.req1 {
    margin-left: .3em;
    margin-right: .3em;
    color: #f33;
    font-size: .9em;
    padding: 3px;
    background-color: #fee;
    font-weight: bold;
}
.req2 {
  font-size: 0.7em;
  padding: 3px;
}

input[type=text] , input[type=email], input[type=password], input[type=number]{
    border: 1px solid #d1d1d1;
    font-size: 1em;
    width: 98%;
    padding: 6px;
}
.mem2 select {
  border: 1px solid #d1d1d1;
  font-size: 1em;
  width: 100%;
  padding: 6px;
}

label {
    display: block;
    margin-bottom: .5em;
}
.form-wrapper {
 display: flex;
 justify-content: center;
 gap: 10px;
 margin: 0;
}
#eye {
 display: flex;
 align-items: center;
 width: 25px;
 height: 25px;
 cursor: pointer;
}
#eye2 {
 display: flex;
 align-items: center;
 width: 25px;
 height: 25px;
 cursor: pointer;
}

/* 使用不可ボタン */
.btn-false {
  width: 100%;
  background-color: #a7a7a7;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

.login-btn {
  width: 100%;
  background-color: #f2b036;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}
.login-btn:hover {
box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
transform: translateX(-0.1em) translateY(-0.1em);
background-color: #e0a331;
border: solid 1px #e0a331;
border-radius: 3px;
transition: all 0.2s ease 0s;
}

.btn1 {
    width: 100%;
    background-color: #008080;
    border: none;
    color: #fff;
    padding: 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
.btn1:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
	transform: translateX(-0.1em) translateY(-0.1em);
  background-color: #008b8b;
  border: solid 1px #008b8b;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}

.btn1:active {
    position: relative;
    top: 5px;
    box-shadow: none;
}
.m_control {
  margin-bottom: 3em;
}

.back-btn {
  width: 42%;
  text-decoration: none;
  text-align: center;
  background-color: #ff8c00;
  border-radius: 3px;
  padding: 15px;
  cursor: pointer;
  display: block;
  color: #fff;
  cursor: pointer;
  float: left;
  font-size: 14px;
}
.back-btn:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
	transform: translateX(-0.1em) translateY(-0.1em);
  background-color: #ffaa00;
  border: solid 1px #ffaa00;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}
.next-btn {
  width: 48%;
  text-decoration: none;
  text-align: center;
  background-color: #008080;
  border-radius: 3px;
  border: none;
  padding: 15px;
  cursor: pointer;
  display: block;
  color: #fff;
  cursor: pointer;
  float: right;
  font-size: 14px;
}
.next-btn:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
	transform: translateX(-0.1em) translateY(-0.1em);
  background-color: #008b8b;
  border: solid 1px #008b8b;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}
.next-btn1 {
  width: 42%;
  text-decoration: none;
  text-align: center;
  background-color: #008080;
  border-radius: 3px;
  padding: 15px;
  cursor: pointer;
  display: block;
  color: #fff;
  cursor: pointer;
  float: right;
  font-size: 14px;
}
.next-btn1:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
	transform: translateX(-0.1em) translateY(-0.1em);
  background-color: #008b8b;
  border: solid 1px #008b8b;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}
.height {
  background-color: #fffff0;
  height: 85%;
}

.box_m {
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto;
}
.box1_m {
  padding: 20px;
  margin: 5px 0px 15px 25px;
  border: solid 1px #a9a9a9;
  border-radius: 3px;
}
.box1_m a {
  text-decoration: none;
}
.box1_m:hover {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
	transform: translateX(-0.1em) translateY(-0.1em);
  background-color: #f5f5f5;
  border: solid 1px #f5f5f5;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}
.box2_m {
  display: flex;
  width: 420px;
}
.box2_m img {
  width: 100px;
  margin-left: 20px;
}
.box3_m p{
  margin-top: 35px;
  margin-left: 70px;
  color: #2f4f4f;
  font-size: 1.4rem;
}
.mailarea{
  width: 100%;
  height: 200px;
  border-color: #d1d1d1;
}

@media screen and (max-width: 580px) {
  .mar {
    margin: 20px;
    max-width: 600px;
  }
  .mem {
    position: relative;
    margin: 5px auto;
    max-width: 600px;
    border: none;
    padding: 30px 30px 30px 30px;
  }
  .back-btn {
    width: 37%;
    text-decoration: none;
    text-align: center;
    background-color: #ff8c00;
    border-radius: 3px;
    padding: 15px;
    cursor: pointer;
    display: block;
    color: #fff;
    cursor: pointer;
    float: left;
    font-size: 14px;
  }
  .next-btn {
    width: 44%;
    text-decoration: none;
    text-align: center;
    background-color: #008080;
    border-radius: 3px;
    border: none;
    padding: 15px;
    cursor: pointer;
    display: block;
    color: #fff;
    cursor: pointer;
    float: right;
    font-size: 14px;
  }
  .box_m {
    display: block;
    margin: 20px;
  }
  .box1_m {
    padding: 20px;
    margin: 15px 0px;
    border: solid 1px #a9a9a9;
    border-radius: 3px;
  }
  .box2_m {
    display: flex;
    width: 250px;
  }
  .box2_m img {
    width: 50px;
    margin-left: 10px;
  }
  .box3_m p{
    margin-top: 15px;
    margin-left: 20px;
    color: #2f4f4f;
    font-size: 1rem;
  }
}
