@charset "utf-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  vertical-align: bottom;
}
html {
  font-family: "Noto Serif JP", serif;
  scroll-behavior: smooth;
}
/****************** ナビゲーション ******************/
h1 {
  margin-top: -30px;
  width: 250px;
}
.rogo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px 0 15px 30px;
  width: 157px;
}
.rogo img {
  width: 100%;
  height: auto;
}
.fix_menu {
  position: fixed;
  width: 100%;
  max-width: 1200px;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 999;
  padding: 30px 0;
}
#navwrap {
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 30px 15px 0;
}
.header_menu {
  display: flex;
  font-weight: bold;
}
.header_menu li a {
  position: relative;
}
.header_menu li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #565656;
  bottom: 4px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.header_menu li a:hover::after {
  visibility: visible;
  bottom: -4px;
  opacity: 1;
}

ul,
li {
  list-style: none;
  margin: 0;
}
.header_menu li a {
  cursor: pointer;
  padding: 0 10px;
  text-decoration: none;
  color: #333;
}
#switch {
  display: none;
}
@media screen and (max-width: 768px) {
  #switch ~ label {
    padding: 12px 12px;
    width: 60px;
    height: 60px;
    background: #333;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    right: 0;
    z-index: 999;
    cursor: pointer;
  }
  #switch ~ label span {
    display: block;
    width: 22px;
    height: 2px;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    position: absolute;
    -webkit-transition: 0.2s transform;
    transition: 0.2s transform;
  }
  #switch ~ label span:before,
  #switch ~ label span:after {
    content: "";
    display: block;
    background: #fff;
    position: absolute;
    width: 22px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
  }
  #switch ~ label span:before {
    top: -9px;
  }
  #switch ~ label span:after {
    top: 9px;
  }
  #navwrap {
    padding-top: 0;
    position: fixed;
    top: -100%;
    left: 0;
    width: calc(100% - 60px);
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.4s;
    padding: 60px;
    box-sizing: border-box;
  }
  #switch:checked ~ #navwrap {
    display: block;
    top: 0;
  }
  .header_menu {
    display: flex;
    flex-direction: column;
  }
  .header_menu li {
    margin: 0 auto 30px;
  }
  .header_menu li a {
    color: #fff;
  }
  .scroll-prevent {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
  }
}
/************* menu **************/
.p_container {
  margin-top: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 70vh;
  position: relative;
}
.p_container h2 {
  color: #fff;
  font-size: 1.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu_item img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: #000 8px solid;
}
main {
  background-color: antiquewhite;
}

.wrap {
  background-color: rgba(178, 34, 34, 0.949);
  width: 90%;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .menu_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 70%;
    margin: 0 auto;
    gap: 20px;
  }
  .p_container {
    background-attachment: fixed;
  }
  main {
    background-image: url(../img/abstract-memphis-background-with-geometric-shapes_1393-312.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
}
/************* ホバー *************/
.menu_item {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;

  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
  display: block;
  margin: 0 auto;
}
.menu_item .caption {
  font-size: 130%;
  color: #fff;
  padding-top: 120px;
  padding-left: 80px;
}
.menu_item .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -100%; /* 枠の上に置いて表示させない */
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.menu_item:hover .mask {
  top: 0; /* 下に降りてくるように見せる */
}
/************* プライスリスト *************/
.price_list {
  width: 80%;
  margin: 0 auto;
}
.price_box {
  background-color: #ffffffda;
  padding: 20px;
  border-radius: 10px;
}
.price_item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: left;
  border-bottom: solid 2px firebrick;
  font-size: 1.5em;
}
.price_item dd {
  text-align: right;
}
@media screen and (min-width: 768px) {
  .price_box {
    display: flex;
    gap: 30px;
    width: 90%;
    margin: 0 auto;
  }
}
/************* oden_container **************/
.oden_container {
  background-image: url(../img/img_menu/hero.jpg);
  background-position: center bottom;
}

/************* food_container **************/
.food_container {
  background-image: url(../img/img_menu/3591915_s.jpg);
}
/************* drink_container **************/
.drink_container {
  background-image: url(../img/28116016_s.jpg);
  background-position: center center;
}
.drink h3 {
  font-size: 2em;
}

/****************** footer ******************/

footer {
  padding-top: 50px;
  background-color: #000;
}
footer p {
  text-align: center;
  color: #fff;
}
