

@media screen and (max-width: 520px){

  .photo img{
    max-width: 170px;
    width: 100%;
    margin-top: 10px;
  }
  
  *{
    margin: 0;
  }
  
  .logo img{
    width: 200px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .logo{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .reservation{
    background-color: rgb(255, 116, 139);
    height: 35px;
    margin-top: -45px;
  }
  
  .reservation p{
    color: white;
    padding-top: 5px;
    padding-left: 20px;
  }

  .mainbox fieldset{
    margin: 0;
  }
  
  .sequence{
    content: "";
    height: 1.5px;
    background-color: #ddd;
    max-width: 400px;
    margin: 55px auto 60px auto;
    width: 50%;
  }
  
  .border{
    color: rgb(255, 116, 139);
    display: flex;
    position: relative;
    font-weight: bold;
  }
  
  .content1{
    content: "";
    height: 25px;
    width: 25px;
    background-color: rgb(255, 116, 139);
    border-radius: 50%;
    margin-top: -12px;
  }
  
  .content2{
    content: "";
    height: 25px;
    width: 25px;
    background-color: #ddd;
    border-radius: 50%;
    margin-top: -12px;
  }
  
  .box2{
    position: absolute;
    right: -70px;
  }
  
  .box1 p{
  position: absolute;
  left: -31px;
  }
  
  .number1{
    color: white;
    position: absolute;
    top: -10.5px;
    left: 38px;
  }
  
  .box2{
    position: absolute;
    right: 0px;
  }
  
  .box2 p{
    position: absolute;
    left: -30.5px;
  }
  
  .yet p{
    color: #ddd;
  }
  
  .number2{
    position: absolute;
    top: -11px;
    right: -12.5px;
    color: white;
  }
  
  #pc{
    display: none;
  }
  
  .pc{
    display: none;
  }
  
  .btn{
    position: relative;
    cursor: pointer;
      width: 50px;
      height: 50px;
    border-radius: 5px;
    top: -45px;
    left: 3%;
    z-index: 200;
  }
  
  .btn span{
    display: inline-block;
    transition: all .6s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 5px;
  background: #000;
    width: 50%;
  }
  
  .btn span:nth-of-type(1) {
  top: 9px; 
  }
  
  .btn span:nth-of-type(2) {
  top: 19px;
  }
  
  .btn span:nth-of-type(3) {
  top: 29px;
  }
  
  .btn.active span:nth-of-type(1) {
    top:13px;
    left: 15px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
  }
  
  .btn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .btn.active span:nth-of-type(3){
    top: 25px;
    left: 15px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
  }
  
  #menu{
    width: 60%;
    height: 100%;
    margin-top: 62.5px;
    z-index: 1;
    position: fixed;
    top: 0;
    left: -60%;
    background-color: #515151;
    transition: all .4s;
  }
  
  #menu ul li{
    list-style: none;
    border-bottom: solid 1px white;
    margin-left: -40px;
    padding: 10px;
  }
  
  #menu ul li a{
    width: 100%;
    text-decoration: none;
    color: white;
    font-size: 1rem;
  }
  
  #menu li:hover{
    background-color: #aaa;
    width: 100%;
    transition: .6s;
    
  }
  
  #menu.active{
    left: 0;
  }
  
  .opacity.active{
    left: 60%;
  }
  
    
  .btn2{
    position: relative;
  }
  .btn2 img{
    width: 29px;
    position: absolute;
    right: 40px;
    top: -60px;
  }

}


@media screen and (min-width: 520px) and (max-width: 869px){
  
  *{
    margin: 0;
  }
  
  .logo img{
    width: 200px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .logo{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .reservation{
    background-color: rgb(255, 116, 139);
    height: 35px;
    margin-top: -45px;
  }
  
  .reservation p{
    color: white;
    padding-top: 5px;
    padding-left: 20px;
  }
  
  .second-form{
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
  }
  
  .sequence{
    content: "";
    height: 1.5px;
    background-color: #ddd;
    max-width: 400px;
    margin: 55px auto 60px auto;
    width: 50%;
  }
  
  .border{
    color: rgb(255, 116, 139);
    display: flex;
    position: relative;
    font-weight: bold;
  }
  
  .content1{
    content: "";
    height: 25px;
    width: 25px;
    background-color: rgb(255, 116, 139);
    border-radius: 50%;
    margin-top: -12px;
  }
  
  .content2{
    content: "";
    height: 25px;
    width: 25px;
    background-color: #ddd;
    border-radius: 50%;
    margin-top: -12px;
  }
  
  .box2{
    position: absolute;
    right: -70px;
  }
  
  .box1 p{
  position: absolute;
  left: -31px;
  }
  
  .number1{
    color: white;
    position: absolute;
    top: -10.5px;
    left: 38px;
  }
  
  .box2{
    position: absolute;
    right: 0px;
  }
  
  .box2 p{
    position: absolute;
    left: -30.5px;
  }
  
  .yet p{
    color: #ddd;
  }
  
  .number2{
    position: absolute;
    top: -11px;
    right: -12.5px;
    color: white;
  }

  .demo-p{
    margin-bottom: 20px;
  }
  
  #pc{
    display: none;
  }
  
  .pc{
    display: none;
  }
  
  .btn{
    position: relative;
    cursor: pointer;
      width: 50px;
      height: 50px;
    border-radius: 5px;
    top: -45px;
    left: 3%;
    z-index: 200;
  }
  
  .btn span{
    display: inline-block;
    transition: all .6s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 5px;
  background: #000;
    width: 50%;
  }
  
  .btn span:nth-of-type(1) {
  top: 9px; 
  }
  
  .btn span:nth-of-type(2) {
  top: 19px;
  }
  
  .btn span:nth-of-type(3) {
  top: 29px;
  }
  
  .btn.active span:nth-of-type(1) {
    top:13px;
    left: 15px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
  }
  
  .btn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .btn.active span:nth-of-type(3){
    top: 25px;
    left: 15px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
  }
  
  #menu{
    width: 60%;
    height: 100%;
    margin-top: 62.5px;
    z-index: 1;
    position: fixed;
    top: 0;
    left: -60%;
    background-color: #515151;
    transition: all .4s;
  }
  
  #menu ul li{
    list-style: none;
    border-bottom: solid 1px white;
    margin-left: -40px;
    padding: 10px;
  }
  
  #menu ul li a{
    width: 100%;
    text-decoration: none;
    color: white;
    font-size: 1rem;
  }
  
  #menu li:hover{
    background-color: #aaa;
    width: 100%;
    transition: .6s;
    
  }
  
  #menu.active{
    left: 0;
  }
  
  .opacity.active{
    left: 60%;
  }

  .btn2{
    position: relative;
  }
  .btn2 img{
    width: 29px;
    position: absolute;
    right: 40px;
    top: -60px;
  }
  
}


@media screen and (min-width: 869px){
  *{
    margin: 0;
  }

  .second-form{
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
  }
  
  
  .logo img{
    width: 300px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  header{
    height: 120px;
  }
  
  .logo{
    margin-left: 4%;
  }
  
  .reservation{
    background-color: rgb(255, 116, 139);
    height: 35px;
    margin-top: -45px;
  }
  
  .reservation p{
    color: white;
    padding-top: 5px;
    padding-left: 20px;
  }
  
.sequence{
  content: "";
  height: 1.5px;
  background-color: #ddd;
  max-width: 400px;
  margin: 55px auto 60px auto;
  width: 50%;
}

.border{
  color: rgb(255, 116, 139);
  display: flex;
  position: relative;
  font-weight: bold;
}

.content1{
  content: "";
  height: 25px;
  width: 25px;
  background-color: rgb(255, 116, 139);
  border-radius: 50%;
  margin-top: -12px;
}

.content2{
  content: "";
  height: 25px;
  width: 25px;
  background-color: #ddd;
  border-radius: 50%;
  margin-top: -12px;
}

.box2{
  position: absolute;
  right: -70px;
}

.box1 p{
position: absolute;
left: -31px;
}

.number1{
  color: white;
  position: absolute;
  top: -10.5px;
  left: 38px;
}

.box2{
  position: absolute;
  right: 0px;
}

.box2 p{
  position: absolute;
  left: -30.5px;
}

.yet p{
  color: #ddd;
}

.number2{
  position: absolute;
  top: -11px;
  right: -12.5px;
  color: white;
}


  .btn{
    position: relative;
    cursor: pointer;
      width: 50px;
      height: 50px;
    border-radius: 5px;
    top: -50px;
    left: 3%;
    z-index: 200;
    display: none;
  }

  #pc ul{
    list-style: none;
    display: flex;
  }

  #pc{
    margin-right: 5%;
    margin-top: 17px;
  }

  #pc li{
    padding: 10px;
    border-right: solid 3px black;
    border-radius: 2px;
  }

  .demo-p{
    margin-bottom: 20px;
  }

  #pc li:nth-of-type(2){
    border-right: none;
  }

  #pc a{
    text-decoration: none;
    color: black;
  }

  .h-f{
    display: flex;
    justify-content: space-between;
  }

  #pc
  
  .btn span{
    display: inline-block;
    transition: all .6s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 5px;
  background: #000;
    width: 50%;
  }
  
  .btn span:nth-of-type(1) {
  top: 9px; 
  }
  
  .btn span:nth-of-type(2) {
  top: 19px;
  }
  
  .btn span:nth-of-type(3) {
  top: 29px;
  }
  
  .btn.active span:nth-of-type(1) {
    top:13px;
    left: 15px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
  }
  
  .btn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .btn.active span:nth-of-type(3){
    top: 25px;
    left: 15px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
  }
  
  #menu{
    width: 60%;
    height: 100%;
    margin-top: 62.5px;
    z-index: 1;
    position: fixed;
    top: 0;
    left: -60%;
    background-color: #515151;
    transition: .4s;
    display: none;
  }
  
  #menu ul li{
    list-style: none;
    border-bottom: solid 1px white;
    margin-left: -40px;
    padding: 10px;
  }
  
  #menu ul li a{
    width: 100%;
    text-decoration: none;
    color: white;
    font-size: 1rem;
  }
  
  #menu li:hover{
    background-color: #aaa;
    width: 100%;
    transition: .6s;
    
  }
  
  #menu.active{
    left: 0;
  }
  
  .opacity.active{
    left: 60%;
  }
  
    
.btn2{
  position: relative;
}
.btn2 img{
  width: 29px;
  position: absolute;
  right: 40px;
  top: -60px;
}

}