@media (max-width: 540px) {
  /* header */
  #header .reservation-open--toolbar {
    display: none;
  }

  #header .reservation-open--menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #header.menu-open .gnb {
    max-height: min(85vh, 520px);
  }

  #header .gnb ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 20px 36px;
  }

  #header .gnb .gnb-reservation {
    margin-top: 40px;
  }

  .reservation-float {
    display: flex;
  }

  /* main-page */
  .about-text {
    max-width: 100% !important;
  }

  .about-video {
    margin-top: 40px;
    max-width: 100%;
  }

  .menu-track {
    margin-top: 20px;
  }

  .sub-nav-list {
    gap: 40px;
  }
  .review {
    min-height: 450px;
  }
  .review-inner .heading-1 {
    margin-bottom: 20px;
  }

  .review-inner {
    margin-top: 0px !important;
  }

  /* sub-page */

  .menu-preview__toolbar {
    flex-direction: column;
    gap: 0px;
  }

  /* popup */
  .reservation-card img {
    height: auto !important;
  }
}

@media (max-width: 620px) {
  /* main-page */
  .banner-txt {
    padding: 0 20px;
  }
  .about-text {
    max-width: 100%;
    padding-top: 0;
  }

  /* sub-page */
  .our-story img {
    height: 60px;
    width: 60px;
  }
  .our-story {
    flex-direction: column;
    gap: 30px !important;
    margin-bottom: 60px;
  }
  .story-feeling img {
    height: 281px !important;
  }

  .story-feeling .craftsmanship {
    padding-top: 380px;
  }
  .story-feeling .craftsmanship h1 {
    bottom: 210px;
    left: 100px;
  }

  .branches-shot img {
    min-width: 100%;
  }

  .branch-detail__cell {
    grid-template-columns: minmax(0, 100px) minmax(0, 1fr) !important;
  }

  /* footer */
  .footer-cta-btn {
    margin-top: 0;
  }

  .footer-cta-inner {
    margin: 40px auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .branch-detail__row {
    grid-template-columns: 1fr;
  }

  .branch-detail__cell {
    grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: clamp(16px, 3vw, 36px);
  }

  .branch-detail__row:nth-child(2) .branch-detail__cell:last-child {
    border-bottom: none;
  }

  .branch-detail__row--top {
    border-bottom: none;
    padding-bottom: clamp(16px, 3vw, 36px);
    margin-bottom: 0px;
  }
}

@media (max-width: 768px) {
  /* main-page */
  .tip__bg {
    inset: -8%;
  }
  .tip__text {
    perspective: none;
  }

  .tip__text .tip-line {
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  /* sub-page */
  .our-story {
    gap: 60px;
    margin-bottom: 80px;
  }
  .story-feeling img {
    height: 350px;
  }

  .story-feeling .craftsmanship h1 {
    bottom: 210px;
  }
  .story-feeling .freshess h1 {
    top: 40px;
    left: -80px;
  }

  /* popup */
  .reservation-card img {
    height: 210px;
  }

  .reservation-popup {
    padding: 14px;
  }

  .reservation-popup__close {
    top: -2px;
    right: -2px;
  }

  .reservation-popup__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  /* main-page */
  .sub-nav-btn {
    margin-top: 20px;
  }

  .sub-nav-list {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-text {
    max-width: 75%;
    padding-top: 0;
  }
  .about-video-wrap {
    justify-self: center;
  }

  .about-video {
    max-width: 440px;
  }

  .about-desc {
    padding: 30px 0 60px;
  }

  .menu-row {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }

  .menu-marquee {
    width: 100%;
  }

  .menu-track-group img {
    width: 270px;
    height: 216px;
  }

  .sub-nav-list .body-text-3 {
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
  }

  /* sub-page */
  .branches-shot {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .menu-discover__grid {
    grid-template-columns: 1fr;
  }

  .menu-preview__toolbar {
    align-items: stretch;
  }

  .menu-preview__title {
    flex: 1 1 50px;
  }

  .menu-preview__actions .btn {
    /* flex: 1 1 auto; */
    /* justify-content: center;
    text-align: center; */
    display: none;
  }
  .menu-preview__toolbar {
    padding-bottom: 0px;
    border-bottom: none;
  }
  /* footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .footer-grid > :nth-child(1) {
    order: 1;
  }

  .footer-grid > :nth-child(2) {
    order: 3;
  }

  .footer-grid > :nth-child(3) {
    order: 2;
  }

  .footer-branch {
    max-width: none;
  }

  .footer-branch:last-child {
    justify-self: auto;
  }

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

  .footer-sns {
    justify-content: center;
  }
}

@media (max-width: 1020px) {
  .branches-shot img {
    min-width: 60%;
  }
}
