@charset "utf-8";

.g-wrap .event_tab_area,
.g-wrap .calendar-header,
.g-wrap .calendar_category,
.g-wrap .calendar-body td span.event a {
  font-weight: 700;
}

.g-wrap .calendar-body td span.day {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
}

/*======================================================================
 * event_カレンダー
======================================================================*/
.g-wrap .l-calendar {
  background: #fff;
  margin: 0 auto;
  max-width: 100%;
}

.g-wrap .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 50px;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 768px) {
  .g-wrap .calendar-header {
    margin: 0 auto 22px;
    font-size: 15px;
  }
}

.g-wrap .calendar-header .switch-button a {
  display: block;
  width: 1em;
  height: 1em;
  background-size: auto 81.25%;
  background-position: center;
  background-repeat: no-repeat;
}

.g-wrap .calendar-header .switch-button.-prev a {
  background-image: url(../images/event/arrow_navy_left.svg);
}

.g-wrap .calendar-header .switch-button.-next a {
  background-image: url(../images/event/arrow_navy_right.svg);
}

.g-wrap .calendar-header .switch-button.-hidden {
  display: none;
}

.g-wrap .calendar-header .year-month {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0 60px;
}

@media (max-width: 768px) {
  .g-wrap .calendar-header .year-month {
    margin: 0 45px;
  }
}


.g-wrap .calendar-body {
  border: 1px solid #B2C6D4;
  background: #FBFBFB;
  border-radius: 40px;
  padding: 50px 0;
}

@media (max-width: 768px) {
  .g-wrap .calendar-body {
    border-radius: 20px;
    padding: 28px 0;
  }
}

.g-wrap .calendar-body table {
  width: 100%;
  max-width: 924px;
  margin: 0 auto;
}

.g-wrap .calendar-body th,
.g-wrap .calendar-body td {
  width: calc(100% / 7);
}

.g-wrap .calendar-body th {
  padding: 18px 0 40px;
  font-size: 22px;
  text-align: center;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .g-wrap .calendar-body th {
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px solid #B2C6D4;
  }
}

.g-wrap .calendar-body th:not(:last-child) {
  border-right: 1px solid #B2C6D4;
}


.g-wrap .calendar-body th:nth-child(6) {
  background: rgba(0, 110, 187, 0.1);
}

.g-wrap .calendar-body th:nth-child(7) {
  background: rgba(255, 0, 0, 0.1);
}

.g-wrap .calendar-body td {
  position: relative;
  border-right: 1px solid #B2C6D4;
  border-bottom: 1px solid #B2C6D4;
  vertical-align: top;
}

.g-wrap .calendar-body td:last-child {
  border-right: none;
}

.g-wrap .calendar-body tr:last-child td {
  border-bottom: none;
}

.g-wrap .calendar-body td:first-child:before {
  content: "";
  display: block;
  float: left;
  min-height: 230px;
}

@media (max-width: 1100px) {
  .g-wrap .calendar-body table {
    width: 87vw;
  }
}

@media (max-width: 768px) {
  .g-wrap .calendar-body table {
    width: 77vw;
  }

  .g-wrap .calendar-body td:first-child:before {
    min-height: 114px;
  }
}

.g-wrap .calendar-body td:nth-child(6) {
  background: rgba(0, 110, 187, 0.1);
}

.g-wrap .calendar-body td:nth-child(6) span.day {
  color: #006EBB;
}

.g-wrap .calendar-body td:nth-child(7) {
  background: rgba(255, 0, 0, 0.1);
}

.g-wrap .calendar-body td:nth-child(7) span.day {
  color: #FF0000;
}

.g-wrap .calendar-body td.-today {
  background: #FFEAEA;
}

.g-wrap .calendar-body td span {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.g-wrap .calendar-body td span.day {
  margin: 0 auto;
  font-size: 32px;
  line-height: 1;
  width: 28px;
  padding: 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .g-wrap .calendar-body td span.day {
    font-size: 16px;
    padding: 8px 0 0;
  }
}

.g-wrap .calendar-body td span.day.-past {
  opacity: 0.3;
  color: #333;
}

.g-wrap .calendar-body td span.day.-holiday {
  color: #e05327;
}


.g-wrap .calendar-body td span.event {
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 5px;
}

@media (max-width: 768px) {
  .g-wrap .calendar-body td span.event {
    left: 2px;
  }
}

.g-wrap .calendar-body td span.event a {
  display: block;
  text-align: center;
  overflow: hidden;
  width: 100%;
  padding: 3px 10px;
  background: #B4B1B1;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  text-overflow: ellipsis;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 15px;
  word-break: break-all;
}

@media (max-width: 768px) {
  .g-wrap .calendar-body td span.event a {
    font-size: 12px;
    letter-spacing: 0;
    padding: 2px;
    border-radius: 7px;
    line-height: 1.2;
  }
}

.g-wrap .calendar-body td span.event a span {
  text-align: left;
  display: inline-block;
  transform: translateY(0.05em);
  position: relative;
}

.g-wrap .calendar-body td span.event a span::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 11px;
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../images/common/btn_arrow_white.svg);
}

@media (max-width: 768px) {
  .g-wrap .calendar-body td span.event a span::after {
    width: 10px;
    height: 8px;
  }
}

/* .calendar-body td span.event.-bg-yellow a span::after {
  background-image: url(../images/event/arrow_navy_right.svg);
} */

.g-wrap .calendar-body td span.event.-col1 {
  width: calc((924px / 7 * 1) - 10px);
}

.g-wrap .calendar-body td span.event.-col1 a {
  white-space: normal;
}

.g-wrap .calendar-body td span.event.-col2 {
  width: calc((924px / 7 * 2) - 10px);
}

.g-wrap .calendar-body td span.event.-col3 {
  width: calc((924px / 7 * 3) - 10px);
}

.g-wrap .calendar-body td span.event.-col4 {
  width: calc((924px / 7 * 4) - 10px);
}

.g-wrap .calendar-body td span.event.-col5 {
  width: calc((924px / 7 * 5) - 10px);
}

.g-wrap .calendar-body td span.event.-col6 {
  width: calc((924px / 7 * 6) - 10px);
}

.g-wrap .calendar-body td span.event.-col7 {
  width: calc((924px / 7 * 7) - 10px);
}

@media (max-width: 1100px) {
  .g-wrap .calendar-body td span.event.-col1 {
    width: calc((87vw / 7) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col2 {
    width: calc((87vw / 7 * 2) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col3 {
    width: calc((87vw / 7 * 3) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col4 {
    width: calc((87vw / 7 * 4) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col5 {
    width: calc((87vw / 7 * 5) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col6 {
    width: calc((87vw / 7 * 6) - 10px);
  }

  .g-wrap .calendar-body td span.event.-col7 {
    width: calc((87vw / 7 * 7) - 10px);
  }
}

@media (max-width: 768px) {
  .g-wrap .calendar-body td span.event.-col1 {
    width: calc((77vw / 7) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col2 {
    width: calc((77vw / 7 * 2) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col2 a {
    white-space: normal;
  }

  .g-wrap .calendar-body td span.event.-col3 {
    width: calc((77vw / 7 * 3) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col4 {
    width: calc((77vw / 7 * 4) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col5 {
    width: calc((77vw / 7 * 5) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col6 {
    width: calc((77vw / 7 * 6) - 4px);
  }

  .g-wrap .calendar-body td span.event.-col7 {
    width: calc((77vw / 7 * 7) - 4px);
  }
}

/*======================================================================
 * calendar_category
======================================================================*/
.g-wrap .calendar_category {
  font-size: 18px;
  line-height: 1;
  margin-top: 48px;
}

.g-wrap .c_cat_list {
  margin-left: -50px;
  margin-top: -22px;
}

.g-wrap .c_cat_item {
  position: relative;
  padding-left: calc(63px + 20px);
  height: 29px;
  display: inline-flex;
  align-items: center;
  margin-left: 50px;
  margin-top: 22px;
}

.g-wrap .c_cat_item .ball {
  content: "";
  display: inline-block;
  width: 63px;
  height: 100%;
  border-radius: 29px;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .g-wrap .calendar_category {
    font-size: 13px;
    margin-top: 25px;
    letter-spacing: 0;
  }

  .g-wrap .c_cat_list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .g-wrap .c_cat_item {
    margin: 0;
    padding-left: calc(30px + 9px);
    height: 15px;
    display: flex;
    width: 50%;
  }

  .g-wrap .c_cat_item:nth-child(n+3) {
    margin-top: 15px;
  }

  .g-wrap .c_cat_item .ball {
    width: 30px;
  }
}