@charset "utf-8";

/*ヘッダーとフッターのcss読み込み*/
@import url("style.css");

.sp_header {
  opacity: 1;
}

h1 {
  font-size: 30px;
  text-align: center;
  margin: 120px auto 80px;
}

h2 {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

#option {
  margin-top: 120px;
}

h3 {
  font-size: 21px;
  font-weight: 400;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}

main p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.menu {
  margin-bottom: 60px;
}

.note {
  font-size: 14px;
  margin-top: 120px;
}

.note p {
  text-indent: -1em;
  padding-left: 1em;
}

#menu-top-img {
  height: 30vh;
  width: 100%;
  object-fit: cover;
}

#head {
  width: 80vw;
  margin: 120px auto 20px;
}

.flex_img {
  display: flex;
  margin-top: 60px;
  margin-bottom: 120px;
}

#body {
  width: 50vw;
  height: 30vh;
  object-fit: cover;
  margin-left: 5%;
}

#hand {
  width: 40vw;
  height: 20vh;
  object-fit: cover;
  z-index: 1;
  position: relative;
  top: 150px;
  right: 10%;
}

/*メニューと料金の間に点線を引く*/
.item {
  position: relative;
  height: 1.5em;
}

.item::before {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  border-top: 1px dashed #808080;
  margin-top: 0.75em;
}

.name {
  position: absolute;
  background-color: #f6f4ee;
  padding-right: 10px;
}

.price {
  position: absolute;
  right: 0;
  background-color: #f6f4ee;
  padding-left: 10px;
}

/*タイトル文をフェードイン*/
h1 {
  animation: textAnimation 2s forwards;
}

@keyframes textAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*TOP画像を右から表示*/
#menu-top-img {
  transition: 2s;
  clip-path: inset(0 0 0 100%);
  animation: imgAnimation 2s forwards;
}

@keyframes imgAnimation {
  0% {
    clip-path: inset(0 0 0 100%);
  }

  100% {
    clip-path: inset(0);
  }
}

/*スクロールすると画像がフェードイン*/
.content_about,
.content_head,
.content_h2,
.content_option {
  transform: translateY(100px);
  transition: 1.5s;
  opacity: 0;
  visibility: hidden;
}

.is_active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/*以下PC用のcss*/
@media screen and (min-width: 850px) {
  .pc_header {
    display: block;
    opacity: 1;
  }

  .sp_header {
    display: none;
  }

  h1 {
    margin: 200px auto 160px;
  }

  #menu-top-img {
    height: 60vh;
    margin-bottom: 100px;
  }

  .about_p {
    width: 60%;
    margin: 0 auto;
  }

  .content_head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    margin-bottom: 150px;
  }

  .content_head1 {
    flex-basis: 40%;
  }

  .content_head2 {
    flex-basis: 40%;
    position: relative;
    top: 60px;
  }

  #body {
    height: 70vh;
    width: 25vw;
  }

  #hand {
    height: 40vh;
    width: 20vw;
    top: 300px;
  }

  .content_option {
    display: flex;
    align-items: center;
    gap: 5vw;
    margin-top: 50px;
    margin-bottom: 150px;
    margin-left: 2%;
  }

  .content_option2 {
    flex-basis: 40%;
  }

  .note {
    width: 53%;
  }

}