/* common */
@media screen and (max-width: 599px) {
  .btn,
  .btn:link,
  .btn:visited {
    font-size: 1.4rem;
  }
}

/* header */

@media screen and (max-width: 896px) {
  .header {
    padding: 3rem 5.4rem;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.97);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows no transitions at all */
    /* display: none; */

    /* 1. Hide it visually */
    opacity: 0;

    /* 2. Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3. Hide it from screen readers */
    visibility: hidden;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 9.6rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 2rem;
  }

  .main-nav-link.nav-cta:link,
  .main-nav-link.nav-cta:visited {
    font-size: 1.6rem;
  }
}

/* ~896px */

@media screen and (max-width: 695px) {
  .header {
    padding: 2rem 3.2rem;
  }

  .section-top__image h1 {
    top: 25%;
    left: 7%;
  }

  .section-top__image {
    background-image: url(../images/mobilebg.png);
    height: 85svh;
  }
} /* ~695px */

@media screen and (max-width: 599px) {
  .header {
    padding: 1rem 2.8rem;
  }

  .logo {
    height: 2.5rem;
  }
} /* ~599px */

/* section top */

@media screen and (max-width: 896px) {
  .section-top__image h1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 466px) {
  .section-top__image h1 {
    font-size: 2.4rem;
  }
} /* ~466px */

/* section about */

@media screen and (max-width: 896px) {
  .section-about h2 {
    font-size: 2.8rem;
  }

  .section-about__line-message {
    margin: 4rem 0 6rem 0;
    font-size: 2rem;
  }

  .section-about ul {
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
    /* column-gap: 4rem; */
    row-gap: 8rem;
  }

  .section-about img {
    width: 16rem;
  }

  .section-about h3 {
    margin-top: 3rem;
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 599px) {
  .section-about__line-message {
    margin: 3rem 0 5rem 0;
    font-size: 1.8rem;
  }

  .section-about h3 {
    margin-top: 2rem;
    font-size: 1.6rem;
  }

  .section-about ul {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }
}

/* menu */

@media screen and (max-width: 896px) {
  .section-menu h2 {
    font-size: 2rem;
  }

  .section-menu ul {
    grid-template-columns: repeat(2, 1fr);
    margin: 4rem 6%;
    row-gap: 6rem;
  }

  .section-menu__item-title {
    padding: 3rem 0;
  }

  .section-menu__item-description {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 599px) {
  .section-menu__item-title {
    padding: 2rem 0;
  }

  .section-menu__item-title {
    font-size: 1.6rem;
  }

  .section-menu__item-description {
    font-size: 1.4rem;
  }
} /* ~599 */

@media screen and (max-width: 466px) {
  .section-menu ul {
    grid-template-columns: 1fr;
  }
}

/* order */

@media screen and (max-width: 737px) {
  .section-order h2 {
    font-size: 2rem;
  }

  .section-order h3 {
    font-size: 1.6rem;
  }

  .section-order ol {
    width: 80%;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8rem;
  }

  .section-order__item-picture {
    width: 16rem;
  }
}

@media screen and (max-width: 466px) {
  .section-order ol {
    grid-template-columns: 1fr;
  }

  .section-order ul {
    margin: 0 6%;
  }
}

/* voice */

@media screen and (max-width: 896px) {
  .section-voice {
    background-image: url(../images/background_voiceSP.png);
    background-repeat: no-repeat;
  }

  .section-voice-content-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 675px) {
  .section-voice-content-wrapper {
    grid-template-columns: 1fr;
    width: 60%;
  }
}

@media screen and (max-width: 475px) {
  .section-voice-content-wrapper {
    width: 75%;
  }
}

/* footer  */

@media screen and (max-width: 990px) {
  .footer {
    padding: 9.6rem 4.8rem;
  }
}

@media screen and (max-width: 896px) {
  .footer {
    padding: 6.4rem 2.8rem;
  }

  .grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
  }
}

@media screen and (max-width: 750px) {
  .footer {
    padding: 4.8rem 0 2.4rem;
  }

  .grid {
    flex-direction: column;
  }

  .footer-nav {
    align-items: center;
  }
}

/* ************* MENU PAGE ***************** */
/* ************* MENU PAGE ***************** */
/* ************* MENU PAGE ***************** */
/* ************* MENU PAGE ***************** */

/* hero */

@media screen and (max-width: 695px) {
  .menu {
    background-image: url(../images/menu-mobile-bg.png);
    height: 85svh;
  }
}

@media screen and (max-width: 896px) {
  .section__menu h2 {
    font-size: 2.8rem;
  }

  .section__menu-ricebento {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    padding-top: 4rem;
  }

  .ricephoto {
    text-align: center;
  }

  .ricephoto img {
    width: 80%;
  }

  .section__menu h3 {
    padding-right: 0;
  }

  .section__rice-bento ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section__rice-bento li {
    flex-direction: column;
    align-items: center;
    width: 50%;
    justify-content: center;
    margin: 0 auto;
  }
}

/* ************* CONTACT PAGE ***************** */
/* ************* CONTACT PAGE ***************** */
/* ************* CONTACT PAGE ***************** */
/* ************* CONTACT PAGE ***************** */
