.sample_box8 {
  width: 90%;
  /* height: 12%; */
  line-height: 13%;
  padding: 3%;
  margin: 0 auto;
  background-color:#f4f9ff;/*背景色*/
  border:1px solid #84c1ff;/*枠線*/
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
  color:#000000;/*文字色*/
  border-radius: 6px;
  position: relative;
}

/* .sample_box8 a {
} */

.top-nav {
  margin: 0;
  padding: 0;
}

.button1 span {
  width: 8%;
  height: 10px;
  line-height: 0;
  background: none; 
  border: none;
  color: #333;
  text-decoration: none;
  text-align: center;
  transition: .3s ease-in-out;
  position: absolute;
  font-size: 11%;
  z-index: 1;
  padding: 0;
  margin: 0;
}

.button1::before {
  position: absolute;
  top: 26%;
  left: 3%;
  content: '';
  width: 8%;
  height: 35%;
  border: 2px solid #333;
  border-radius: 5px;
}

.button1::after {
  position: absolute;
  top: 39%;
  left: 4%;
  content: '';
  width: 8%;
  height: 35%;
  background-color: #e8fe77;
  transition: .3s ease-in-out;
  border-radius: 5px;
  padding: 0;
}

.button1:hover {
  color: #fff;
}

.button1:hover::after {
  position: absolute;
  top: 26%;
  left: 3%;
  width: 8%;
  height: 35%;
  border-radius: 5px;
  padding: 0;
}

.button2 span {
  width: 8%;
  height: 10px;
  line-height: 0;
  left: 12%;
  background: none; 
  border: none;
  color: #333;
  text-decoration: none;
  text-align: center;
  transition: .3s ease-in-out;
  position: absolute;
  font-size: 11%;
  z-index: 1;
  padding: 0;
  margin: 0;
}

.button2::before {
  position: absolute;
  top: 25%;
  left: 12%;
  content: '';
  width: 8%;
  height: 35%;
  border: 2px solid #333;
  border-radius: 5px;
}

.button2::after {
  position: absolute;
  top: 40%;
  left: 13%;
  content: '';
  width: 8%;
  height: 35%;
  background-color: #e8fe77;
  transition: .3s ease-in-out;
  border-radius: 5px;
}

.button2:hover {
  color: #fff;
}

.button2:hover::after {
  position: absolute;
  top: 25%;
  left: 12%;
  width: 8%;
  height: 35%;
  border-radius: 5px;
}

.sp-menu {
  position: absolute;
  width: 0;
  top: 35%;
  left: 95%;
  text-align: center;
  background: none;
  margin-top: 0;
  padding: 0;
  cursor: pointer;

}

/* .sp-menu #open.hide {
  display: none;
} */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 50px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
  z-index: 2;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

.overlay ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.overlay li {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}

.b-title {
  position: absolute;
  /* display: inline-block; */
  left: 35%;
  padding: 0;
  top: 10%;
  border-radius: 10%;
}

.site-width {
  margin: 0 auto;
  width: 100%;
}

footer {
  padding: 15px;
  width: 100%;
  background: #333;
  color: #f6f5f5;
  text-align: center;
  font-size: 12px;
}

footer a {
  color: #f6f5f5;
}
/*contact*/

#main {
  width: 80%;
  margin: 0 auto;
}

.form {
  margin: 5% auto;
  padding: 30px;
  width: 80%;
  border: 5px botted #f1f1f1;
  border-radius: 10px;
  background-color: rgb(246, 238, 195);
}
.form .label-require{
  margin-left: 5px;
  background: #fe8a8b;
  font-size: 14px;
  padding: 3px 5px;
  color: white;
  vertical-align: bottom;
}
.page-logined .form{
  border: none;
}

.form .title {
  /* margin-bottom: 40px; */
  text-align: center;
  margin: 0;
  padding: 0;
}
.form .area-msg{
  padding: 0 0 15px 0;
  height: 20%;
  color: red;
  border-radius: 5px;
}

.fom-container {
  height: 500px;
}

.form .btn-container {
  overflow: hidden;
  border-radius: 4px;
}

label {
  width: 50%;
  height: 30px;
  line-height: 50px;
  margin: 0;
  padding: 0;
  overflow: auto;
  font-size: 15px;
}

/* .btn-size {
  width: 30%;
  overflow: auto;
} */

input[type="text"] {
  width: 200px;
  overflow: auto;
}

input[type="text"].roomtitle {
  width: 50%;
  height: 50px;
  font-size: 15px;
  line-height: 50px;
  border-radius: 20px;
  font-size: 40px;
  color: rgb(93, 75, 94);
  text-align: center;
  margin: 4px auto;
  background: rgb(220, 237, 193); 
  flex-wrap: nowrap;
  overflow: auto;
}

.form .btn {
  float: right;
  border-radius: 4px;
  width: 10%;
  height: 8%;
  box-shadow: 0 2px 0 #eee;
  background: #fff;
  cursor: pointer;
}

.form .btn:active {
  margin-top: 5px;
  box-shadow: none;
}

.form .area-drop{
  margin-bottom: 15px;
  width: 100%;
  height: 140px;
  background: #f6f5f4;
  color: #ccc;
  text-align: center;
  line-height: 150px;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 930px) {

  .sample_box8 {
    width: 85%;
    height: 20%;
    line-height: 24%;
    padding: 8%;
    margin: 0 auto;
    margin-left: 5%;
    position: relative;
  }
    
  .b-title {
    width: 55%;
    height: 70%;
    top: 13%;
    left: 22%;
    padding: 0;
  }

  .button1 span {
    width: 14%;
    height: 37%;
    line-height: 11px;
    top: 1%;
    left: 1%;
    position: absolute;
    font-size: 12px;
    text-align: center;
    z-index: 1;
    padding: 0;
    background-color: #e8fe77;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    font-size: 7px;
  }
  
  .button1::before {
    opacity: 0;
  }
  
  .button1::after {
    opacity: 0;
  }
  
  .button1:hover {
    color: #fff;
  }
  
  .button1:hover::after {
    opacity: 0;
  }


  .button2 span {
    width: 14%;
    height: 37%;
    line-height: 18px;
    top: 51%;
    left: 1%;
    position: absolute;
    font-size: 12px;
    text-align: center;
    z-index: 1;
    padding: 0;
    background-color: #e8fe77;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
  }
  
  .button2::before {
    opacity: 0;
  }
  
  .button2::after {
    opacity: 0;
  }
  
  .button2:hover {
    color: #fff;
  }
  
  .button2:hover::after {
    opacity: 0;
  }

  .sp-menu {
    width: 10%;
    height: 50%;
    background: none;
    margin-top: 0;
    left: 85%;
    padding: 5px;
    padding-top: 0;
    cursor: pointer;
    z-index: 1;
  }  
 
  label {
    width: 50%;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    font-size: 10px;
  }

  .form .btn {
    float: right;
    border-radius: 4px;
    width: 20%;
    height: 8%;
    box-shadow: 0 2px 0 #eee;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
  }
  
  .form .btn:active {
    margin-top: 2px;
    box-shadow: none;
  }
  
}