@charset "urf-8";

/* リセットCSS */

*,
::before,
::after {
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    list-style: none;
    font-size: 20px;
    color: #000;
    letter-spacing: 0.2em;
    line-height: 2.5em;
    font-family: "Shippori Mincho";
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #FFFEFC;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
  width: min(1500px , 90%);
  margin: 260px auto 0px;
}

.pagetitle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pagetitle h1 {
  font-size: 28px;
  border-bottom: 2px solid #000;
  width: fit-content;
  line-height: 1;
  letter-spacing: 0;
}

.pagetitle span {
  font-size: 14px;
  font-family: inter;
  letter-spacing: 0.2;
  line-height: 1;
}

.reservation-image {
  width: min(600px , 40%);
  height: 300px;
  margin:50px auto 25px;
  background-image: url(../img/reservation/reservation3.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

.lead {
  width: 60%;
  text-align: center;
  margin: 30px auto 0;
  font-size: 16px;
  padding-top: 15px;
  line-height: 1.8;
  letter-spacing: 0.1;
}

.lead p {
  display: inline;
}

.choice {
  margin: 0 auto;
  width: 65%;
}

.hotpepper,
.line {
  display: flex;
  margin: 50px auto 0;
  padding:20px 25px 20px 20px;
  background-color:#fff;
  font-size: 16px;
  line-height: 1;
  justify-content: space-between;
  align-items:center;
  position: relative;
  border: 1px #000 solid;
  box-shadow: 12px 12px #E9E4DE;
  z-index: 10;
}

dl {
width: 70%;
}

.hotpepper dt,
.line dt {
  font-size: 14px;
  line-height: 1;
  font-family: sans-serif;
  letter-spacing: 0.1;
  border-bottom: 1px #000 solid;
  width: fit-content;
}

.hotpepper dd,
.line dd {
  font-size: 16px;
  line-height: 2;
  padding: 15px 20px 15px 40px;
  text-align: start;
}

.scrollbar_02 {
  position: absolute;
  left:-150px ;
  top: 25px;
  transform: rotate(-90deg);
}

.scrollbar_02::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 135px;
  background: #000;
  /* transform: rotate(90deg); */
  animation: liner 4s cubic-bezier(1, 0, 0, 1) infinite;
}

.scrollbar_02::after {
  display: none;
}

.ellipse1,
.ellipse2 {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

.ellipse2 {
  transition-delay: 0.5s;
}

@keyframes floating-x {
    0% {
        transform: translateX(-5%);
    }

    100% {
        transform: translateX(5%);
    }
}

@keyframes floating-y {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}

@keyframes liner {
  0% {
      transform: scale(1, 0);
      transform-origin: 0 0;
  }

  30% {
      transform: scale(1, 1);
      transform-origin: 0 0;
  }

  70% {
      transform: scale(1, 1);
      transform-origin: 0 100%;
  }

  100% {
      transform: scale(1, 0);
      transform-origin: 0 100%;
  }
}

.scrollbar_05 {
  display: none;
}

.banner {
  width: 150px;
  position: relative;
}

.ellipse1 {
  width: 90px;
  position: absolute;
  top: 300px;
  left: 50px;
  z-index: -1;
  transition-delay: 1.4s;
}

.ellipse2 {
  width: 140px;
  position: absolute;
  top: 200px;
  left: 100px;
  z-index: -1;
  transition-delay: 1s;
}

.reserve-bottom {
  margin: 200px auto 180px;
  display: flex;
  width: 70%;
  align-items: center;
}

.photo {
  flex: 1;
  transition-delay:1s ;
}

.photo img {
  width: 90%;
}

.reservation-note {
  font-size: 16px;
  line-height: 2;
  flex:1;
  text-align: center;
}

@media (width < 840px) {

  main {
    margin-top: 200px;
  }

.pagetitle h1 {
    font-size: 22px;
  }

  .reservation-image {
    width: 100%;
  }

  .lead {
    width: 95%;
    text-align: center;
    margin-top: 20px;
  }

  .lead .nashi {
    display: none;
  }

  .lead p {
    display: inline-block;
  }
  
  .choice {
    width: 95%;
  }
  
  .hotpepper,
  .line {
    flex-direction: column;
    font-size: 16px;
    line-height: 1.6;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
  }
  
  dl {
  width: 100%;
  margin-top: 10px;
  }
  
  .hotpepper dd,
  .line dd {
    font-size: 16px;
    line-height: 1.8;
    padding: 10px 0 55px 3%;
  }

  .scrollbar_02 {
    display: none;
  }

  .scrollbar_05 {
    margin: 0 auto;
    display: block;
}

.scrollbar_05:before {
  content: '';
  width: 15px;
  height: 15px;
  border: 0;
  border-bottom: solid 1.5px #333;
  border-right: solid 1.5px #333;
  transform: rotate(45deg);
  position: absolute;
  top: -130px;
  left: 70px;
  bottom: 0;
  margin: auto;
}
  
  .banner {
    position: relative;
    width: 160px;
    margin:  0 auto;
  }
  
  .ellipse1 {
    width: 110px;
    position: absolute;
    top: 800px;
    left: 200px;
    z-index: -1;
    transition-delay: 1.4s;
  }
  
  .ellipse2 {
    width: 60px;
    position: absolute;
    top: 1100px;
    left: 30px;
    z-index: -1;
  }
  
  .reserve-bottom {
    margin: 100px auto 180px;
    flex-direction: column;
    width: 90%;
  }

  .reservation-note .nashi {
    display: none;
  }
  
  .photo {
    text-align: center;
    margin-bottom: 45px;
  }
  
  .photo img {
    width: 85%;
  }
  
  .reservation-note {
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    flex:1;
    text-align: start;
  }

}