/* =========================================================
   HQ Background: Style
   key: ren-monthly-basic-01
   name: LG ラウンジ蓮
   group: Monthly
   type: Style
   layer: monthly
   value:
   selector:
   ========================================================= */

/* =========================================================
   Section
   ========================================================= */
.p-cal-monthly-01 {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background-color: #3d4979;
}

.p-cal-monthly-01 .l-container {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
}

/* =========================================================
   Section Decoration
   ========================================================= */
.p-cal-monthly-01::before,
.p-cal-monthly-01::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 20%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.p-cal-monthly-01::before {
  left: 0;
  background-image: url("../img/lotus_left.webp");
}

.p-cal-monthly-01::after {
  right: 0;
  background-image: url("../img/lotus_right_02.webp");
}

/* =========================================================
   Heading
   ========================================================= */
#cal-monthly-01 .c-heading-plain {
  color: #fff;
}

/* =========================================================
   Nav
   ========================================================= */
.p-cal-monthly-01__nav {
  margin-top: 28px;
  margin-bottom: 24px;
}

.p-cal-monthly-01__prev,
.p-cal-monthly-01__next {
  width: 32px;
  height: 32px;
  padding: 0;
  border-color: rgba(61, 73, 121, 0.18);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

.p-cal-monthly-01__month {
  color: #ffffff;
  font-family: "Smythe", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* =========================================================
   Calendar White Board
   ========================================================= */
.p-cal-monthly-01__weekdays {
  background: #ffffff;
  border: 1px solid var(--color-line, #d8d8d8);
  border-bottom: 2px solid #3d4979;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

.p-cal-monthly-01__grid {
  background: #ffffff;
  border: 1px solid var(--color-line, #d8d8d8);
  border-top: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   Weekdays
   ========================================================= */
.p-cal-monthly-01__weekdays {
  border-top-color: rgba(61, 73, 121, 0.18);
  border-left-color: rgba(61, 73, 121, 0.18);
}

.p-cal-monthly-01__weekday {
  border-right-color: rgba(61, 73, 121, 0.18);
  border-bottom-color: rgba(61, 73, 121, 0.18);
  background: rgba(61, 73, 121, 0.06);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* =========================================================
   Grid
   ========================================================= */
.p-cal-monthly-01__grid {
  border-left-color: rgba(61, 73, 121, 0.18);
  border-bottom-color: rgba(61, 73, 121, 0.18);
}

.p-cal-monthly-01__cell {
  min-height: 116px;
  padding: 12px 12px 10px;
  border-right-color: rgba(61, 73, 121, 0.18);
  border-bottom: 1px solid var(--color-line, #d8d8d8);
}

.p-cal-monthly-01__date {
  position: absolute;
  top: 6px;
  left: 8px;
  color: #3d4979;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.p-cal-monthly-01__body {
  margin-top: 20px;
}

/* =========================================================
   Outside Month
   ========================================================= */
.p-cal-monthly-01__cell.is-outside {
  background: rgba(61, 73, 121, 0.03);
}

/* =========================================================
   Holiday / Closed
   ========================================================= */
.p-cal-monthly-01__cell.is-holiday {
  background: rgba(178, 34, 34, 0.08);
}

/* =========================================================
   Labels
   ========================================================= */
.p-cal-monthly-01__label {
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Topics
   ========================================================= */
.p-cal-monthly-01__topics {
  gap: 3px;
  margin-top: 0;
}

.p-cal-monthly-01__topic {
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Legend
   ========================================================= */
.p-cal-monthly-01__legend {
  margin-top: 18px;
  font-size: 12px;
}

.p-cal-monthly-01__legendMark {
  background: currentColor;
}

.p-cal-monthly-01__legendText {
  color: #ffffff;
}

/* =========================================================
   Hours
   ========================================================= */
.p-cal-monthly-01__hours {
  width: 70%;
  margin: 32px auto 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(61, 73, 121, 0.12);
  border-radius: 6px;
}

.p-cal-monthly-01__hoursRow {
  border-bottom: 1px solid rgba(61, 73, 121, 0.12);
}

.p-cal-monthly-01__hoursRow:last-child {
  border-bottom: none;
}

.p-cal-monthly-01__hoursLabel,
.p-cal-monthly-01__hoursValue {
  padding: 16px 18px;
}

.p-cal-monthly-01__hoursLabel {
  background: #f5f6fa;
  color: #3d4979;
  font-weight: 600;
}

.p-cal-monthly-01__hoursValue {
  background: #ffffff;
  color: #333333;
  border-left: 1px solid rgba(61, 73, 121, 0.12);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 767px) {
  .p-cal-monthly-01 {
    padding: 44px 0;
  }

  .p-cal-monthly-01__month {
    font-size: 24px;
  }

  .p-cal-monthly-01__cell {
    min-height: 64px;
    max-height: 84px;
    padding: 8px 6px;
    overflow: hidden;
  }

  .p-cal-monthly-01__date {
    top: 4px;
    left: 6px;
    font-size: 12px;
  }

  .p-cal-monthly-01__hours {
    width: 100%;
    margin-top: 24px;
  }

  .p-cal-monthly-01__hoursLabel {
    padding: 8px 14px;
    text-align: left;
  }

  .p-cal-monthly-01__hoursValue {
    padding: 10px 14px;
    text-align: center;
  }

  .p-cal-monthly-01__label,
  .p-cal-monthly-01__topic {
    font-size: 9px;
  }
}
