.content-second-flex-left-calendar {
    display: flex
;
    flex: 1;
}

.calendar-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'WelcomeFont', sans-serif;
}

.calendar-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.calendar-info {
  flex: 0 0 215px;
}

.calendar-date strong {
  font-size: 0;
  display: block;
  display: flex;
  align-items: baseline;
  color: #2c3e50;
}

.calendar-date strong .month-number {
  font-size: 32px;
  font-weight: bold;
}

.calendar-date strong .month-unit {
  font-size: 16px;
  vertical-align: top;
  margin-left: 2px;
}

.calendar-date span {
  font-size: 28px;
  font-weight: bold;
  margin-top: 4px;
  color: #34495e;
}

.calendar-month {
  margin-top: 8px;
}

.calendar-month-number {
  font-size: 28px;
  font-weight: bold;
  color: #2ecc71;
}

.calendar-month-eng {
  font-size: 14px;
  color: #95a5a6;
}

.calendar-description {
  font-size: 14px;
  color: #7f8c8d;
  margin: 10px 0 8px;
  word-break: keep-all;
}

.calendar-link {
  display: inline-block;
  font-weight: bold;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.calendar-link:hover {
  text-decoration: underline;
}

.calendar-legend-bar {
  font-size: 14px;
  margin-bottom: 6px;
}

.calendar-legend-bar .legend {
  margin-right: 6px;
}

.calendar-legend-bar .red { color: #e74c3c; }
.calendar-legend-bar .green { color: #2ecc71; }
.calendar-legend-bar .blue { color: #3498db; }

.legend.green.inline-underline {
  display: inline-block;
  font-weight: bold;
  position: relative;
  padding-left: 18px;
}

/*
.legend.green.inline-underline .line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  background-color: #2ecc71;
  z-index: 1;
}
*/

.calendar-grid {
  flex: 1;
}

.calendar-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-tab {
  cursor: pointer;
  font-weight: bold;
  color: #888;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  font-size: 16px;
}

.calendar-tab.active {
  color: #2ecc71;
  border-bottom-color: #2ecc71;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2c3e50;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.date {
  position: relative;
  width: 30px;
  height: 30px;
  margin: auto;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: #2c3e50;
}

.date-num {
  position: relative;
  z-index: 2;
  line-height: 0;
}

.date.today {
  background-color: transparent !important;
  border-radius: 0 !important;
  color: #2c3e50;
}

.date.today::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 4px;
  right: 4px;
  height: 2px;
  background-color: #2ecc71;
  border-radius: 1px;
  z-index: 2;
}

.date.holiday {
  background-color: #e74c3c;
  color: white;
  border-radius: 0;
  font-weight: bold;
  z-index: 1;
}

.date.has-event::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #3498db;
  border-radius: 50%;
  z-index: 0;
}

.date.has-event {
  color: white;
  z-index: 2;
}

.date.has-event.today::before {
  content: "";
}

.date.holiday.today::after {
	display: block;
	width: 7px;
	height: 12px;
	border: solid #2ecc71;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	left: 12px;
	top: 5px;
	background: none;
}

.legend.green.inline-underline .line {
	display: block;
	width: 5px;
	height: 8px;
	border: solid #2ecc71;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	background: none;
	top: 0;
	left: 5px;
}

/*
.date.holiday.today::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  height: 2px;
  background-color: #2ecc71;
  border-radius: 1px;
  z-index: 2;
}
*/

.date.empty {
  visibility: hidden;
}

.calendar-divider {
  border-top: 6px solid #ddd;
  margin: 10px 0;
}

.calendar-footer {
  height: 105px;
  overflow-y: auto;
  padding-right: 10px;
}

.calendar-notice-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}

.calendar-notice-content> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-bottom: calc(0.3125em* var(--tw-space-x-reverse));
    margin-top: calc(0.3125rem* calc(1 - var(--tw-space-x-reverse)));
}

.calendar-notice-content {
  display: none;
}

.calendar-notice-content.on {
  display: block;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.event-badge {
  background-color: #3498db;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
}

.event-title {
  color: #2c3e50;
}
.event-title a:hover{
	text-decoration:underline;
}
.event-item.no-event {
  color: #999;
  font-style: italic;
}

@media (max-width: 720px) {  
	.calendar-top{
		gap:10px;
		flex-direction : column;
	}
}