[v-cloak] {
  display: none;
}

.vue-simple-spinner{
  border-color: var(--C-Dblue) rgb(238, 238, 238) rgb(238, 238, 238) !important;
}

.kc-spinner{
  margin-top: 40px;
  margin-bottom: 40px;
}

.kc-week{
  font-size: 16px;
}

@media screen and (max-width: 750px) {
  .kc-week {
    font-size: calc(18 / 750 * 100vw);
  }
}

/* カレンダースタイル */
.calendar-container {
  width: 608px;
  margin: auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-weight: 600;
}

.calendar-title {
  background: #4db6ac;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
}

.calendar-nav-btn {
  background: #fff;
  border: 3px solid #4196d3;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, background-color 0.3s;
  position: relative;
  text-indent: -9999px;
  overflow: hidden;
}

.calendar-nav-btn-prev {
  background-image: url(../imgs/angle-right.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.calendar-nav-btn-next {
  background-image: url(../imgs/angle-right.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (hover: hover) {
  .calendar-nav-btn:hover:not(.calendar-nav-btn-disabled) {
    background-color: #4196d3;
  }

  .calendar-nav-btn-prev:hover:not(.calendar-nav-btn-disabled) {
    background-image: url(../imgs/angle-right_white.svg);
  }

  .calendar-nav-btn-next:hover:not(.calendar-nav-btn-disabled) {
    background-image: url(../imgs/angle-right_white.svg);
  }
}

.calendar-nav-btn-disabled {
  border-color: #d5d5d6;
  background-image: url(../imgs/angle-right_gray.svg);
}


.calendar-month {
  font-size: 32px;
  font-weight: 500;
  color: #333;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fff;
}

.calendar-weekday {
  text-align: center;
  padding: 8px 0;
  font-size: 28px;
  font-weight: 500;
  color: #666;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 8px;
}

.calendar-day {
  min-height: 60px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  background: #fff;
}

.calendar-day-number {
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;

  color: #003461;
  text-decoration: none;
  margin-bottom: 12px;
}

.calendar-day-has-event {
  border: 3px solid #4196d3;
  border-radius: 8px;
  height: 100px;
}

.calendar-day-has-event .calendar-day-number {
  text-decoration: none;
}

.calendar-day-selected {
  background: #4196d3;
}

.calendar-day-selected .calendar-day-number {
  color: #fff;
}

.calendar-day-clickable {
  cursor: pointer;
}

@media (hover: hover) {
  .calendar-day-clickable:hover {
    background: #f0f9f8;
  }

  .calendar-day-has-event.calendar-day-clickable:hover {
    background: #4196d3;
  }

  .calendar-day-has-event.calendar-day-clickable:hover .calendar-day-number {
    color: #fff;
  }
}

.calendar-event-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #d5d5d6;
  border: none;
  border-radius: 8px;
}

.calendar-event-mark-empty {
  background: #fff;
  border: 1px solid #fff;
}

.calendar-event-mark-selected {
  background: #fff url(../imgs/check_bg.svg) center center no-repeat;
  background-size: contain;
  border: 1px solid #d5d5d6;
  border-radius: 4px;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
}

.calendar-legend-icon-reservation {
  background: #fff;
  border: 1px solid #4196d3;
  border-radius: 50%;
  color: #4196d3;
}

.calendar-legend-icon-limited {
  background: #fff;
  border: 1px solid #4196d3;
  color: #4196d3;
}

.calendar-legend-text {
  font-size: 14px;
  color: #666;
}

@media screen and (max-width: 750px) {
  .calendar-container {
    width: 82%;
    max-width: 608px;
  }
  
  .calendar-title {
    font-size: calc(18 / 750 * 100vw);
    padding: calc(12 / 750 * 100vw) 0;
  }
  
  .calendar-header {
    padding: calc(16 / 750 * 100vw) calc(20 / 750 * 100vw);
  }
  
  .calendar-nav-btn {
    width: calc(40 / 750 * 100vw);
    height: calc(40 / 750 * 100vw);
    padding: calc(8 / 750 * 100vw) calc(12 / 750 * 100vw);
    border-width: calc(3 / 750 * 100vw);
    border-radius: calc(8 / 750 * 100vw);
  }
  
  .calendar-month {
    font-size: calc(32 / 750 * 100vw);
  }
  
  .calendar-weekday {
    font-size: calc(28 / 750 * 100vw);
    padding: calc(8 / 750 * 100vw) 0;
  }
  
  .calendar-days {
    gap: calc(8 / 750 * 100vw);
    padding: calc(8 / 750 * 100vw);
  }
  
  .calendar-day {
    min-height: calc(60 / 750 * 100vw);
    height: calc(100 / 750 * 100vw);
  }
  
  .calendar-day-number {
    font-size: calc(30 / 750 * 100vw);
    margin-bottom: calc(12 / 750 * 100vw);
    height: calc(20 / 750 * 100vw);
  }
  
  .calendar-event-mark {
    width: calc(32 / 750 * 100vw);
    height: calc(32 / 750 * 100vw);
    line-height: calc(20 / 750 * 100vw);
    font-size: calc(12 / 750 * 100vw);
  }
  
  .calendar-legend {
    gap: calc(24 / 750 * 100vw);
    padding: calc(16 / 750 * 100vw) 0;
  }
  
  .calendar-legend-icon {
    width: calc(20 / 750 * 100vw);
    height: calc(20 / 750 * 100vw);
    line-height: calc(20 / 750 * 100vw);
    font-size: calc(12 / 750 * 100vw);
  }
  
  .calendar-legend-text {
    font-size: calc(14 / 750 * 100vw);
  }

  .calendar-event-mark,
  .calendar-event-mark-empty,
  .calendar-event-mark-selected{
    border-radius: calc(8 / 750 * 100vw);    
  }

  .calendar-day-has-event{
    border-width: calc(3 / 750 * 100vw);
    border-radius: calc(8 / 750 * 100vw);
  }
}

/* 近隣エリアのアコーディオン */
#search .near_area .accordion-content {
  background-color: transparent;
  padding: 0;
}

#search .near_area .accordion-toggle:checked ~ .accordion-content {
  padding: 0;
}


#search .near_area .accordion-content .tab-content{
  width: 100%;
}

#search .near_area .accordion-content .tab-content .list-item{
  gap: 0 27px;
}

#search .near_area .accordion-content .tab-content .list-item span{
  text-align: left;
  max-width: 204px;
  line-height: 1.2;
  font-size: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* すべての開催日ボタンのスタイル */
#search .day .tab-content-area {
  display: flex;
  justify-content: flex-end;
}

#search .day .tab-content .list-item {
  gap: 0 27px;
}

#search .day .tab-content .list-item span {
  text-align: left;
  max-width: 204px;
  line-height: 1.2;
  font-size: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


#search .day .tab-content {
  justify-content: flex-end;
}

/* 都道府県チェックボックスのスタイル */
#search .tab-content .list-item {
  cursor: pointer;
  transition: .4s;
}

#search .tab-content .list-item span {
  transition: .4s;
}

/* 都道府県チェックボックスのhoverスタイル */
@media (hover: hover) {
  #search .tab-content .list-item:hover:not(.checked-item) {
    background-color: #4196d3;
  }

  #search .tab-content .list-item:hover:not(.checked-item) span {
    color: #fff;
  }
}

/* search_result .add .add_txt のテキスト省略 */
#search_result li .txt .add .add_txt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

#search_result li a {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: row;
  gap: 23px;
}

@media (hover: hover) {
  #search_result li a:hover {
    opacity: 1;
  }
}

@media screen and (max-width: 750px) {
  #search .near_area .accordion-content .tab-content .list-item{
    gap: 0 calc(27 / 750 * 100vw);
  }
  #search .near_area .accordion-content .tab-content .list-item span{
    max-width: calc(204 / 750 * 100vw);
    font-size: calc(25 / 750 * 100vw);
  }

  #search .day .tab-content .list-item {
    gap: 0 calc(27 / 750 * 100vw);
  }
  #search .day .tab-content .list-item span {
    max-width: calc(204 / 750 * 100vw);
    font-size: calc(25 / 750 * 100vw);
  }

  #search_result li a {
    gap: calc(23 / 750 * 100vw);
  }  
}


/* イベント名の括弧内の文字を小さく表示 */
#search_result li .txt .title .event-name-parenthesis {
  font-size: 0.7em;
}

/* search_result li のhover時のボタン押下効果 */
#search_result li {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

@media (hover: hover) {
  #search_result li:hover {
    transform: translate(6px, 6px);
    box-shadow: none;
  }
}

@media screen and (max-width: 750px) {
  #search_result li .txt .add .add_txt {
    line-height: 1.2;
  }
  
  #search_result li .txt .title .event-name-parenthesis {
    font-size: 0.7em;
  }
  
}

.calendar-day-other-month{
  min-height: 0;
  height: 0;
}