@charset "utf-8";

/*-----------------
front-page
-----------------*/
.mainvisual {
  position: relative;
  top: 5rem;
  width: 100%;
  height: 100vh;
  filter: brightness(0.8);
  margin-bottom: 5rem;
  & img {
    vertical-align: bottom;
    width: 70%;
    height: 80vh;
    object-fit: cover;
    object-position: 50% 100%;
  }
  .text {
    position: absolute;
    padding-right: 1rem;
    top: 40%;
    right: 0;
    text-align: left;
  }
  .logo {
    margin-bottom: var(--space-s);
    font-size: 5rem;
    text-align: left;
    line-height: 3rem;
    font-family: "Inknut Antiqua";
  }
}
/* main ----------------------------*/
/* section about---------*/
#about {
  background-color: #560d0f;
  padding: var(--space-s);
  .container {
    display: flex;
    justify-content: space-between;
    height: 12rem;
  }
  .item {
    width: 40%;
  }
  .pasta {
    margin-top: -10rem;
  }
  & img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
  }
  .text {
    padding: var(--space-s) 0 var(--space-s) var(--space-s);
    justify-items: end;
    & p {
      width: 50%;
    }
  }
}
/* section menu----------*/
#menu {
  .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .item {
    width: 43%;
    margin-bottom: 3rem;
    transition: 0.2s;
  }
  .menu-title {
    text-align: center;
    font-size: clamp(2rem, 1.792rem + 0.83vw, 2.5rem);
  }
  .item a {
    display: inline-block;
    padding: 4rem;
  }
  .item:hover a {
    color: var(--character-color-wh);
    scale: 1.2;
  }
  .item:hover {
    outline: 5px solid var(--character-color-wh);
  }
  & li:first-child {
    background-image: url(../img/pizza-img.jpg);
  }
  & li:nth-child(2) {
    background-image: url(../img/pasta-img.webp);
  }
  & li:nth-child(3) {
    background-image: url(../img/other-img.jpg);
  }
  & li:nth-child(4) {
    background-image: url(../img/dessert-img.jpg);
    background-position: center center;
    & a {
      color: #333;
      transition: 0.5s;
    }
  }
  & li:nth-child(5) {
    background-image: url(../img/drink-img.jpg);
  }
  & li:nth-child(6) {
    background-image: url(../img/curse-img.jpg);
    background-position: center center;
    & a {
      color: var(--character-color-bl);
      transition: 0.5s;
    }
  }
}
/* section reservation------*/
#reservation {
  background-image: url(../img/reservation-bg.webp);
  text-align: center;
  .container {
    padding: 5rem clamp(0.5rem, 0.038rem + 2.31vw, 2rem);
    backdrop-filter: brightness(0.5);
  }
  .tel {
    display: flex;
    width: fit-content;
    margin: var(--space-s) auto;
    justify-content: center;
    padding: 0.5rem 1rem;
    gap: 1rem;
    border: 3px solid var(--character-color-wh);
    & img {
      width: 2rem;
      color: var(--character-color-wh);
    }
    & p {
      font-size: var(--title-h1);
    }
  }
  & dt {
    margin-bottom: var(--space-xxs);
  }
  & dd {
    margin-bottom: var(--space-xs);
  }
}
/* section access-----*/
#access {
  .map {
    width: 100%;
    margin-bottom: 1rem;
    & img {
      width: 100%;
      filter: grayscale(1);
    }
  }
  .address {
    text-align: center;
    & dt {
      margin-bottom: var(--space-xxs);
    }
    & dd {
      margin-bottom: var(--space-xs);
    }
  }
}

/*-------------------
about.html 
--------------------*/
#page-about {
  .items {
    margin-bottom: var(--space-l);
  }
  & img {
    width: 48%;
    height: clamp(15rem, 10.385rem + 23.08vw, 30rem);
    object-fit: cover;
    object-position: center bottom;
  }
  .text {
    margin-bottom: var(--space-s);
  }
  .image {
    display: flex;
    justify-content: space-between;
  }
}
/*----------------------
menu.html
--------------------- */
.menu-container {
  padding: var(--space-s);
  & section {
    max-width: 900px;
    margin: 0 auto;
  }
  & dl:not(.course) {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    line-height: 2;
    & dt {
      width: 50%;
      border-bottom: 1px dotted #fff;
    }
    & dd {
      width: 50%;
      text-align: right;
      border-bottom: 1px dotted #fff;
    }
  }
  .course {
    & dl {
      display: flex;
      justify-content: space-between;
    }
    & dt {
      width: 80%;
    }
    & dd {
      width: 20%;
      text-align: right;
    }
    & ul {
      padding: 1rem 0;
      margin-bottom: 2rem;
      border-bottom: 2px dotted #fff;
      text-align: center;
    }
  }
}
/*--------------------
recruit.html
------------------- */
.recruit-container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xxs);
  .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: var(--space-s) 0;
    & img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      object-position: 50% 60%;
    }
  }
  .section-title {
    font-size: var(--title-h2);
    margin-bottom: var(--space-xxs);
  }
  .item {
    margin-bottom: var(--space-s);
  }
  & ul {
    margin-bottom: 1rem;
  }
  & dl {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
  }
  & dt {
    width: 25%;
  }
  & dd {
    width: 75%;
  }
  & hr {
    margin-bottom: var(--space-s);
  }
  .contact {
    & p {
      font-size: clamp(1.3rem, 1.085rem + 1.08vw, 2rem);
      margin-bottom: 1rem;
    }
  }
}
