@charset "utf-8";

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (min-width: 1181px) {
  /*　画面サイズが1024pxからはここを読み込む　*/
}

@media screen and (min-width: 821px) and (max-width: 1180px) {
  .page-inner {
    width: 100%;
  }
}

@media screen and (min-width: 270px) and (max-width: 820px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  select,
  textarea,
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="tel"],
  input[type="range"],
  input[type="date"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="color"],
  textarea {
    padding: 10px;
    background: #fff;
    width: 100%;
  }

  .drawer--top.drawer-open .drawer-nav {
    top: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .drawer--left.drawer-open .drawer-nav,
  .drawer--left .drawer-hamburger,
  .drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
    left: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .drawer--right.drawer-open .drawer-nav,
  .drawer--right .drawer-hamburger,
  .drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
  }

  .page-inner {
    width: 100%;
    padding: 0 1rem;
  }

  #sp-navigation-area {
    background-color: #f8f8f8;
    height: 50px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-top: 20px;
  }

  .naviContent {
    -webkit-user-select: none;
    display: block;
    height: 45px;
    overflow-y: hidden;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
  }

  .naviContent ul {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0;
  }

  .naviContent ul li {
    display: inline-block;
    line-height: 40px;
    height: 40px;
    margin: 0;
    text-align: center;
    background-color: #f8f8f8;
    font-size: 14px;
    position: relative;
  }

  .naviContent ul li.current:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f0980e;
  }

  .naviContent ul li a {
    border-right: 1px solid #ccc;
    font-size: 1em;
    padding: 0px 16px;
    display: inline-block;
    color: #888;
  }

  .front-news-box,
  .front-schedule-box {
    gap: 1rem;
    padding: 1rem;
    flex-direction: column;
  }

  .front-news-txt li time,
  .a-box li time,
  .front-news-txt li h3,
  .a-box li h3,
  .front-news-txt,
  .front-schedule-txt,
  .front-news-title,
  .front-schedule-title {
    width: 100%;
  }

  .front-news-txt li,
  .a-box li {
    gap: 10px;
    flex-direction: column;
  }

  .front-news-txt h3 a,
  .a-box h3 a {
    padding-right: 1rem;
  }

  .front-news-title span {
    font-size: 35px;
    letter-spacing: 2px;
  }

  .front-menu ul {
    gap: 0.5rem;
  }
  .front-menu .page-inner {
    padding: 0 0.5rem;
  }

  .front-menu li {
    width: 100%;
  }

  .calendarData {
    font-size: 1.2rem !important;
  }
  .front-menu li a {
    border-radius: 20px;
    padding: 10px 10px;
    font-size: 70%;
  }

  .a-box,
  .post {
    padding: 1rem;
    margin-top: 1rem;
  }

  .post-header h1 {
    font-size: 1.3rem;
  }

  .calendar-area ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .front-schedule-txt .calendar-area li {
    width: calc(100% / 2 - 0.5rem);
    background: #f6f6f6;
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  .top-schedule-list li,
  .dr-sc li {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .top-schedule-list li strong,
  .dr-sc li strong {
    width: 100%;
    text-align: center;
  }

  .front-news-title span,
  .front-schedule-title h2 span {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .front-schedule-txt .calendar-area ul + p {
    font-size: 80%;
  }

  .tab-box {
    width: 100%;
    padding: 1rem;
  }

  .panel div {
    gap: 1rem;
    flex-direction: column;
  }

  .panel div label {
    width: 100%;
    text-align: center;
  }

  .panel div input {
    width: 100%;
  }

  #booking-package-memberActionPanel .login,
  #booking-package-memberActionPanel .logout,
  #booking-package-memberActionPanel .register,
  #booking-package-memberActionPanel .edit {
    margin: 0 5px 10px !important;
    padding: 5px 10px;
  }
  #booking-package-memberActionPanel .return_button {
    margin-left: auto;
  }
  .top-schedule-box {
    width: 100%;
    margin-top: 1rem;
  }
  .calendar-area li p + p {
    font-size: 90%;
  }
  .calendar-area li {
    width: 100%;
    text-align: center;
  }
  .calendar-area h2,
  .dr-sc h2 {
    text-align: center;
  }
  .top-schedule-list h2 {
    text-align: center;
  }
  #booking-package_calendarPage .symbolPanel {
    height: 20px;
  }
  .front-yoyaku-about-box {
    padding: 0 1rem;
  }
  .sata-txt ul {
    flex-direction: column;
  }
  .sata-txt ul li {
    width: 100%;
  }
}
