@media only screen and (max-width: 768px) {
  #newyearplan {
    height: fit-content;
    padding-bottom: 8rem;
  }
  #newyearplan .flex {
    flex-direction: column;
  }

  html {
    font-size: 52%;
  }

  .head-title h1 {
    font-size: 5rem;
    line-height: 9rem;
  }

  .head-title p {
    font-size: 3rem;
  }
  table {
    /* width: 100%; */
    /* overflow-x: scroll; */
  }
  th,
  td {
    font-size: 1.4rem;
  }

  #event-calendar {
    height: 200rem;
  }

  .meal {
    /* width: max-content; */
    /* justify-self: center; */
  }
  .span2.meal {
    width: 150px;
    justify-self: center;
  }

  .reservation {
    padding: 0.8rem 4rem;
  }
  .reservation::after {
    /* top: 5px; */
  }

  .plan_content {
    /* width: fit-content; */
    width: auto;
    padding: 2rem;
  }

  #newyearplan01.flex,
  #newyearplan02.flex,
  #newyearplan03.flex {
    flex-direction: column;
    align-items: center;
    justify-items: center;
  }
  .newyearplan--img-right {
    display: flex;
    flex-wrap: wrap;
  }

  .newyearplan--img-right img {
    /* width: 90%; */
  }

  #newyearplan .reservation_btn {
    margin: auto;
  }
  #newyearplan a {
  }

  .relaxplan_img img {
    width: 100%;
    height: auto;
  }
  .relaxplan_content-details {
    gap: 1.4rem;
  }

  nav a {
    font-size: 1.8rem;
  }

  .mv img {
    /* width: 80%; */
  }

  .mv.flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mv div:nth-child(3) {
    padding-top: 0;
  }
  .mv div:nth-child(1) img {
    float: right;
  }
  .mv div:nth-child(2) .img {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stayplan-description {
    width: 90%;
    margin: auto;
  }

  .plan,
  #newyearplan,
  #stayplan,
  #event-calendar,
  #relaxplan {
    height: auto;
    padding-bottom: 2rem;
  }

  #relaxplan {
  }
  .relaxplan_content {
    width: 90%;
    margin: auto;
  }

  .footer {
    height: 82rem;
  }

  #newyearplan01 .color01,
  #newyearplan02 .color02,
  #newyearplan03 .color03 {
    flex-direction: row;
    justify-content: center;
  }

  #newyearplan .rounded {
    /* width: 50%; */
  }
  .inline-flex {
    align-items: center;
    justify-content: center;
  }

  .grid-items:first-child {
    font-size: 2rem;
    /* width: 60%; */
  }

  .relaxplan_recommended ul {
    flex-direction: column;
    /* justify-content: space-between; */
    /* align-items: center; */
    gap: 2rem;
  }

  .relaxplan_recommended li img {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  html {
    font-size: 45%;
  }

  th,
  td {
    font-size: 1.4rem;
  }

  p.flex {
    /* flex-direction: column; */
  }

  .plan_time {
    width: 90%;
    margin: auto;
  }
  .head-title h1 {
    font-size: 3.8rem;
    line-height: 5rem;
  }
  .head-title p {
    font-size: 2rem;
  }

  .newyearplan--img-right {
    /* flex-direction: column; */
  }
  nav a {
    font-size: 1.4rem;
  }

  p.grid-items {
    /* font-size: 1.4rem; */
    text-wrap-mode: nowrap;
  }

  .relaxplan_content {
    width: 90%;
    margin: auto;
  }

  .footer {
    height: 82rem;
  }
}
