@charset 'UTF-8';
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap");

.p-container__about {
  padding-bottom: 0 !important;
}

.calendar-top {
  padding-bottom: 40px;
}

.top-title {
  font-size: 16px;
  color: #ffffff;
  background-color: #589ed1;
  width: 196px;
  height: 39px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-ber {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.calendar-ber a {
  font-size: 13px;
  font-family: "Outfit", sans-serif;
}

.month-list a:hover,
.this-month {
  color: #589ed1;
  text-decoration: underline;
}

.month {
  display: inline-block;
  padding: 0 12px;
  vertical-align: middle;
  position: relative;
}

.month:not(:last-child)::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background-color: #d4d4d4;
}

.year-month-list {
  font-size: 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
}

#left {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent #d9d9d9 transparent transparent;
  border-width: 6px 10px 6px 0px;
}

#right {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #d9d9d9;
  border-width: 6px 0px 6px 10px;
}

.btn-text.pcview {
  font-size: 13px;
  display: flex;
  gap: 0;
}

.btn-text a {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.btn {
  width: 125px;
  height: 28px;
}

.btn-calendar {
  background-color: #d9d9d9;
  border-radius: 5px 0 0 5px;
}

.btn-list {
  color: #ffffff;
  background-color: #589ed1;
  border-radius: 0 5px 5px 0;
}

tbody th {
  color: #ffffff;
  background-color: #589ed1;
  width: 100px;
  height: 125px;
}

tbody td {
  position: relative;
  vertical-align: middle;
  text-align: left;
  gap: 15px;
  height: 125px;
}

td img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  float: left;
  margin-right: 8px;
  height: auto;
  padding: 3px;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  object-fit: contain;
}

.event-title {
  align-items: flex-start;
}

.event-title-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-title-text span {
  font-size: 14px;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.circle-bbq {
  background-color: #589ed1;
}

.circle-second {
  background-color: #ebca1b;
}

.circle-dance {
  background-color: #ebca1b;
}

.count-day {
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.week-day {
  font-size: 12px;
  font-weight: 500;
}

@media screen and (min-width: 641px) {
  .month-list.spview {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .calendar-top {
    padding-bottom: 30px;
  }

  .calendar-ber {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    flex-direction: column;
    align-items: center;
  }

  .month-list.spview {
    display: flex;
    gap: 7px;
    width: 100%;
  }

  .month-list.spview a {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3px, 1vw, 5px) clamp(5px, 2vw, 13px);
    border-radius: 3px;
    border: 1px solid #d9d9d9;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
  }

  .month-list.spview a:hover {
    color: #ffffff;
    background-color: #589ed1;
  }

  .top-title {
    font-size: 12px;
    width: 142px;
    height: 23px;
  }

  .month-list.pcview {
    display: none;
  }

  .month {
    font-size: 17px !important;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(5px, 1vw, 12px) clamp(8px, 2vw, 16px);
    border-radius: 3px;
    border: 1px solid #d9d9d9;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
  }

  .month:not(:last-child)::after {
    display: none;
  }

  .year-month-list {
    font-size: 24px;
    padding-bottom: 25px;
  }

  .btn-text.pcview {
    display: none;
  }

  tbody tr {
    height: 75px;
  }

  tbody th {
    width: 40px;
    height: 75px;
  }

  .count-day {
    font-size: 24px;
  }

  .week-day {
    font-size: 10px;
  }

  tbody td {
    height: 75px !important;
    padding: 8px 10px;
  }

  .event-title-text span {
    font-size: 13px;
  }
}
